I also find the brain-warp that occurs when switching to a pure functional programming language to be rather painful. Not sure if those who live in the f-world have the same problem transitioning to the i-world.
This should really have been included in the options from which to choose when answering this, actually interesting, question.
Like when you switch from C# to Node.js.
Suddenly, your files need to go into specific folders and you need to require them.
You could write one huge file that does everything, but that's not best practice and will come back to bite you later.
Also, learning the framework or libraries.
Like what's the equivalent of System.IO.File.ReadAllText("myfile.txt") (just to name an easy and trivial example)?
In the case of Node.js, you'll probably find x npm packages, but which one is preferred?
It's these things that make a project race past the deadline or even fail completely, not syntax.
This poll question sucks. Beyond the syntax, and how you terminate a statement (if you even have to), all languages are generally the same. Google resolves the "it's hard to change languages" problem, because everything is on the internet.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
I don't find the syntax subtleties so puzzling (except maybe some extreme stuff like Lisp or, back in my days, APL), it's mainly a matter of challenging your comfort zone for a while.
It's more the way things must be thought trough the language : predicate languages (Prolog anyone ?), declarations, variables scope, mix of markup/code, object oriented or not, value vs reference arguments, available libraries...
And then the constraints on the development stack (Arduino IDE anyone ?)
I can't select any of those, but it insists that I do.
Edit: Not truly related to the question, more of an issue when switching between languages, even languages you use daily... the use of quotes or apostrophes or backticks for strings or characters, etc.
modified 6-Oct-21 16:54pm.
Last Visit: 31-Dec-99 19:00 Last Update: 7-Dec-21 0:16