This is the sort of thing Smalltalk seems well suited for (live coding w/ value and iteration display). Does anyone know of something like it that has been done before in Smalltalk? I don't have a good link to a demonstration purely of the Playground but there is a little info here: https://developer.apple.com/swift/ -- View this message in context: http://forum.world.st/Xcode-s-Swift-Playground-tp4761425.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
I remember seeing a demo of F# at an Eclipse conference a few years ago. It also very much reminded me of Smalltalk. What's interesting about swift is not only that Apple chose an existing name for their new programming language (interesting for a company that is very careful about their own brand names), but that swift seems to be statically typed, while one of the biggest advantages of Objective-C is that it allows for dynamic typing (to some extent)... Joachim Am 03.06.14 08:33, schrieb darrinm:
This is the sort of thing Smalltalk seems well suited for (live coding w/ value and iteration display). Does anyone know of something like it that has been done before in Smalltalk?
I don't have a good link to a demonstration purely of the Playground but there is a little info here: https://developer.apple.com/swift/
-- View this message in context: http://forum.world.st/Xcode-s-Swift-Playground-tp4761425.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
-- ----------------------------------------------------------------------- Objektfabrik Joachim Tuchel mailto:jtuchel@objektfabrik.de Fliederweg 1 http://www.objektfabrik.de D-71640 Ludwigsburg http://joachimtuchel.wordpress.com Telefon: +49 7141 56 10 86 0 Fax: +49 7141 56 10 86 1
2014-06-03 8:40 GMT+02:00 jtuchel@objektfabrik.de <jtuchel@objektfabrik.de>:
I remember seeing a demo of F# at an Eclipse conference a few years ago. It also very much reminded me of Smalltalk.
What's interesting about swift is not only that Apple chose an existing name for their new programming language (interesting for a company that is very careful about their own brand names), but that swift seems to be statically typed, while one of the biggest advantages of Objective-C is that it allows for dynamic typing (to some extent)...
To what I understand, types are inferred, it is not statically typed. Am I wrong ? Clement
Joachim
Am 03.06.14 08:33, schrieb darrinm:
This is the sort of thing Smalltalk seems well suited for (live coding w/
value and iteration display). Does anyone know of something like it that has been done before in Smalltalk?
I don't have a good link to a demonstration purely of the Playground but there is a little info here: https://developer.apple.com/swift/
-- View this message in context: http://forum.world.st/Xcode-s- Swift-Playground-tp4761425.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
-- ----------------------------------------------------------------------- Objektfabrik Joachim Tuchel mailto:jtuchel@objektfabrik.de Fliederweg 1 http://www.objektfabrik.de D-71640 Ludwigsburg http://joachimtuchel.wordpress.com Telefon: +49 7141 56 10 86 0 Fax: +49 7141 56 10 86 1
Clement, Hmm, as far as I've read (and I haven't read much), all methods have an obligatory return type. But you can write let a = "some text", so I guess you are right. And me probably too ;-) Joachim Am 03.06.14 09:10, schrieb Clément Bera:
2014-06-03 8:40 GMT+02:00 jtuchel@objektfabrik.de <mailto:jtuchel@objektfabrik.de> <jtuchel@objektfabrik.de <mailto:jtuchel@objektfabrik.de>>:
I remember seeing a demo of F# at an Eclipse conference a few years ago. It also very much reminded me of Smalltalk.
What's interesting about swift is not only that Apple chose an existing name for their new programming language (interesting for a company that is very careful about their own brand names), but that swift seems to be statically typed, while one of the biggest advantages of Objective-C is that it allows for dynamic typing (to some extent)...
To what I understand, types are inferred, it is not statically typed. Am I wrong ?
Clement
Joachim
Am 03.06.14 08:33, schrieb darrinm:
This is the sort of thing Smalltalk seems well suited for (live coding w/ value and iteration display). Does anyone know of something like it that has been done before in Smalltalk?
I don't have a good link to a demonstration purely of the Playground but there is a little info here: https://developer.apple.com/swift/
-- View this message in context: http://forum.world.st/Xcode-s-Swift-Playground-tp4761425.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
-- ----------------------------------------------------------------------- Objektfabrik Joachim Tuchel mailto:jtuchel@objektfabrik.de <mailto:jtuchel@objektfabrik.de> Fliederweg 1 http://www.objektfabrik.de D-71640 Ludwigsburg http://joachimtuchel.wordpress.com Telefon: +49 7141 56 10 86 0 <tel:%2B49%207141%2056%2010%2086%200> Fax: +49 7141 56 10 86 1 <tel:%2B49%207141%2056%2010%2086%201>
-- ----------------------------------------------------------------------- Objektfabrik Joachim Tuchel mailto:jtuchel@objektfabrik.de Fliederweg 1 http://www.objektfabrik.de D-71640 Ludwigsburg http://joachimtuchel.wordpress.com Telefon: +49 7141 56 10 86 0 Fax: +49 7141 56 10 86 1
The big question here is not whether Pharo can implement something similar to Playground, Moose and Roassal in particular are quite close. The one million dollars question is Swift a live coding language or is Swift a language with some live coding tools. Obviously I would love to be the first option, but for the time being I try to contain my enthusiasm. When it comes to love coding lisp and smalltalk appear to have no competition AFAIK, I would love if Swift joins the club, If its the second option, really pity for Swift but still better than nothing. Obviously its extremely early to tell without actually testing the tools ourselves. It looks like that both lisp and smalltalk are still the pillar upon which modern languages are based and that can be only good news. The one billion dollars question is how well live coding of Swift would play with live coding of Pharo , it would awesome to have a unified live coding environment for both langauges and I see pharo developers bringing a ton of native ios and macos libraries to pharo. Its difficult not to get excited with this. On Tue, Jun 3, 2014 at 10:16 AM, jtuchel@objektfabrik.de < jtuchel@objektfabrik.de> wrote:
Clement,
Hmm, as far as I've read (and I haven't read much), all methods have an obligatory return type.
But you can write let a = "some text", so I guess you are right. And me probably too ;-)
Joachim
Am 03.06.14 09:10, schrieb Clément Bera:
2014-06-03 8:40 GMT+02:00 jtuchel@objektfabrik.de <jtuchel@objektfabrik.de
:
I remember seeing a demo of F# at an Eclipse conference a few years ago. It also very much reminded me of Smalltalk.
What's interesting about swift is not only that Apple chose an existing name for their new programming language (interesting for a company that is very careful about their own brand names), but that swift seems to be statically typed, while one of the biggest advantages of Objective-C is that it allows for dynamic typing (to some extent)...
To what I understand, types are inferred, it is not statically typed. Am I wrong ?
Clement
Joachim
Am 03.06.14 08:33, schrieb darrinm:
This is the sort of thing Smalltalk seems well suited for (live coding w/
value and iteration display). Does anyone know of something like it that has been done before in Smalltalk?
I don't have a good link to a demonstration purely of the Playground but there is a little info here: https://developer.apple.com/swift/
-- View this message in context: http://forum.world.st/Xcode-s-Swift-Playground-tp4761425.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
-- ----------------------------------------------------------------------- Objektfabrik Joachim Tuchel mailto:jtuchel@objektfabrik.de Fliederweg 1 http://www.objektfabrik.de D-71640 Ludwigsburg http://joachimtuchel.wordpress.com Telefon: +49 7141 56 10 86 0 <%2B49%207141%2056%2010%2086%200> Fax: +49 7141 56 10 86 1 <%2B49%207141%2056%2010%2086%201>
-- ----------------------------------------------------------------------- Objektfabrik Joachim Tuchel mailto:jtuchel@objektfabrik.de <jtuchel@objektfabrik.de> Fliederweg 1 http://www.objektfabrik.de D-71640 Ludwigsburg http://joachimtuchel.wordpress.com Telefon: +49 7141 56 10 86 0 Fax: +49 7141 56 10 86 1
On 3 juin 2014, at 09:10, Clément Bera <bera.clement@gmail.com> wrote:
2014-06-03 8:40 GMT+02:00 jtuchel@objektfabrik.de <jtuchel@objektfabrik.de>: I remember seeing a demo of F# at an Eclipse conference a few years ago. It also very much reminded me of Smalltalk.
What's interesting about swift is not only that Apple chose an existing name for their new programming language (interesting for a company that is very careful about their own brand names), but that swift seems to be statically typed, while one of the biggest advantages of Objective-C is that it allows for dynamic typing (to some extent)...
To what I understand, types are inferred, it is not statically typed. Am I wrong ?
If there is type inference then it is statically typed (at least partially if not every variable type can be inferred)
Clement
Joachim
Am 03.06.14 08:33, schrieb darrinm:
This is the sort of thing Smalltalk seems well suited for (live coding w/ value and iteration display). Does anyone know of something like it that has been done before in Smalltalk?
I don't have a good link to a demonstration purely of the Playground but there is a little info here: https://developer.apple.com/swift/
-- View this message in context: http://forum.world.st/Xcode-s-Swift-Playground-tp4761425.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
-- ----------------------------------------------------------------------- Objektfabrik Joachim Tuchel mailto:jtuchel@objektfabrik.de Fliederweg 1 http://www.objektfabrik.de D-71640 Ludwigsburg http://joachimtuchel.wordpress.com Telefon: +49 7141 56 10 86 0 Fax: +49 7141 56 10 86 1
On Jun 3, 2014, at 4:21 AM, Camille Teruel <camille.teruel@gmail.com> wrote:
To what I understand, types are inferred, it is not statically typed. Am I wrong ?
If there is type inference then it is statically typed (at least partially if not every variable type can be inferred)
To repeat myself: this is not the case. Example is the RoelTyper. ---> Save our in-boxes! http://emailcharter.org <--- Johan Fabry - http://pleiad.cl/~jfabry PLEIAD lab - Computer Science Department (DCC) - University of Chile
On 3 juin 2014, at 17:34, Johan Fabry <jfabry@dcc.uchile.cl> wrote:
On Jun 3, 2014, at 4:21 AM, Camille Teruel <camille.teruel@gmail.com> wrote:
To what I understand, types are inferred, it is not statically typed. Am I wrong ?
If there is type inference then it is statically typed (at least partially if not every variable type can be inferred)
To repeat myself: this is not the case. Example is the RoelTyper.
Yes, there are many type inferencers for dynamically-typed languages. But that's not because one builds a type inferencer for say Smalltalk that I can say "Smalltalk has type inference": the inferencer is not integrated within the language, it's just an analysis tool on top. If someone says that his language has type inference, he means that the type inferencer is built into the language, and normally there is some type checking and/or the compiler is designed to leverage type information which means that the language is at least partially statically-typed (if not entirely). Because if a language does no type checking nor type-based optimisations, for what purpose would it have type inference built into it?
---> Save our in-boxes! http://emailcharter.org <---
Johan Fabry - http://pleiad.cl/~jfabry PLEIAD lab - Computer Science Department (DCC) - University of Chile
On Jun 3, 2014, at 12:32 PM, Camille Teruel <camille.teruel@gmail.com> wrote:
On 3 juin 2014, at 17:34, Johan Fabry <jfabry@dcc.uchile.cl> wrote:
On Jun 3, 2014, at 4:21 AM, Camille Teruel <camille.teruel@gmail.com> wrote:
To what I understand, types are inferred, it is not statically typed. Am I wrong ?
If there is type inference then it is statically typed (at least partially if not every variable type can be inferred)
To repeat myself: this is not the case. Example is the RoelTyper.
Yes, there are many type inferencers for dynamically-typed languages. But that's not because one builds a type inferencer for say Smalltalk that I can say "Smalltalk has type inference": the inferencer is not integrated within the language, it's just an analysis tool on top. If someone says that his language has type inference, he means that the type inferencer is built into the language, and normally there is some type checking and/or the compiler is designed to leverage type information which means that the language is at least partially statically-typed (if not entirely).
I tend to disagree: in the case of Smalltalk the border between the language and the toolchain is quite blurry. Is the browser part of the language? Refactoring support? Type inferencer? Where do you draw the line? I can have my Smalltalk dialect with type inferencing while the language is dynamically typed. And that does not take into account all the fancy type stuff such as gradual typing, like in Gradualtalk, optional typing like Pegon (if Iâm not mistaken).
Because if a language does no type checking nor type-based optimisations, for what purpose would it have type inference built into it?
Documentation. Static types are a good form of documentation, when done right. :-) ---> Save our in-boxes! http://emailcharter.org <--- Johan Fabry - http://pleiad.cl/~jfabry PLEIAD lab - Computer Science Department (DCC) - University of Chile
On 03 Jun 2014, at 6:32 , Camille Teruel <camille.teruel@gmail.com> wrote:
On 3 juin 2014, at 17:34, Johan Fabry <jfabry@dcc.uchile.cl> wrote:
On Jun 3, 2014, at 4:21 AM, Camille Teruel <camille.teruel@gmail.com> wrote:
To what I understand, types are inferred, it is not statically typed. Am I wrong ?
If there is type inference then it is statically typed (at least partially if not every variable type can be inferred)
To repeat myself: this is not the case. Example is the RoelTyper.
Yes, there are many type inferencers for dynamically-typed languages. But that's not because one builds a type inferencer for say Smalltalk that I can say "Smalltalk has type inference": the inferencer is not integrated within the language, it's just an analysis tool on top. If someone says that his language has type inference, he means that the type inferencer is built into the language, and normally there is some type checking and/or the compiler is designed to leverage type information which means that the language is at least partially statically-typed (if not entirely). Because if a language does no type checking nor type-based optimisations, for what purpose would it have type inference built into it?
Inferred types have an often overlooked purpose that, IMHO, in dynamic languages, is their biggest benefit. That being, it can reduce the number of false positives in common development actions such as auto-complete, searching for implementors, etc. A pharo with built-in type inference would be no better. A pharo with built-in type inference, and tools utilizing it, would. Itâs a bit of a shame that programmer productivity is a less favourable research area than optimization, when in that case, using the much cheaper type info from PICâs instead, yield equivalent results. (ref. http://www.cs.ucsb.edu/~urs/oocsb/papers/oopsla95-tf.pdf) Cheers, Henry
2014-06-04 11:33 GMT+02:00 Henrik Johansen <henrik.s.johansen@veloxit.no>:
On 03 Jun 2014, at 6:32 , Camille Teruel <camille.teruel@gmail.com> wrote:
On 3 juin 2014, at 17:34, Johan Fabry <jfabry@dcc.uchile.cl> wrote:
On Jun 3, 2014, at 4:21 AM, Camille Teruel <camille.teruel@gmail.com> wrote:
To what I understand, types are inferred, it is not statically typed. Am I wrong ?
If there is type inference then it is statically typed (at least partially if not every variable type can be inferred)
To repeat myself: this is not the case. Example is the RoelTyper.
Yes, there are many type inferencers for dynamically-typed languages. But that's not because one builds a type inferencer for say Smalltalk that I can say "Smalltalk has type inference": the inferencer is not integrated within the language, it's just an analysis tool on top. If someone says that his language has type inference, he means that the type inferencer is built into the language, and normally there is some type checking and/or the compiler is designed to leverage type information which means that the language is at least partially statically-typed (if not entirely). Because if a language does no type checking nor type-based optimisations, for what purpose would it have type inference built into it?
Inferred types have an often overlooked purpose that, IMHO, in dynamic languages, is their biggest benefit. That being, it can reduce the number of false positives in common development actions such as auto-complete, searching for implementors, etc.
A pharo with built-in type inference would be no better. A pharo with built-in type inference, and tools utilizing it, would.
Itâs a bit of a shame that programmer productivity is a less favourable research area than optimization, when in that case, using the much cheaper type info from PICâs instead, yield equivalent results. (ref. http://www.cs.ucsb.edu/~urs/oocsb/papers/oopsla95-tf.pdf)
This is actually possible in Pharo.
If you compile the Cog VM with the Sista Cogit, you have then in addition the introspection primitive that returns branch and send data from native code methods. Now you cannot use these inferred types for tools. There are 3 main issues, one is that the VM answers you concrete types and not an abstract type, the second is that not all message sends have type information (the method may not be linked to a native code method, the message send may not have been used since the native code method has been compiled and megamorphic send sites have no type information) and the last issue is that the type inferred are common types, if you can use another type in an uncommon case you may not see it. - you needs a type inferencer for tools. - you need type information from the inline caches for optimizations. And as proven in the early 90s type inferencer does not work well to optimize dynamic object oriented language and type-feedback does not work well for tools as I explained. Clement Cheers,
Henry
On Jun 3, 2014, at 3:10 AM, Clément Bera <bera.clement@gmail.com> wrote:
What's interesting about swift is not only that Apple chose an existing name for their new programming language (interesting for a company that is very careful about their own brand names), but that swift seems to be statically typed, while one of the biggest advantages of Objective-C is that it allows for dynamic typing (to some extent)...
To what I understand, types are inferred, it is not statically typed. Am I wrong ?
Type inference is actually orthogonal to static or dynamic typing. You can have a statically typed language with inferred types, where the programmer needs to put type annotations on places where the type inferrer gets lost, and you can infer types for a dynamically typed language. An example of the latter would be the RoelTyper shown at ESUG a looong time ago ;-) ---> Save our in-boxes! http://emailcharter.org <--- Johan Fabry - http://pleiad.cl/~jfabry PLEIAD lab - Computer Science Department (DCC) - University of Chile
Sent from my iPhone
On 03 Jun 2014, at 12:03, darrinm <darrin@massena.com> wrote:
This is the sort of thing Smalltalk seems well suited for (live coding w/ value and iteration display). Does anyone know of something like it that has been done before in Smalltalk?
Look, this video was done a year ago https://www.youtube.com/watch?v=Hu_C0ldSqrs. Yes, not as fancy, but it's a game programming with live feedback. Now there is also GToolkit that provides an interactive way of programming and so on. Uko
I don't have a good link to a demonstration purely of the Playground but there is a little info here: https://developer.apple.com/swift/
-- View this message in context: http://forum.world.st/Xcode-s-Swift-Playground-tp4761425.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Here's an example of the Playground in use: https://developer.apple.com/library/prerelease/ios/recipes/xcode_help-source... -- View this message in context: http://forum.world.st/Xcode-s-Swift-Playground-tp4761425p4761431.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Yeah looks cool. Just a step further, no revolution though. The fact that for each statement Playground will immediately show its results next to the code, makes programming a bit easier. I wonder how/if this works for code that does not define all its values with let statements ;-). But I guess this is why it's a playground and not the debugger/code editor. Because if the values to "inspect" are parameters to a method, this won't work as nicely. But I can see how Apple's Playground could be a nice addition to Smalltalk's workspaces. This probably isn't even too much work... I look forward to seeing the first prototypes of a Smalltalk Playground ;-) Joachim Am 03.06.14 09:02, schrieb darrinm:
Here's an example of the Playground in use: https://developer.apple.com/library/prerelease/ios/recipes/xcode_help-source...
-- View this message in context: http://forum.world.st/Xcode-s-Swift-Playground-tp4761425p4761431.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
-- ----------------------------------------------------------------------- Objektfabrik Joachim Tuchel mailto:jtuchel@objektfabrik.de Fliederweg 1 http://www.objektfabrik.de D-71640 Ludwigsburg http://joachimtuchel.wordpress.com Telefon: +49 7141 56 10 86 0 Fax: +49 7141 56 10 86 1
Hi, The work on GToolkit goes in this direction. Funny enough, we also have a Playground :). Look here for an example: http://www.humane-assessment.com/blog/dynamic-exploration-of-a-postgres-db-w... More will come in this direction. I happen to believe that this is the area with the largest potential in Pharo, and it would be great to put more effort around it. If people have an interest to participate, please just let me know. Cheers, Doru On Tue, Jun 3, 2014 at 9:02 AM, darrinm <darrin@massena.com> wrote:
Here's an example of the Playground in use:
https://developer.apple.com/library/prerelease/ios/recipes/xcode_help-source...
-- View this message in context: http://forum.world.st/Xcode-s-Swift-Playground-tp4761425p4761431.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
-- www.tudorgirba.com "Every thing has its own flow"
Hi,
The work on GToolkit goes in this direction. Funny enough, we also have a Playground :).
Look here for an example: http://www.humane-assessment.com/blog/dynamic-exploration-of-a-postgres-db-w...
More will come in this direction. I happen to believe that this is the area with the largest potential in Pharo, and it would be great to put more effort around it. If people have an interest to participate, please just let me know.
+ 1 Now my plate is full but I encourage people to join effort. Stef
For anyone who has not not watched it yet, you can watch the Playground demo here. Looks like they were inspired by Bred Victor demos. https://www.youtube.com/watch?v=l62x8Oq_QP4 Swift is statically typed with type inference. BUT it has generics and optional types. So it looks like it tries to let you have the cake and eat it too. It also removes the need for header files , so it really moves away from the C paradigm. There is a quick toor here https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conce... On Tue, Jun 3, 2014 at 11:29 AM, stepharo <stepharo@free.fr> wrote:
Hi,
The work on GToolkit goes in this direction. Funny enough, we also have a Playground :).
Look here for an example: http://www.humane-assessment.com/blog/dynamic-exploration- of-a-postgres-db-with-the-gtinspector/
More will come in this direction. I happen to believe that this is the area with the largest potential in Pharo, and it would be great to put more effort around it. If people have an interest to participate, please just let me know.
+ 1
Now my plate is full but I encourage people to join effort.
Stef
On 03 Jun 2014, at 14:23, kilon alios <kilon.alios@gmail.com> wrote:
For anyone who has not not watched it yet, you can watch the Playground demo here. Looks like they were inspired by Bred Victor demos.
https://www.youtube.com/watch?v=l62x8Oq_QP4
Swift is statically typed with type inference. BUT it has generics and optional types. So it looks like it tries to let you have the cake and eat it too.
It also removes the need for header files , so it really moves away from the C paradigm.
There is a quick toor here
https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conce...
We have to do some type inference (for tools) some time. Should be fun. (by the way, is there something like that already?) Uko
On Tue, Jun 3, 2014 at 11:29 AM, stepharo <stepharo@free.fr> wrote:
Hi,
The work on GToolkit goes in this direction. Funny enough, we also have a Playground :).
Look here for an example: http://www.humane-assessment.com/blog/dynamic-exploration-of-a-postgres-db-w...
More will come in this direction. I happen to believe that this is the area with the largest potential in Pharo, and it would be great to put more effort around it. If people have an interest to participate, please just let me know.
+ 1
Now my plate is full but I encourage people to join effort.
Stef
On Jun 3, 2014, at 4:57 AM, Yuriy Tymchuk <yuriy.tymchuk@me.com> wrote:
We have to do some type inference (for tools) some time. Should be fun. (by the way, is there something like that already?)
There has been some work done on type inference for Smalltalk, the RoelTyper example that I keep mentioning worked on Squeak and there was a version on VW that Roel and I looked at in Gent a couple of years ago, but we did not go that way. More recently there was a google summer of code project on concrete type inference for Pharo if I am not mistaken. ---> Save our in-boxes! http://emailcharter.org <--- Johan Fabry - http://pleiad.cl/~jfabry PLEIAD lab - Computer Science Department (DCC) - University of Chile
Nicolas Passerini and Pablo Tesone are working on a type inferencer for Pharo and this is exciting :) On 3/6/14 17:59, Johan Fabry wrote:
On Jun 3, 2014, at 4:57 AM, Yuriy Tymchuk <yuriy.tymchuk@me.com> wrote:
We have to do some type inference (for tools) some time. Should be fun. (by the way, is there something like that already?) There has been some work done on type inference for Smalltalk, the RoelTyper example that I keep mentioning worked on Squeak and there was a version on VW that Roel and I looked at in Gent a couple of years ago, but we did not go that way. More recently there was a google summer of code project on concrete type inference for Pharo if I am not mistaken.
---> Save our in-boxes! http://emailcharter.org <---
Johan Fabry - http://pleiad.cl/~jfabry PLEIAD lab - Computer Science Department (DCC) - University of Chile
On 03 Jun 2014, at 10:53, kilon alios <kilon.alios@gmail.com> wrote:
For anyone who has not not watched it yet, you can watch the Playground demo here. Looks like they were inspired by Bred Victor demos.
https://www.youtube.com/watch?v=l62x8Oq_QP4
Swift is statically typed with type inference. BUT it has generics and optional types. So it looks like it tries to let you have the cake and eat it too.
It is way to early to have an opinion (especially since one should use a language before commenting), but ... 1 - it is very nice to see Apple play in the language design world (it will get traction I am sure) 2 - it feels like a pretty complex language, both in terms of syntax options, concepts and rules, especially around types (the language book is 500 pages I believe) What makes Pharo and Smalltalk so cool is this magical simplicity on so many levels.
It also removes the need for header files , so it really moves away from the C paradigm.
There is a quick toor here
https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conce...
On Tue, Jun 3, 2014 at 11:29 AM, stepharo <stepharo@free.fr> wrote:
Hi,
The work on GToolkit goes in this direction. Funny enough, we also have a Playground :).
Look here for an example: http://www.humane-assessment.com/blog/dynamic-exploration-of-a-postgres-db-w...
More will come in this direction. I happen to believe that this is the area with the largest potential in Pharo, and it would be great to put more effort around it. If people have an interest to participate, please just let me know.
+ 1
Now my plate is full but I encourage people to join effort.
Stef
"What makes Pharo and Smalltalk so cool is this magical simplicity on so many levels." I have a problem with this, I think its not sincere. I know that a Pharo developers would love to throw on my face the basic syntax of Pharo that can fit in a single page but the truth is that Pharo because it is Smalltalk it follows the exact same recipe of the "get the F!@#$% out" which means it throws everything outside the language in form of libraries of objects. Pharo is definetly not that simple. Why ? Because coding is not simple . So if it is to be a fair comparison take those 500 pages and find equivalent features in Pharo and I don't think you will find that they are that different in terms of complexity. And its not as if Swift is revolutionary any more than Smalltalk or Pharo is revolutionary. All languages copy from each other. I will have to agree that Pharo appears simpler than Swift, but I doubt that it does not miss many features that Swift has. As you said its too early to say. I have not read those 500 pages, personally I dont see what the big deal is, PBE is 400 pages and barely touches what Pharo really is. I fail for the time being viewing Swift as a complex language, I just hope does not end up as ugly as JavaScript. Good ideas that are badly implemented. I doubt it though. PS: I am downloading the Swift manual right now On Tue, Jun 3, 2014 at 12:00 PM, Sven Van Caekenberghe <sven@stfx.eu> wrote:
On 03 Jun 2014, at 10:53, kilon alios <kilon.alios@gmail.com> wrote:
For anyone who has not not watched it yet, you can watch the Playground demo here. Looks like they were inspired by Bred Victor demos.
https://www.youtube.com/watch?v=l62x8Oq_QP4
Swift is statically typed with type inference. BUT it has generics and optional types. So it looks like it tries to let you have the cake and eat it too.
It is way to early to have an opinion (especially since one should use a language before commenting), but ...
1 - it is very nice to see Apple play in the language design world (it will get traction I am sure) 2 - it feels like a pretty complex language, both in terms of syntax options, concepts and rules, especially around types (the language book is 500 pages I believe)
What makes Pharo and Smalltalk so cool is this magical simplicity on so many levels.
It also removes the need for header files , so it really moves away from the C paradigm.
There is a quick toor here
https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conce...
On Tue, Jun 3, 2014 at 11:29 AM, stepharo <stepharo@free.fr> wrote:
Hi,
The work on GToolkit goes in this direction. Funny enough, we also have
a Playground :).
Look here for an example:
http://www.humane-assessment.com/blog/dynamic-exploration-of-a-postgres-db-w...
More will come in this direction. I happen to believe that this is the
area with the largest potential in Pharo, and it would be great to put more effort around it. If people have an interest to participate, please just let me know.
+ 1
Now my plate is full but I encourage people to join effort.
Stef
I don't think the claim is that Pharo or any Smalltalk is 'simple', but when someone new to coding has to first learn how to pretend they're using a late 70"s terminal and a crappy text editor, then remember 20000 arcane commands just to get a project built, never mind debug it, the price of entry before starting to code is too high. Coding is stressful enough (unlike most people's tasks, it has to actually work) which helps understand why the average age that coders quit and go into another field is only 30 years old. A high initial curve cuts a very short average productive career that much shorter. I wouldn't worry about swift being as bad as JS. Nothing is. On Jun 3, 2014 4:21 AM, "kilon alios" <kilon.alios@gmail.com> wrote:
"What makes Pharo and Smalltalk so cool is this magical simplicity on so many levels."
I have a problem with this, I think its not sincere. I know that a Pharo developers would love to throw on my face the basic syntax of Pharo that can fit in a single page but the truth is that Pharo because it is Smalltalk it follows the exact same recipe of the "get the F!@#$% out" which means it throws everything outside the language in form of libraries of objects. Pharo is definetly not that simple. Why ? Because coding is not simple .
So if it is to be a fair comparison take those 500 pages and find equivalent features in Pharo and I don't think you will find that they are that different in terms of complexity.
And its not as if Swift is revolutionary any more than Smalltalk or Pharo is revolutionary. All languages copy from each other.
I will have to agree that Pharo appears simpler than Swift, but I doubt that it does not miss many features that Swift has. As you said its too early to say.
I have not read those 500 pages, personally I dont see what the big deal is, PBE is 400 pages and barely touches what Pharo really is. I fail for the time being viewing Swift as a complex language, I just hope does not end up as ugly as JavaScript. Good ideas that are badly implemented. I doubt it though.
PS: I am downloading the Swift manual right now
On Tue, Jun 3, 2014 at 12:00 PM, Sven Van Caekenberghe <sven@stfx.eu> wrote:
On 03 Jun 2014, at 10:53, kilon alios <kilon.alios@gmail.com> wrote:
For anyone who has not not watched it yet, you can watch the Playground demo here. Looks like they were inspired by Bred Victor demos.
https://www.youtube.com/watch?v=l62x8Oq_QP4
Swift is statically typed with type inference. BUT it has generics and optional types. So it looks like it tries to let you have the cake and eat it too.
It is way to early to have an opinion (especially since one should use a language before commenting), but ...
1 - it is very nice to see Apple play in the language design world (it will get traction I am sure) 2 - it feels like a pretty complex language, both in terms of syntax options, concepts and rules, especially around types (the language book is 500 pages I believe)
What makes Pharo and Smalltalk so cool is this magical simplicity on so many levels.
It also removes the need for header files , so it really moves away from the C paradigm.
There is a quick toor here
https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conce...
On Tue, Jun 3, 2014 at 11:29 AM, stepharo <stepharo@free.fr> wrote:
Hi,
The work on GToolkit goes in this direction. Funny enough, we also have
a Playground :).
Look here for an example:
http://www.humane-assessment.com/blog/dynamic-exploration-of-a-postgres-db-w...
More will come in this direction. I happen to believe that this is the
area with the largest potential in Pharo, and it would be great to put more effort around it. If people have an interest to participate, please just let me know.
+ 1
Now my plate is full but I encourage people to join effort.
Stef
aglynn42 wrote
...then remember 20000 arcane commands just to get a project built, never mind debug it
+1. Regardless of total size, uniformity is a huge win. There is simplicity in eliminating the context switching from writing code in a language, to configuring the build system in its own (maybe equally complex) language, then learning gdb or whatever... That they ultimately do the same thing if you consider the complex syntax of one along side the entire library of the other is a Turing tar pit argument. ----- Cheers, Sean -- View this message in context: http://forum.world.st/Xcode-s-Swift-Playground-tp4761425p4761611.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
+100 I love this playground. Will explore it sometime.. and see if I can participate first in building tools for use and then dive into its frameworks ..! To get started I will need to have a minimum of Oracle connection rather than PostGres .. to make it worthwhile as I play with it. Any heads up on that is nice.. On Tue, Jun 3, 2014 at 12:45 PM, Tudor Girba <tudor@tudorgirba.com> wrote:
Hi,
The work on GToolkit goes in this direction. Funny enough, we also have a Playground :).
Look here for an example:
http://www.humane-assessment.com/blog/dynamic-exploration-of-a-postgres-db-w...
More will come in this direction. I happen to believe that this is the area with the largest potential in Pharo, and it would be great to put more effort around it. If people have an interest to participate, please just let me know.
Cheers, Doru
On Tue, Jun 3, 2014 at 9:02 AM, darrinm <darrin@massena.com> wrote:
Here's an example of the Playground in use:
https://developer.apple.com/library/prerelease/ios/recipes/xcode_help-source...
-- View this message in context: http://forum.world.st/Xcode-s-Swift-Playground-tp4761425p4761431.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
-- www.tudorgirba.com
"Every thing has its own flow"
I would like to help with the playground too. In several threads I have argued about a tree/outliner like interface for organizing playgrounds and making exploratory computation and visual data narratives. In fact I have trying to understand how to build my own outliner from Moosee browsers, but I have hit a wall about the use of "display: children:" syntax for trees, but still no answer. Anyway playgrounds are a big improvement on user experience and I hope to help with them. Cheers, Offray On 06/04/2014 10:48 PM, S Krish wrote:
+100 I love this playground. Will explore it sometime.. and see if I can participate first in building tools for use and then dive into its frameworks ..! To get started I will need to have a minimum of Oracle connection rather than PostGres .. to make it worthwhile as I play with it. Any heads up on that is nice..
On Tue, Jun 3, 2014 at 12:45 PM, Tudor Girba <tudor@tudorgirba.com <mailto:tudor@tudorgirba.com>> wrote:
Hi,
The work on GToolkit goes in this direction. Funny enough, we also have a Playground :).
Look here for an example: http://www.humane-assessment.com/blog/dynamic-exploration-of-a-postgres-db-w...
More will come in this direction. I happen to believe that this is the area with the largest potential in Pharo, and it would be great to put more effort around it. If people have an interest to participate, please just let me know.
Cheers, Doru
On Tue, Jun 3, 2014 at 9:02 AM, darrinm <darrin@massena.com <mailto:darrin@massena.com>> wrote:
Here's an example of the Playground in use: https://developer.apple.com/library/prerelease/ios/recipes/xcode_help-source...
-- View this message in context: http://forum.world.st/Xcode-s-Swift-Playground-tp4761425p4761431.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
-- www.tudorgirba.com <http://www.tudorgirba.com>
"Every thing has its own flow"
Hi, Sorry I could not reply earlier. I will search the other mails where you ask the question and address it. Cheers, Doru On Mon, Aug 4, 2014 at 11:59 PM, Offray Vladimir Luna Cárdenas < offray@riseup.net> wrote:
I would like to help with the playground too. In several threads I have argued about a tree/outliner like interface for organizing playgrounds and making exploratory computation and visual data narratives. In fact I have trying to understand how to build my own outliner from Moosee browsers, but I have hit a wall about the use of "display: children:" syntax for trees, but still no answer. Anyway playgrounds are a big improvement on user experience and I hope to help with them.
Cheers,
Offray
On 06/04/2014 10:48 PM, S Krish wrote:
+100 I love this playground. Will explore it sometime.. and see if I can participate first in building tools for use and then dive into its frameworks ..! To get started I will need to have a minimum of Oracle connection rather than PostGres .. to make it worthwhile as I play with it. Any heads up on that is nice..
On Tue, Jun 3, 2014 at 12:45 PM, Tudor Girba <tudor@tudorgirba.com <mailto:tudor@tudorgirba.com>> wrote:
Hi,
The work on GToolkit goes in this direction. Funny enough, we also have a Playground :).
Look here for an example: http://www.humane-assessment.com/blog/dynamic-exploration- of-a-postgres-db-with-the-gtinspector/
More will come in this direction. I happen to believe that this is the area with the largest potential in Pharo, and it would be great to put more effort around it. If people have an interest to participate, please just let me know.
Cheers, Doru
On Tue, Jun 3, 2014 at 9:02 AM, darrinm <darrin@massena.com <mailto:darrin@massena.com>> wrote:
Here's an example of the Playground in use: https://developer.apple.com/library/prerelease/ios/ recipes/xcode_help-source_editor/ExploringandEvaluatingSwiftCod einaPlayground/ExploringandEvaluatingSwiftCodeinaPlayground.html#//apple_ ref/doc/uid/TP40009975-CH26
-- View this message in context: http://forum.world.st/Xcode-s-Swift-Playground- tp4761425p4761431.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
-- www.tudorgirba.com <http://www.tudorgirba.com>
"Every thing has its own flow"
-- www.tudorgirba.com "Every thing has its own flow"
Hi Doru, I have seen your answer on the thread. I hope to make some test tonight and keep you posted. Thanks, Offray On 08/05/2014 12:13 AM, Tudor Girba wrote:
Hi,
Sorry I could not reply earlier. I will search the other mails where you ask the question and address it.
Cheers, Doru
On Mon, Aug 4, 2014 at 11:59 PM, Offray Vladimir Luna Cárdenas <offray@riseup.net <mailto:offray@riseup.net>> wrote:
I would like to help with the playground too. In several threads I have argued about a tree/outliner like interface for organizing playgrounds and making exploratory computation and visual data narratives. In fact I have trying to understand how to build my own outliner from Moosee browsers, but I have hit a wall about the use of "display: children:" syntax for trees, but still no answer. Anyway playgrounds are a big improvement on user experience and I hope to help with them.
Cheers,
Offray
On 06/04/2014 10:48 PM, S Krish wrote:
+100 I love this playground. Will explore it sometime.. and see if I can participate first in building tools for use and then dive into its frameworks ..! To get started I will need to have a minimum of Oracle connection rather than PostGres .. to make it worthwhile as I play with it. Any heads up on that is nice..
On Tue, Jun 3, 2014 at 12:45 PM, Tudor Girba <tudor@tudorgirba.com <mailto:tudor@tudorgirba.com> <mailto:tudor@tudorgirba.com <mailto:tudor@tudorgirba.com>>> wrote:
Hi,
The work on GToolkit goes in this direction. Funny enough, we also have a Playground :).
Look here for an example: http://www.humane-assessment.__com/blog/dynamic-exploration-__of-a-postgres-... <http://www.humane-assessment.com/blog/dynamic-exploration-of-a-postgres-db-w...>
More will come in this direction. I happen to believe that this is the area with the largest potential in Pharo, and it would be great to put more effort around it. If people have an interest to participate, please just let me know.
Cheers, Doru
On Tue, Jun 3, 2014 at 9:02 AM, darrinm <darrin@massena.com <mailto:darrin@massena.com> <mailto:darrin@massena.com <mailto:darrin@massena.com>>> wrote:
Here's an example of the Playground in use: https://developer.apple.com/__library/prerelease/ios/__recipes/xcode_help-so... <https://developer.apple.com/library/prerelease/ios/recipes/xcode_help-source...>
-- View this message in context: http://forum.world.st/Xcode-s-__Swift-Playground-__tp4761425p4761431.html <http://forum.world.st/Xcode-s-Swift-Playground-tp4761425p4761431.html> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
-- www.tudorgirba.com <http://www.tudorgirba.com> <http://www.tudorgirba.com>
"Every thing has its own flow"
-- www.tudorgirba.com <http://www.tudorgirba.com>
"Every thing has its own flow"
participants (15)
-
Andrew Glynn -
Camille Teruel -
Clément Bera -
darrinm -
Henrik Johansen -
Johan Fabry -
jtuchel@objektfabrik.de -
kilon alios -
Offray Vladimir Luna Cárdenas -
S Krish -
Sean P. DeNigris -
stepharo -
Sven Van Caekenberghe -
Tudor Girba -
Yuriy Tymchuk