1
1
Makefiles For Threesomes (sebastiancarlos.com)
2
72

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
395
4
820
5
207
6
288
7
424
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
92
Every time (lemmy.ml)
9
650
10
217

:heart

11
1165
Comenting code (lemmy.ml)
12
888
13
0
😬... (sh.itjust.works)
14
301
15
210
16
195
DevOps (lemmy.ml)
17
509
18
167
19
290
20
83
submitted 3 weeks ago by pooky55@lemm.ee to c/programmerhumor@lemmy.ml
21
164
git stash (lemmy.ca)
22
292
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

23
1474
Off by one solitude (fed.dyne.org)
24
877

I'm not a cat i swear

25
451
view more: next ›

Programmer Humor

32260 readers
69 users here now

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

Rules:

founded 5 years ago
MODERATORS