this post was submitted on 06 Aug 2023
383 points (100.0% liked)

Programmer Humor

421 readers
9 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
[–] entropicdrift@lemmy.sdf.org 5 points 1 year ago* (last edited 1 year ago) (2 children)

Python is the best "glue" language I've ever used. When you want to chain together your program's high-level logic and all of the loops happen inside lower-level languages like Rust, Go, Zig, D or C, Python's performance is perfectly adequate and it's so clear and concise it reads like pseudocode.

[–] Diplomjodler@feddit.de 2 points 1 year ago (1 children)

As long as you do all your lookups with dicts or sets performance is pretty decent for smaller workloads.

[–] grue@lemmy.ml 1 points 1 year ago

Python is secretly a functional-paradigm language. If you're not making liberal use of comprehensions instead of loops (especially loops with LBYL conditions in them), you're doing it wrong.

[–] nixfreak@sopuli.xyz 1 points 1 year ago

Even worse when you look at a class that’s over 1k long.