#codingstyle — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #codingstyle, aggregated by home.social.
-
Just found this piece on code styles, from the perspective of human cognitive capabilities and tendencies. This is something I've previously thought a lot about, and even given a short talk about! I've not had time to read it all yet, but from what I've read it seems very well grounded and thorough:
-
TABS. It is a question of #accessibility, you morons!
Death to #smartTabs (aka random haphazard inserts of spaces depending on the IDE at hand)!
-
TABS. It is a question of #accessibility, you morons!
Death to #smartTabs (aka random haphazard inserts of spaces depending on the IDE at hand)!
-
TABS. It is a question of #accessibility, you morons!
Death to #smartTabs (aka random haphazard inserts of spaces depending on the IDE at hand)!
-
Satoshi’s Coding Reveals Clues About Their Background, Amir Taaki Suggests - Following the premiere of “Money Electric,” a film pointing fingers at Peter Todd ... - https://news.bitcoin.com/satoshis-coding-reveals-clues-about-their-background-amir-taaki-suggests/ #softwaredeveloper #satoshinakamoto #bitcoincreator #cryptocurrency #hbodocumentary #moneyelectric #codingstyle #amirtaaki #petertodd #bitcoin #news
-
Satoshi’s Coding Reveals Clues About Their Background, Amir Taaki Suggests - Following the premiere of “Money Electric,” a film pointing fingers at Peter Todd ... - https://news.bitcoin.com/satoshis-coding-reveals-clues-about-their-background-amir-taaki-suggests/ #softwaredeveloper #satoshinakamoto #bitcoincreator #cryptocurrency #hbodocumentary #moneyelectric #codingstyle #amirtaaki #petertodd #bitcoin #news
-
Satoshi’s Coding Reveals Clues About Their Background, Amir Taaki Suggests - Following the premiere of “Money Electric,” a film pointing fingers at Peter Todd ... - https://news.bitcoin.com/satoshis-coding-reveals-clues-about-their-background-amir-taaki-suggests/ #softwaredeveloper #satoshinakamoto #bitcoincreator #cryptocurrency #hbodocumentary #moneyelectric #codingstyle #amirtaaki #petertodd #bitcoin #news
-
Satoshi’s Coding Reveals Clues About Their Background, Amir Taaki Suggests - Following the premiere of “Money Electric,” a film pointing fingers at Peter Todd ... - https://news.bitcoin.com/satoshis-coding-reveals-clues-about-their-background-amir-taaki-suggests/ #softwaredeveloper #satoshinakamoto #bitcoincreator #cryptocurrency #hbodocumentary #moneyelectric #codingstyle #amirtaaki #petertodd #bitcoin #news
-
Some great points, some not so great ones:
“My Favorite C Programming Practices” [2014], Malcolm Inglis (https://github.com/mcinglis/c-style).
Via HN: https://news.ycombinator.com/item?id=40409956
#C #Programming #CProgramming #Style #CodingStyle #Guidelines #BestPractices #C11 #C17 #C99
-
Some great points, some not so great ones:
“My Favorite C Programming Practices” [2014], Malcolm Inglis (https://github.com/mcinglis/c-style).
Via HN: https://news.ycombinator.com/item?id=40409956
#C #Programming #CProgramming #Style #CodingStyle #Guidelines #BestPractices #C11 #C17 #C99
-
Some great points, some not so great ones:
“My Favorite C Programming Practices” [2014], Malcolm Inglis (https://github.com/mcinglis/c-style).
Via HN: https://news.ycombinator.com/item?id=40409956
#C #Programming #CProgramming #Style #CodingStyle #Guidelines #BestPractices #C11 #C17 #C99
-
Some great points, some not so great ones:
“My Favorite C Programming Practices” [2014], Malcolm Inglis (https://github.com/mcinglis/c-style).
Via HN: https://news.ycombinator.com/item?id=40409956
#C #Programming #CProgramming #Style #CodingStyle #Guidelines #BestPractices #C11 #C17 #C99
-
Fuck zodiac signs, tell me which name you'd choose
#codingstyle #programming -
Linus Torvalds reiterates his tabs-versus-spaces stance with a kernel trap - Enlarge / Cans of Tab diet soda on display in 2011. Tab was discontinue... - https://arstechnica.com/?p=2017554 #linuxkernelmailinglist #tabsversusspaces #linustorvalds #codingstyle #linuxkernel #tabvsspace #biz #linux #tech
-
Finally started, including an editorconfig file as part of my checkins to make it easy for my team to stick to general indentation style. Should have done it a while ago. It would have saved me an hour of reformatting code to use two space indents. #codingstyle
https://editorconfig.org -
I'm #bored. Let's have a #flamewar about #codecomments.
There are those "YOU SHOULD NEVER WRITE COMMENTS, IF YOU NEED COMMENTS YOUR CODE SUCKS AND NEED REWRITING"
and then we have "You should comment *ALL* code *ALL* the time"
And then we have "You should write comments, if it makes sense and the code is non trivial"
Which camp are you in, and why?
-
I'm #bored. Let's have a #flamewar about #codecomments.
There are those "YOU SHOULD NEVER WRITE COMMENTS, IF YOU NEED COMMENTS YOUR CODE SUCKS AND NEED REWRITING"
and then we have "You should comment *ALL* code *ALL* the time"
And then we have "You should write comments, if it makes sense and the code is non trivial"
Which camp are you in, and why?
-
I'm experimenting with a new #codingstyle: For every line of code there's a line blank following it.
Kind of looks like those Bills they bring before the US Congress.
-
Why do I like this #codingstyle so much?
https://www.reddit.com/r/ProgrammerHumor/comments/qhjthz/be_warned/ -
Hackaday Links: July 19, 2020 - Care to flex your ethical hacker muscles? The Defense Advanced Research Projects Agency, better kn... more: https://hackaday.com/2020/07/19/hackaday-links-july-19-2020/ #hackadaycolumns #ethicalhacking #hackadaylinks #narcoantenna #codingstyle #terminology #transceiver #styleguide #astronomy #exoplanet #svalbard #antenna #redteam #cartel #github #darpa
-
Ask Hackaday: Are 80 Characters Per Line Still Reasonable In 2020? - Software developers won’t ever run out of subjects to argue and fight about. Some of them can be fun... more: https://hackaday.com/2020/06/18/ask-hackaday-are-80-characters-per-line-still-reasonable-in-2020/ #softwaredevelopment #currentevents #linustorvalds #askhackaday #originalart #codingstyle #punchedcard #featured #interest #vt100 #ibm
-
Code is code and should be structured according to what it means not to how it looks. And let's also kill arbitrarily deep indents for visual alignment. Each new logical level should be one and just one level deeper.