Re:Introducing Swift
by houshuang on Monday June 02, 2014 @02:59PM
(#7835185)
The live REPL is totally out of Bret Victor, very impressive.
[ Parent
| on HN ]
Re:Introducing Swift
by chrisdevereux on Monday June 02, 2014 @03:09PM
(#7835333)
Bret Victor used to work in R&D at Apple, so that probably isn't a coincidence
That. Was. Awesome. Totally Bret Victor type of stuff. I was just meaning to play with Light Table but as an iOS developer.. oh my god.
Checkout Scala worksheets (Eclipse and IDEA) and LightTable too.
Yeah.. Because Scala doesn't have a metric ton of problems. AVOID!
Scala doesn't have a metric ton of problems. It has some problems, sure, but it has a lot of nice features as well.
Plus 'metric' must only accompany 'shitload' or other potty-mouthed quantifiers. Troll fail
Re:Introducing Swift
by stcredzero on Monday June 02, 2014 @04:36PM
(#7836180)
Basically, he just came up with something using FP that was more demo-able than somewhat hacky things people were already doing in other languages/environments. (For which, he deserves tons of credit.)
Re:Introducing Swift
by seanmcdirmid on Monday June 02, 2014 @05:00PM
(#7836349)
Bret victor's demos really have nothing to do with FP. The textual code demos in his learnable programming essay are all JavaScript and fairly imperative.
Re:Introducing Swift
by stcredzero on Monday June 02, 2014 @05:34PM
(#7836590)
As were a lot of the things you could do years earlier in Smalltalk. FP with referential transparency makes it a whole lot easier and slicker. (Can also do it with data flow analysis.)
By 'FP' here you guys mean 'functional programming?'
Re:Introducing Swift
by stcredzero on Tuesday June 03, 2014 @05:42AM
(#7839002)
Yes
Or Scala worksheets in Eclipse, or any Lisp implementation.
First thing I thought. I wonder if Bret had any input into this? Very happy to see his ideas in a production environment anyway.