5 ms·
I spent a lot of time trying to do stuff with ObjectiveC, but just hated the syntax. That's been the biggest thing keeping me from developing Mac OSX apps; I ju
by creativeembassy 12y ago
I spent a lot of time trying to do stuff with ObjectiveC, but just hated the syntax. That's been the biggest thing keeping me from developing Mac OSX apps; I just prefer Ruby's simplicity. I'm going to seriously give Swift a try.
- will_work4tears 12y agoYep, same here. It looks pretty JavaScript-y, which is familiar at least. I think this is a good move on Apple's part.
- stcredzero 12y agoIt's probably a wise decision to have an "Algol patterned" language. No non Algol patterned language has ever become a mainstream programming language to my knowledge.
- dfc 12y agoI am not a programming language wonk; so I imagine most languages I am familiar-with/know-of are necessarily Algol patterned. What are some non-Algol patterned languages?
- davidw 12y agoLisp, Forth, Prolog (and Erlang), Smalltalk, Haskell, and Tcl all come to mind.
- stcredzero 12y agoIn particular, Obj-C = Smalltalk + C. If you subtract C from Obj-C, you'd most easily just end up with Smalltalk. But that's not the right move for mass adoption.
- Someone 12y agoI agree with the first, but disagree with the second part: COBOL, Fortran, JCL (not Turing complete, AFAIK), SQL, Excel, DOS batch files all were (fairly) mainstream at some time.
- nl 12y agoFortran came before Algol and arguably influenced it[1]. I agree with COBOL and SQL in particular, though. [1] http://www.digibarn.com/collections/posters/tongues/ComputerLanguagesChart-med.png http://www.digibarn.com/collections/posters/tongues/Computer...
- Someone 12y agoThe correctness of that image can be discussed. Fortran was specified in 1954, but the first compiler shipped in April 1957 (http://en.wikipedia.org/wiki/Fortran#History http://en.wikipedia.org/wiki/Fortran#History). That is earlier than Algol 58 (first two implementations in 1958 (http://en.wikipedia.org/wiki/ALGOL_58#Time_line_of_implementations_of_ALGOL_58_variants) http://en.wikipedia.org/wiki/ALGOL_58#Time_line_of_implement...), but close. More importantly, "inspired by" does not imply that Fortran 58 is Algol-like (that same picture would declare Fortran Lisp-like, too) For me, http://en.wikipedia.org/wiki/Fortran#Simple_FORTRAN_II_program http://en.wikipedia.org/wiki/Fortran#Simple_FORTRAN_II_progr... certainly is nothing like Algol.
- VeejayRampay 12y agoRuby is simple and beautiful, isn't it? Too bad it never got the shower of money from big backers Javascript, PHP and now Swift got blessed with.
- timr 12y agoBeauty is in the eye of the beholder, but Ruby is anything but simple. It has one of the most complicated syntaxes of any programming language in common use. Perl and C++ are still in the lead, but with stuff like the gratuitous introduction of alternate hash syntax, new-style lambdas, etc., Ruby is catching up.
- steveklabnik 12y agoRuby's grammar is complex, but it's object model is incredibly simple.
- deleted 12y ago[deleted]
- alecthomas 12y agoIt'll never catch C++ [1] [1] http://stackoverflow.com/questions/23980929/what-changes-introduced-in-c14-can-potentially-break-a-program-written-in-c1/23980931#23980931 http://stackoverflow.com/questions/23980929/what-changes-int...
- VeejayRampay 12y agoIntroduction of a new hash syntax wasn't gratuitous really. I think the point was to make up for the lack of proper keyword arguments. Now that they're available, it's true that it doesn't have a reason to stand on its own, but it does make the code more readable and concise, as does the stabby lambda syntax. Though I do agree with your point on simplicity really, the language does offer way too many ways to do the same thing sometimes.
- elithrar 12y agoTried http://macruby.org/ http://macruby.org/ ?