by vonwoodson · 3y ago · 0 comments
Back then, the python jobs were scarce -- but based upon how I picked up the language, many of the typical C++ issues just disappeared -- and I knew it was going to become popular.
One comp sci professor talking at a PyCon years ago made a point that maybe the best college level introductory course probably should not have been SICP based but Python. His example was that for the first time in 5 years of teaching intro courses he had people coming up to him looking to change majors.
We have all the cool kids like Kotlin, Rust, etc.
However, when it is about finishing a project, beating C++ or Java ecosystems is almost impossible.
Besides that, C++ has improved a lot over time. It still has its warts and knives but you can code very reasonable C++ with a few guidelines and there are also linters, and -Wall -Wextra -Weverything -Werror. That takes you quite far in real life provided you have a reasonable amount of training.
I would choose C++ over Rust any day. The only hope I have for C++ successors are Cppfront and Carbon and they are highly experimental. As successors those two fit the bill.
There is a third one, my favorite. It is this one: https://www.hylo-lang.org/ but I am not sure how compatible it will/would be.
not having to explicitly remember `free` in safe Rust code is amazing. Knowing that if my types are sound that memory will be managed reasonably is great.
I also think that immutable by default, mutable by explicit declaration is pretty great.
I do think there is a lot of room to add better ergonomics on these ideas however
Yet, somehow people do this with python, perl, and ruby. Google hires professional python people too.
IIRC, Val has been mentioned on HN sometimes earlier.
I remember trying to compile GTK+ on a solaris system a decade ago, and remembering how terrible it was to even to get it to compile.
You're really deluding yourself if spending your time in compiler dependency hell is so much better than python.
I see this argument a lot, but people often forget that Python is very concise (yet readable) compared to other languages.
100k LOC in Python typically contains way more business logic than C++, so it is only natural to be harder to maintain.
and https://www.johndcook.com/blog/2009/03/26/mit-replaces-schem...
and https://vimeo.com/151465912#t=3577s
As to being 'near impossible' to teach SICP with Python: https://web.archive.org/web/20210916151732/https://doc-04-5g...
Fight me.
But seriously, Python is good. Don't let the perfect be the enemy of good, only computer science people can do this.
i saw this linked on here recently: https://wizardforcel.gitbooks.io/sicp-in-python/content/