865
(page 2) 35 comments
sorted by: hot top controversial new old
[-] enleeten@discuss.online 4 points 5 months ago

And base the syntax on Typescript

[-] jenny_ball@lemmy.world 4 points 5 months ago

this is evil

[-] sirico@feddit.uk 3 points 5 months ago* (last edited 5 months ago)
[-] ppercipio@lemmy.world 3 points 5 months ago

This meme shouldn't be this funny xD

[-] Evil_Shrubbery@lemm.ee 3 points 5 months ago

Python script script ^script^

[-] luciferofastora@lemmy.zip 2 points 5 months ago

That's an awful idea and you are an awful person for suggesting it.

...and I am an awful person for considering the idea

[-] muntedcrocodile@lemm.ee 0 points 5 months ago

So the matlab thing where all lines not terminated by semi colon are printed except use Greek question marks instead of semi colons.

[-] AdamEatsAss@lemmy.world 0 points 5 months ago

I like this but to make the code more readable the Greek question mark should also be placed upsidedown at the start of every line that needs to not be printed.

[-] muntedcrocodile@lemm.ee 0 points 5 months ago

Should it raise an error of treat it as a comment for lines with neither? Im leaning towards treat it as a comment will make debugging harder.

[-] AdamEatsAss@lemmy.world 1 points 5 months ago

I agree. If there is no Greek question mark at all it should be code that is printed to console. If there is an upside down at the start and upside right at the end it is just normal code. If upside right at the end only, it is a comment. Only upside down at the start it will be treated as debug specific code and will not be run in production compilations.

load more comments
view more: ‹ prev next ›
this post was submitted on 05 Jul 2024
865 points (100.0% liked)

Programmer Humor

32776 readers
387 users here now

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

Rules:

founded 5 years ago
MODERATORS