this post was submitted on 14 Nov 2023
183 points (92.2% liked)

Programmer Humor

32453 readers
647 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] vox@sopuli.xyz 6 points 1 year ago* (last edited 1 year ago)

yeah structs, consts ets should always be explicit, prevents a lot oh headache
also, for adhoc stuff rust has closures which can be fully inferred (but you need to convert them to explicit function pointers for storage in structs/consts)