this post was submitted on 21 Jan 2024
9 points (90.9% liked)

Programmer Humor

32469 readers
526 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 0 points 9 months ago (1 children)

What you're describing sounds like Python. Not really C's strong suit.

If you haven't checked it out yet, you certainly should!

[โ€“] [email protected] 0 points 9 months ago

I agree with your main point. Python does a great job of replacing lots of tiny, chained scripts. Simple API calls with wget or curl have a place, but can spiral out of control quickly if you need to introduce any grain of control like with pagination, as an example.

Maintaining one Python app (or "script") can still adhere to the unix philosophy of simplicity but can bend some rules as far as monolithic design is concerned if you aren't careful.

It all boils down to whether you are introducing complexity or reducing it, IMHO.