4 ms·
Just curious what would you think has good syntax that you would enjoy? I always thought Python to be one of the most approachable for example. Then maybe C. I
by rdtsc 12y ago
Just curious what would you think has good syntax that you would enjoy?
I always thought Python to be one of the most approachable for example. Then maybe C. I also like Erlang.
More in depth:
Python is closest to pseudocode. As in, if I sat down and wrote an algorithm, in some pseudocode language, it would probably look a lot like Python.
I like C and Erlang because they are relatively small and self-consistent. Think of it as chess, there are not too many rules of the game, but the game can still be very interesting. Erlang is a good example of a practical functional language. I really like pattern matching in it.
I don't like C++ for example because the syntax is too complex. Too many exceptions, rules and corner cases.
I don't have an opinion on Lisp/Scheme/Clojure/Haskell just because I haven't tried using them in depth.