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

Programmer Humor

32443 readers
656 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 78 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