1
22
submitted 50 minutes ago by yogthos@lemmy.ml to c/programmerhumor@lemmy.ml
2
55
3
244
UI/UX (lemmy.ml)
4
632
You don't need the mouse (lemmy.blahaj.zone)
5
64
VIM Training Wheels (lemmy.world)
6
487
cv2.imshow("Post", frame) (sh.itjust.works)
7
815
8
150
Hear me out (lemmy.ml)
9
396
10
215

Source: https://0x2121.com/7/Lost_in_Translation/

Alt Text: (For searchability): 3 part comic, drawn in a simple style. The first, leftmost panel has one character yelling at another: "@+_$^P&%!. The second comic has them continue yelling, with their hands in an exasperated position: "$#*@F% $$#!". In the third comic, the character who was previously yelling has their hands on their head in frustration, to which the previously silent character responds: "Sorry, I don't speak Perl".

Also relevant: 93% of paint splatters are valid perl programs

11
10
Makefiles For Threesomes (sebastiancarlos.com)
12
85
submitted 2 weeks ago by Ephera@lemmy.ml to c/programmerhumor@lemmy.ml

So, this uses a macro, but if you're thinking anything is possible with a macro, it's actually not in Rust. The input does still need to parse as valid Rust tokens.

Which means the authors asked themselves at some point: Is the Rust syntax a superset of the Python syntax?
And well, it's not. In particular, some Python keywords will just be tokenized as an identifier (like a variable name).

But it is close enough that the authors decided against requiring a massive string to be passed in, which does amuse me. 🙃

13
403
14
841
submitted 2 weeks ago by Maven@lemmy.zip to c/programmerhumor@lemmy.ml
15
216
16
313
17
428
submitted 3 weeks ago* (last edited 3 weeks ago) by SwordInStone@lemmy.world to c/programmerhumor@lemmy.ml

Context: jest is a Javascript testing library, mocking is something you do in test in order not to use production services. AI understood both terms in a none programming context

18
102
Every time (lemmy.ml)
19
655
20
238

:heart

21
1199
Comenting code (lemmy.ml)
22
892
23
0
😬... (sh.itjust.works)
24
320
25
227
view more: next ›

Programmer Humor

32332 readers
107 users here now

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

Rules:

founded 5 years ago
MODERATORS