Elm has had a "time traveler" debugger for a while http://debug.elm-lang.org/
The Swift Programming Language
301–310 of 970 posts
Re: The Swift Programming Language
#302> Looking for the Swift parallel scripting language? Please visit http://swift-lang.org Did they not know or do they just not care?
Re: The Swift Programming Language
#303Looks like PHP (or any c-based lang). Exciting!
And all I thought was: "Please let it be a Lisp".
Re: The Swift Programming Language
#304Earlier quoted context omitted.
Please. Please. PLEASE don't be whitespace delimited! One of the prime examples I give for how HN/reddit has gone downhill was being downvoted by some clueless hipsters for suggesting that it would be easy to cross-compile from a whitespace-delimited language to a non-whitespace-delimited one. It's not some kind of huge fundamental divide in languages. For any non-whitespace delimited context free language, it should…
Practically speaking I'd prefer to work with a language and toolchain that doesn't require me to do that kind of stuff (write my own cross compiler from a derivative of the language that has all my own preferences for syntax). I'd constantly worry about maintaining that piece and having that cut into my quality & productivity. I think applied language theory as it pertains to productivity is fair game for a good disc…
Re: The Swift Programming Language
#305Why is this platform not JavaScript based (so we can leverage the largest ecosystem in the world) or Python based or anything-else-that-exists based? In other news, has Android killed iOS yet so we can stop worrying about Apple? Can't happen soon enough.
Re: The Swift Programming Language
#306So it looks like the language isn't open source and won't target non-Apple runtimes? I'm not trying to troll, I just think that it's a pity that Apple tends to limit the ecosystem and applications of its otherwise-great languages. Building against LLVM ought to make it fairly trivial to make this cross-platform.
[deleted]
Re: The Swift Programming Language
#307Re: The Swift Programming Language
#308For those without iBook, here's an excerpt from "The Swift Programming Language": http://pastebin.com/xsr401gt
Re: The Swift Programming Language
#309Earlier quoted context omitted.
You say "Apple syntactic craziness", but "var" is identical to JS, et. al. and "let" is identical to ML, et. al. The string interpolation syntax is unique, but kind of makes since given then \ is the escape character in C strings.
"let" is JavaScript as well. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
var distance:Double = 70.0