Please advise on Ruby vs Python, for someone who likes LISP a lot

后端 未结 12 2085
闹比i
闹比i 2021-02-12 12:03

I am a C++ developer, slowly getting into web development. I like LISP a lot but don\'t like AllegroCL and web-frameworks available for LISP. I am looking for more freedom and a

12条回答
  •  情歌与酒
    2021-02-12 12:40

    I also recommend the article by Peter Norvig that namin posted. If you want to look at functional programming in Python check out the functools module in the standard library.

    There is also a lot of room to hack around in Python; private variables are by convention and not enforced, so you can poke around in the internal state of objects if you feel like it. Usually this is not necessary, though.

    Both Ruby and Python are very object-oriented and support functional programming; I wouldn't say either one is clearly superior for your project; it's partly a matter of personal taste.

提交回复
热议问题