Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

C or Lisp would be better choices if maximum learning is the goal, or Haskell if hard core type fundamentalism appeals.


Bear in mind that the original question is 'Should I learn C++ or Python?' This suggests the asker already knows C and is looking for the next step. Given that, w.r.t. to Lisp, I believe an ML-family language like OCaml would be a strict superset of the learning offered by a Lisp, and w.r.t. Haskell--hard core type fundamentalism rarely appeals to people trying to decide between C++ and Python.

I suggested OCaml for its static typing features, speed (comparable to C++), potential to deploy universally (desktop, mobile, web), and last but not least because of its pragmatism--if you need to do some imperative programming, it gets out of your way.


Well, They teach ocaml as part of masters functional programming in uiuc.


I was going to suggest Go for its utility usefulness while not being quite as complicated as C or Haskell, though Python serves that well too




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: