this post was submitted on 23 Aug 2023
147 points (90.6% liked)

Programmer Humor

31349 readers
1206 users here now

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

Rules:

founded 4 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 17 points 11 months ago (1 children)

You can use the C preprocessor on any source code.

[–] marcos 4 points 11 months ago (1 children)

Or m4 if you are into it.

M4 + python would make for a great combo.

[–] muzzle 4 points 10 months ago (1 children)
[–] marcos 1 points 10 months ago (1 children)

But...

What is more pythonic than semantic whitespace?

[–] muzzle 1 points 10 months ago (1 children)

Preprocessing source code is an awful idea and I wish it never became widespread.

I used to hate semantic whitespace, but I came around when I was using it anyway.

[–] marcos 3 points 10 months ago (1 children)

Oh bummer... I was so glad believing somebody understood the m4 joke.

Text preprocessors for code are awful. But the m4 + python combo is so full of landmines that I'm wondering if I should try it.

[–] muzzle 2 points 10 months ago (1 children)

I can only defend myself with the good old "it is impossible to write a Y̶o̶u̶T̶u̶b̶e̶ Lemmy comment stupid enough that everyone will realise it is ment to be sarcastic"

[–] marcos 2 points 10 months ago

I would say that one should expect a high probability of comments on "Programmer Humor" being sarcastic. But deep down I know you are right.