It is nice that he mentioned Light Table. I would not be surprised if Swift ends up really benefitting Clojure adoption indirectly. I think one of the big hangups for newcomers is that, if you don't have experience with a Lisp, it's often difficult to understand the benefits of interactive development. If a large amount of new programmers become exposed to it, they'll be more open to other options that provide simila…
> if you don't have experience with a Lisp, it's often difficult to understand the benefits of interactive development Also with Javascript and browsers' built in consoles you can have good times developing interactively
Chris Lattner on Swift
161–170 of 203 posts
Re: Chris Lattner on Swift
#162Earlier quoted context omitted.
C++ would be absolutely terrible for social media applications. There, the barrier isn't usually the speed but correctness and maintenance overhead.
Is Objective C really that much better? If you have decent APIs/libraries, C++ would be just fine.
It's still got the same C warts that C++ does in a lot of place, but it is far simpler and less leaky than C++.
C++ is still faster and more cross platform, than objective-c
--Have done both professionallyRe: Chris Lattner on Swift
#163Earlier quoted context omitted.
C++ would be absolutely terrible for social media applications. There, the barrier isn't usually the speed but correctness and maintenance overhead.
And Swift would be equally terrible for a high performance 3D game. (It's not because the guy from Apple said it that it's true.) There's a reason why every single AAA studio uses C++ for their engines and titles. And that's the same reason why it is terrible for social media applications.
Then they put a sane, modern language on top of it many places, Actionscript at EA, Python at many other places, LUA at others, C# at others, and write in a high level language that doesn't leak abstractions like a nut milk bag.
Re: Chris Lattner on Swift
#164Earlier quoted context omitted.
Not trying to be rude, but if you've tried and actually FAILED to learn Objective-C multiple times, then you will have a much bigger problem with actually learning the Cocoa framework yourself. Objective-C does have a non-standard syntax, but its barrier of entry for actual learning is purely psychological and not technical.
My problem with "learning Objective-C" was always the frameworks, not so much the language itself.
Re: Chris Lattner on Swift
#165Really excited for Swift. I've tried and failed many times to learn Objective C and felt that the barrier to entry was a bit to high for myself. As a someone who writes JavaScript for a living, Swift is very inviting.
I suggest going through some detailed tutorials on building an X, so you get the feel for how views, view controllers, objects and everything all interact.
The new playgrounds look EXCELLENT for doing that! Best of luck
Re: Chris Lattner on Swift
#166Really excited for Swift. I've tried and failed many times to learn Objective C and felt that the barrier to entry was a bit to high for myself. As a someone who writes JavaScript for a living, Swift is very inviting.
Programming languages are like vehicles. If you can drive one, you mostly know how to drive the other. JavaScript has a lot more gotchas than Objective-C. If you feel comfortable with the weird "this", closures, and prototypes, Objective C shouldn't be hard. Pick up a copy of K&R to get familiar with C and then read the Objective-C docs.
:)
Re: Chris Lattner on Swift
#167Swift is a little complex. Does it compile to Object-C?
Re: Chris Lattner on Swift
#168Swift is a little complex. Does it compile to Object-C?
Re: Chris Lattner on Swift
#169I wish Apple had selected a different name: https://www.ci.uchicago.edu/research-projects/swift
Re: Chris Lattner on Swift
#170"Looking forward to next month: I'll be the first and only guy with 4 years of swift programming experience :-)"
https://mobile.twitter.com/clattner_llvm/status/473835365137...