News for hackers. Stuff that matters.
Re:Introducing Swift by houshuang on Monday June 02, 2014 @02:59PM (#7835185)
The live REPL is totally out of Bret Victor, very impressive.
Re:Introducing Swift by surganov on Monday June 02, 2014 @06:23PM (#7836873)
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
Re:Introducing Swift by enen on Monday June 02, 2014 @03:00PM (#7835206)
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.
Re:Introducing Swift by justinhj on Monday June 02, 2014 @04:27PM (#7836115)
Checkout Scala worksheets (Eclipse and IDEA) and LightTable too.
Re:Introducing Swift by jerdavis on Monday June 02, 2014 @05:23PM (#7836508)
Yeah.. Because Scala doesn't have a metric ton of problems. AVOID!
Re:Introducing Swift by benburton on Monday June 02, 2014 @06:34PM (#7836931)
Scala doesn't have a metric ton of problems. It has some problems, sure, but it has a lot of nice features as well.
Re:Introducing Swift by spopejoy on Monday June 02, 2014 @09:22PM (#7837631)
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.)
Re:Introducing Swift by nikki93 on Monday June 02, 2014 @06:12PM (#7836830)
By 'FP' here you guys mean 'functional programming?'
Re:Introducing Swift by stcredzero on Tuesday June 03, 2014 @05:42AM (#7839002)
Yes
Re:Introducing Swift by MaysonL on Monday June 02, 2014 @08:59PM (#7837568)
Or Scala worksheets in Eclipse, or any Lisp implementation.
Re:Introducing Swift by Osmium on Monday June 02, 2014 @03:23PM (#7835509)
First thing I thought. I wonder if Bret had any input into this? Very happy to see his ideas in a production environment anyway.
Re:Introducing Swift by akx on Monday June 02, 2014 @04:52PM (#7836292)
Unsurprisingly, I looked at the screenshot, came back to this comments page and ctrl+f'd for "Bret".