Re:JS 2 CoffeeScript Compiler
by dcvetinovic on Wednesday September 14, 2011 @10:27AM
(#2996372)
I've been programming in ruby last 3-4 years most of my time. Despite of that (or may be just because of that) I still find JS code more clear and elegant for reading/writing (under condition it is well written, i.e. w/o "bad parts"), although it is way more verbose, has camel-case convention which I really dislike etc...
Re:JS 2 CoffeeScript Compiler
by silverbax88 on Wednesday September 14, 2011 @11:34AM
(#2996615)
But most programmers are familiar with a structure and layout that is common to other programming languages.
Re:JS 2 CoffeeScript Compiler
by alecbenzer on Wednesday September 14, 2011 @12:00PM
(#2996726)
What? CoffeeScript is similar to python and ruby just like Javascript might be considered more similar to C.
Re:JS 2 CoffeeScript Compiler
by silverbax88 on Wednesday September 14, 2011 @05:58PM
(#2998025)
I never said they weren't.
Re:JS 2 CoffeeScript Compiler
by alecbenzer on Wednesday September 14, 2011 @06:50PM
(#2998170)
I'm not sure what you mean by "they", but your post made it sound like Javascript syntax was better then CoffeeScript because "most programmers are familiar with a structure and layout that is common to other programming languages", which would imply that Javascript syntax is similar to other languages but that CoffeeScript isn't.
Re:JS 2 CoffeeScript Compiler
by silverbax88 on Wednesday September 14, 2011 @07:35PM
(#2998275)
I'm sorry, but you are inferring a lot from a simple comment.
Re:JS 2 CoffeeScript Compiler
by alecbenzer on Wednesday September 14, 2011 @09:18PM
(#2998513)
I don't think I'm inferring any more than I thought seemed necessary to make sense of your comment given the context. What did you mean by your original comment?
I do think, however, that many of the ruby-ish syntax tweaks are more expressive once you get used to them. That is, I learned C-like syntaxes before I learned ruby and I still find I'm able to parse ruby-like code much faster than c-like code. There is more to learn in terms of symbols, constructions, but once you know them, they communicate more information faster.