this post was submitted on 19 Nov 2024
210 points (96.1% liked)

Technology

59495 readers
3081 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
top 10 comments
sorted by: hot top controversial new old
[–] MonkderVierte@lemmy.ml 4 points 1 day ago* (last edited 1 day ago)
[–] demesisx@infosec.pub 33 points 2 days ago* (last edited 1 day ago) (1 children)

“If you use Python, you should probably just admit to yourself that you don’t actually care about understanding what your program is doing.” Conal Elliot

[–] palordrolap@fedia.io 15 points 1 day ago (1 children)

I'm not going to disagree with this on the grounds that you could replace Python with any language and still be right for a handful of programmers using it.

Relatedly, there are plenty of people who write code in Python who know exactly what they're doing (thus defeating the quote), to the point that an amateur reading that code has literally no idea what's going on. Abstractions upon abstractions. Horrors upon horrors. Likewise this can be done in any language. Try taking apart one of the standard Perl modules (that's written in Perl anyway), for example.

What does concern me is that the only source I can find for this quote is your comment. I can find Conal Elliot and even a suggestion that they have written code in Python (making the quote a self-burn, perhaps), but not the quote itself.

[–] demesisx@infosec.pub 19 points 1 day ago* (last edited 1 day ago) (2 children)

Conal’s point is that no, in fact there are almost zero programmers that fully understand even the simplest Python code since it is a dynamically typed language.

Here’s where I heard it.

https://podcasts.apple.com/us/podcast/type-theory-forall/id1546295833?i=1000654070339

[–] palordrolap@fedia.io 16 points 1 day ago (2 children)

Condescending tone was not intended, but on rereading I can see how I've come across that way. Sorry about that.

[–] ComradeMiao@lemmy.world 5 points 1 day ago

Love this so much, so much better than reddit

[–] demesisx@infosec.pub 17 points 1 day ago

It’s fine. I’m sure I contributed somewhat o the misreading of the tone too. Namaste, my friend.

[–] mox@lemmy.sdf.org 4 points 1 day ago* (last edited 18 hours ago)

Conal’s point is that no, in fact there are almost zero programmers that fully understand even the simplest Python code

Can you summarize the reasoning there, for those of us who are mildly curious what you're talking about but don't have time to spend on a podcast?

By "fully understand", does he mean knowing exactly how data are being laid out in memory, or when it is reclaimed? Knowing exactly what CPU instructions are being executed, registers used, and stack frames created behind the abstractions? Something else?

since it is a dynamically typed language.

What does Python's type system have to do with it? Python doesn't quietly convert objects of one type to another behind your back, like some other languages do.

What concerns me is your condescending tone.

I didn't read condescension in that comment. It's possible that none was intended.

[–] Spiralvortexisalie@lemmy.world 30 points 2 days ago

Tldr they copied the comic

[–] GreenKnight23@lemmy.world 5 points 1 day ago

I've written a few of those before.

and it's true, someone will trigger it eventually.