this post was submitted on 24 Sep 2023
512 points (92.8% liked)

Programmer Humor

32555 readers
471 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
[–] Reinsch@feddit.de 80 points 1 year ago (2 children)

Ewww default exports. Explicit named exports are better! And so it begins

[–] Bishma@discuss.tchncs.de 20 points 1 year ago

How very dare you share my opinion!

[–] ShortFuse@lemmy.world 17 points 1 year ago* (last edited 1 year ago)

PascalCase default exports for Classes

camelCase named exports for functions

ALL_CAPS named exports for constants