this post was submitted on 27 May 2024
711 points (97.8% liked)

Programmer Humor

18947 readers
556 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 

geteilt von: https://lemmit.online/post/3018791

This is an automated archive made by the Lemmit Bot.

The original was posted on /r/ProgrammerHumor by /u/polytopelover on 2024-05-26 21:23:20+00:00.

you are viewing a single comment's thread
view the rest of the comments
[–] redcalcium@lemmy.institute 70 points 2 months ago (2 children)

I'm truly torn with this. The first one seems sensible (action -> target) and easier to read and reason about (especially with long names), while the other one looks more organized, naturally sortable and works great with any autocompletion system.

[–] And009@lemmynsfw.com 18 points 2 months ago (1 children)

Not a programmer, but I'd prefer right naming convention because sorting

[–] Lightfire228@pawb.social 13 points 2 months ago (1 children)

I am a programmer, and i also like the naming scheme on the right

Especially for things like filenames

[–] bitwolf@lemmy.one 9 points 2 months ago* (last edited 2 months ago)

Also a programmer and think method names would be conducive using little endian.

TopicGet()
TopicCreate()
TopicDelete()

Writing this I realize we do this implicitly in some instances.

http.Get() -> httpGet()
http.Post() -> httpPost()
[–] kunaltyagi@programming.dev 15 points 2 months ago (2 children)

We need a new framework, one that allows universal lookup, and makes life easier

x = _.dialog.file.open
y = _.open.file.dialog
z = _.file.open.dialog
a = _.file.dialog.open

Once done, the formatter simply changes everything to _.open.file.dialog

Let's get this done JS peeps

\s

[–] Ziglin@lemmy.world 8 points 2 months ago

Aahh you can't just make this problem object oriented!

C programmers don't like that.