this post was submitted on 27 Dec 2023
64 points (97.1% liked)

Programming

17177 readers
413 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



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

While I agree with the premise of the article, the code is completely unreadable to me. I took a look at the first snippet and just thought "Nah."

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

That’s because it’s not the source. It’s not the preferred way of modifying the program. The state diagram is the preferred way of modifying the program.

[–] [email protected] -4 points 9 months ago (1 children)

You really need to know C to be able to read that code - If I only knew Python or Java I'd be hella lost too.

[–] Pyroglyph 15 points 9 months ago

It's not even that. I can generally read a C-like language, but when the first line I see is a long-ass array of bytes with zero documentation it just makes me not want to even try.