wym just
def piss(): pass
substitute accordingly 🤙
wym just
def piss(): pass
substitute accordingly 🤙
def piss(): pass; piss = piss()
Here you go.
You can use the C preprocessor on any source code.
Or m4 if you are into it.
M4 + python would make for a great combo.
Please don't.
But...
What is more pythonic than semantic whitespace?
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.
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.
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"
all 15 comments