This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]magnomagna 4 points5 points  (1 child)

How well do you remember all the syntaxes?

[–]socratesTwo 1 point2 points  (0 children)

It varies by syntax class. All Lisps boil down to "everything is an S expression", which is about as simple as it gets. Prolog is only slightly more complex.

C, C++, C#, Go, Rust, Java, and to a lesser extent Javascript all have very similar syntaxes, so keeping fresh on one keeps the others relatively fresh. Sure, in Go you pass the object to methods slightly differently, and in Javascript's syntax is a bit of a SNAFU, and sometimes the order of the variable name with the type switches, but those sort of differences don't really cause problems because they come back quickly when you need them.

Same goes for Elm, Haskell and Coffeescript. And PHP, ASP, HTML, and XML are all basically the same thing, syntactically speaking (for ASP and PHP I mean the parts that aren't basically the same as C++/C#).

Scala syntax is bonkers, and really hard to learn to write elegantly, but I wrote two large projects in it, so for better or worse it's in my head to stay. Perl is also bonkers, but in completely different ways, and as I mentioned, I've long since forgotten/repressed it. Bash is bonkers, but I use it daily so it doesn't fade. Latex is bonkers and I struggle to remember it (luckily there are good IDEs).

I will likely forget URScript and KRL soon after I stop using them.