3 ms·
Style is something you'll get with practice, and deliberate attention to the process of writing code. Syntax on the other hand, is very different in Ruby and JS
by roopeshv 14y ago
Style is something you'll get with practice, and deliberate attention to the process of writing code. Syntax on the other hand, is very different in Ruby and JS. I'm not sure what exactly you are confusing specifically.
I switch between Python and Ruby for the most part, and I find Rb/Py to be very close in syntax, than Rb/JS. So between Rb/Py I mostly confuse the if/elsif statements more than anything else, and refer to python manual from time to time.
If you point to specifics, may be we can discuss more about what is confusing and how to avoid it.