PPlamenu
HomeTrendingLive feedsPeopleGroupsRulesStaff
Sign in
PPlamenu
HomeTrendingLive feedsPeopleGroupsRulesStaff
Sign in

posted in Technology

lemmydividebyzero@lemmydividebyzero@reddthat.com
⁨20⁩d

Name before type: why 'age int' is better than 'int age'

benhoyt.com/writings/name-before-type/
benhoyt.comName before type: why 'age int' is better than 'int age'A variable's name is more important than its type, so the name should be more prominent and come first in declarations.
101035
Open original page
BoostsQuotesFavs
∟⊔⊤∦∣≶@luthis@lemmy.nz
⁨20⁩d

Replying to @⁨lemmydividebyzero@reddthat.com⁩

Hard disagree. Is that a joke? Type is far More important than name. Just ask the compiler.

7000
Open original page
BoostsQuotesFavs
gnutrino@gnutrino@programming.dev
⁨20⁩d

Replying to @⁨luthis@lemmy.nz⁩

Controversial take: it doesn’t matter in the slightest.

3000
Open original page
BoostsQuotesFavs
StarDreamer@stardreamer@lemmy.blahaj.zone
⁨19⁩d

Replying to @⁨gnutrino@programming.dev⁩

Breaking News: local dev argues peanut butter on jam is the same as jam on peanut butter.

⁨Jul⁩ ⁨26⁩, ⁨2026⁩, ⁨09:39⁩Edited ⁨⁨Jul⁩ ⁨26⁩, ⁨2026⁩, ⁨09:40⁩⁩en
0000
Open original page
BoostsQuotesFavs