this post was submitted on 22 Feb 2024
924 points (95.7% liked)

Programmer Humor

19701 readers
213 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 18 points 9 months ago (3 children)

BASIC was meant as a teaching language. Python is a real language that's simple enough to be a teaching language. It also runs the same dialect on every machine, which BASIC never did.

Being the second best language at everything, it gets used for everything because people don't want to learn the first best in any given niche. Python isn't the best choice for numeric applications, but with NumPy, it's adequate, so why bother learning R? Even if you knew R already, you're going to run into a lot of Python code for that domain from other people. You'll be swimming against the current, and why bother?

Python will die when the sun does.

[–] [email protected] 11 points 9 months ago (2 children)

You have absolutely no idea how much business code has been written in VB.

[–] [email protected] 8 points 9 months ago

Or COBOL.

No language truly dies, while Capitalism exists.

[–] [email protected] 5 points 9 months ago* (last edited 9 months ago)

I do know, but that's off to the side of BASIC in general. In fact, VB syntax is barely recognizable as BASIC.

[–] technom 2 points 9 months ago

Python is one of my primary languages (the other one being Rust). But it honestly isn't the easiest language to teach - I'm saying this from experience. There are so many concepts at play - name binding, iterators, generators, exception chains, context managers, decorators, ... . I could go on and on. Teaching becomes hard because any basic question could become a journey into the rabbit hole of python semantics.

Python is, however, a good first language for self learners. (Note: teaching vs learning). Python behaves intuitively. It's designed in such a way that if you guess something about the language, you'll probably be right.

[–] Hector_McG 0 points 9 months ago

Being the ~~second~~ tenth best language at everything

FTFY