this post was submitted on 28 Jul 2024
1306 points (99.0% liked)

Programmer Humor

23848 readers
1989 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
(page 2) 50 comments
sorted by: hot top controversial new old
[–] [email protected] 7 points 10 months ago

weird cousin of lisp

[–] [email protected] 23 points 10 months ago

That would be very cool to have in a code autoformatter

[–] [email protected] 74 points 10 months ago

Python with extra steps

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

why stop at curly brackets? Do all of them: parentheses, square brackets, angle brackets, and curly brackets. Also, strings should be liberated. Move all non-escaped quote characters to the end of the line too.

[–] [email protected] 40 points 10 months ago (1 children)

This should be its own language. Pyava.

[–] [email protected] 30 points 10 months ago (1 children)

Or Jathon (pronounced like Mike Tyson would pronounce JSON)

[–] [email protected] 20 points 10 months ago

Or we can round out the confusion and call it PythonScript

[–] [email protected] 2 points 10 months ago

i will keep using .sass and you will like it

[–] [email protected] 61 points 10 months ago (3 children)

Python programmer encountering a real programming language for the first time.

load more comments (3 replies)
[–] [email protected] 40 points 10 months ago* (last edited 10 months ago) (1 children)

My credo on this kind of thing is never do something that will make your successor so mad that they find out where you live and post parts of your body to Interpol.

load more comments (1 replies)
[–] [email protected] 46 points 10 months ago (1 children)

I low key love it. It's unconventional, but it's not hard to read

[–] [email protected] 28 points 10 months ago (2 children)

it's not hard to read

Until there's missing brace somewhere

load more comments (2 replies)
[–] [email protected] 43 points 10 months ago* (last edited 10 months ago) (1 children)

This looks like a python programmer that is mad they have to write ~~C#~~ Java…

[–] [email protected] 8 points 10 months ago (1 children)

Pretty sure that is Java, not C#

[–] [email protected] 5 points 10 months ago

No, you`re right.

[–] [email protected] 10 points 10 months ago

looks clean tbh

[–] [email protected] 8 points 10 months ago

Inspired. Truly.

[–] [email protected] 44 points 10 months ago (2 children)

I was like, "where are the braces?". Then, I turned to the right

[–] [email protected] 6 points 10 months ago

Thank you. I couldn't see the problem.

And if this layout is auto generated, maybe I still don't see the problem.

[–] [email protected] 10 points 10 months ago (1 children)

And then I realized it's python.

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

Wait what? It's Python? But there are semicolons

[–] [email protected] 7 points 10 months ago

They mean that the code is being written like it were python. You can't get rid of the curly braces, but you can shove them all under your bed where mom can't see.

[–] [email protected] 37 points 10 months ago (1 children)

Last day at the company, pushed over 5,000 commits. Just style changes, still passes all the checks.

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

This would never pass PR review.

[–] [email protected] 13 points 10 months ago (4 children)

Jokes on you, we don't have PR review.

load more comments (4 replies)
[–] [email protected] 33 points 10 months ago

Pseudo-python

load more comments
view more: ‹ prev next ›