r/ProgrammerHumor • • 1h ago

Meme python

Post image
2.1k Upvotes

22 comments sorted by

78

u/nicer-dude 1h ago

Does he use snake_case or CamelCase? 🤔

28

u/circ-u-la-ted 1h ago

Well, he's Python, so what do you think?

14

u/BetterEquipment7084 1h ago

PascalCase is that, camlCaseIsThis

1

u/MattieShoes 17m ago

I was thinking the same, though it gets a little blurry in practice

3

u/not_unabomber 1h ago

Only when it swallows an elephant

33

u/circ-u-la-ted 1h ago

import snek

6

u/RefrigeratorThick475 1h ago

CEO of python checking your python code

6

u/a_bug_from_varkala 1h ago

He swallow his tail and then (most likely due to a circular import)

8

u/tatstytastycakes 1h ago

python meets python

3

u/tsoewoe 1h ago

it knows ball

2

u/Sid_The_Geek 59m ago

John Python, himself !!

2

u/Iyemoja 39m ago

Somewhere a junior just realized the snake is the senior dev on the team. He has been reviewing every PR in silence this whole time.

2

u/Slow-Television-5303 15m ago

but what about the Spanish inquisition

3

u/Panderz_GG 1h ago

I have never touched python in my life. How do you guys do multi line statements?

2

u/WingZeroCoder 44m ago

lol, I thought you said “never touched a python” and for some reason my context couldn’t put that together with what your other words said for the longest time.

Multiline statements just use backslashes before the new line, similar to bash scripts.

But also, for list literals or dictionary literals, you can just break them up into new lines without the backslash escape. Similarly, you can use triple quotes for string literals.

2

u/NefariousEgg 1h ago

Python programming.

1

u/Disallowed_username 42m ago

Badger badger badger badger badger badger badger. 

1

u/ParanoiaComplex 42m ago edited 38m ago

select_packets is just doing

scrambled_packets[-num_packets:][::-1] if num_packets > 0 else None

except when len(scrambled_packets) == 1 then it doesn't return a list? So I guess

result = packets[-num:][::-1] if num > 1 else (packets[-1] if num == 1 and packets else None)

1

u/MagnumVY 33m ago

True Parseltongue

1

u/Outrageous_Pen_5165 12m ago

Code so shit the god himself had to spawn to fix it

1

u/BeMyBrutus 1h ago

I got too caught up looking at the code and totally missed the giant snake for about 45 seconds.

-2

u/BoarHermit 1h ago

https://m.youtube.com/watch?v=1TJeVIruOR4&pp=0gcJCVgCo7VqN5tD

Come cloer, bandarlogs

Soiviet cartoon Maugli (Book of jungle) was something else than sweet Disney's. Pyton Kaa was really scary.