lysdexic@programming.dev to Programming@programming.devEnglish · 11 months agoPush Ifs Up And Fors Downmatklad.github.ioexternal-linkmessage-square21fedilinkarrow-up152arrow-down16cross-posted to: [email protected][email protected]
arrow-up146arrow-down1external-linkPush Ifs Up And Fors Downmatklad.github.iolysdexic@programming.dev to Programming@programming.devEnglish · 11 months agomessage-square21fedilinkcross-posted to: [email protected][email protected]
minus-squarelysdexic@programming.devOPlinkfedilinkEnglisharrow-up2arrow-down8·11 months ago My advice: use descriptive variable names. The article is really not about naming conventions.
minus-squareSheldan@programming.devlinkfedilinkarrow-up14·11 months agoShould have still used them. It was harder to read this way.
minus-squarelad@programming.devlinkfedilinkarrow-up1·11 months agoI even thought that this (hardness) was intended to emphasize the way it’s hard to spot problems in real codebase 😅
minus-squarelysdexic@programming.devOPlinkfedilinkEnglisharrow-up3arrow-down11·11 months ago Should have still used them. It was harder to read this way. The blog author is literally using de-facto standard for placeholder names. https://en.wikipedia.org/wiki/Foobar https://www.techopedia.com/definition/27996/frobnicate The var names used by the author are perfectly fine. They don’t cause any issue, nor do they make things hard to read.
minus-squareonlinepersona@programming.devlinkfedilinkEnglisharrow-up14arrow-down1·11 months agoDoesn’t matter, it’s hard to read an article. If it were hard to read for another reason like bad grammar, I’d comment on that too 🤷
The article is really not about naming conventions.
Should have still used them. It was harder to read this way.
I even thought that this (hardness) was intended to emphasize the way it’s hard to spot problems in real codebase 😅
The blog author is literally using de-facto standard for placeholder names.
The var names used by the author are perfectly fine. They don’t cause any issue, nor do they make things hard to read.
Doesn’t matter, it’s hard to read an article. If it were hard to read for another reason like bad grammar, I’d comment on that too 🤷