1
3
Makefiles For Threesomes (sebastiancarlos.com)
2
78

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. 🙃

3
393
4
829
5
217
6
312
7
423
submitted 1 week ago* (last edited 1 week 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

8
102
Every time (lemmy.ml)
9
651
10
236

:heart

11
1189
Comenting code (lemmy.ml)
12
823
13
1
😬... (sh.itjust.works)
14
306
15
218
16
205
DevOps (lemmy.ml)
17
498
18
185
19
292
20
167
git stash (lemmy.ca)
21
287
submitted 3 weeks ago* (last edited 3 weeks ago) by bi_tux@lemmy.world to c/programmerhumor@lemmy.ml

This happend to me right noww as I tried to write a gui task manager for the GNU/Linux OS

22
1464
Off by one solitude (fed.dyne.org)
23
871

I'm not a cat i swear

24
448
25
335
Some Mnemonics (sh.itjust.works)
view more: next ›

Programmer Humor

32266 readers
58 users here now

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

Rules:

founded 5 years ago
MODERATORS