Click here to Skip to main content
15,891,864 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: How do you understand cryptic code? Pin
honey the codewitch7-Jul-21 2:38
mvahoney the codewitch7-Jul-21 2:38 
GeneralRe: How do you understand cryptic code? Pin
UnchainedZA7-Jul-21 2:48
UnchainedZA7-Jul-21 2:48 
GeneralRe: How do you understand cryptic code? Pin
Rusty Bullet7-Jul-21 3:01
Rusty Bullet7-Jul-21 3:01 
GeneralRe: How do you understand cryptic code? Pin
honey the codewitch7-Jul-21 3:03
mvahoney the codewitch7-Jul-21 3:03 
GeneralRe: How do you understand cryptic code? Pin
honey the codewitch7-Jul-21 3:04
mvahoney the codewitch7-Jul-21 3:04 
AnswerRe: How do you understand cryptic code? Pin
Martin ISDN6-Jul-21 23:26
Martin ISDN6-Jul-21 23:26 
AnswerRe: How do you understand cryptic code? Pin
Rusty Bullet7-Jul-21 2:56
Rusty Bullet7-Jul-21 2:56 
AnswerRe: How do you understand cryptic code? Pin
Gary Wheeler7-Jul-21 3:53
Gary Wheeler7-Jul-21 3:53 
I have this precise issue in a legacy project I have inherited. The author wrote the code in a fashion that virtually guaranteed he was the only possible maintainer [approx. 4,000 words of obscenity-laden rant omitted].

On occasion I have copied the relevant source files to another folder and the reformatted and refactored mercilessly. The reformatting is to correct layout issues since his brace style and tabs weren't consistent (I've found tabs of 2, 3, 4, and 8 with tab characters). The refactoring is to give values meaningful names.

The reworked source code lets me understand how the original works when I need to make changes or understand how a feature works. Given the fragility of this towering pile of excreta, I don't use the reformatted code for anything other than my own understanding.
Software Zen: delete this;

GeneralRe: How do you understand cryptic code? Pin
honey the codewitch7-Jul-21 4:03
mvahoney the codewitch7-Jul-21 4:03 
AnswerRe: How do you understand cryptic code? Pin
Julian Ragan7-Jul-21 4:24
Julian Ragan7-Jul-21 4:24 
GeneralRe: How do you understand cryptic code? Pin
honey the codewitch7-Jul-21 4:27
mvahoney the codewitch7-Jul-21 4:27 
GeneralRe: How do you understand cryptic code? Pin
Julian Ragan7-Jul-21 4:47
Julian Ragan7-Jul-21 4:47 
AnswerRe: How do you understand cryptic code? Pin
JP Reyes7-Jul-21 4:34
JP Reyes7-Jul-21 4:34 
GeneralRe: How do you understand cryptic code? Pin
honey the codewitch7-Jul-21 4:39
mvahoney the codewitch7-Jul-21 4:39 
AnswerRe: How do you understand cryptic code? Pin
englebart7-Jul-21 4:35
professionalenglebart7-Jul-21 4:35 
GeneralRe: How do you understand cryptic code? Pin
honey the codewitch7-Jul-21 4:38
mvahoney the codewitch7-Jul-21 4:38 
AnswerRe: How do you understand cryptic code? Pin
NightPen7-Jul-21 6:44
NightPen7-Jul-21 6:44 
AnswerRe: How do you understand cryptic code? Pin
hur10forcer108-Jul-21 2:38
hur10forcer108-Jul-21 2:38 
GeneralHow hard can tallying ranked voting be? Pin
swampwiz6-Jul-21 4:38
swampwiz6-Jul-21 4:38 
GeneralRe: How hard can tallying ranked voting be? Pin
Slacker0076-Jul-21 5:54
professionalSlacker0076-Jul-21 5:54 
GeneralRe: How hard can tallying ranked voting be? Pin
Matthew Dennis6-Jul-21 6:13
sysadminMatthew Dennis6-Jul-21 6:13 
GeneralRe: How hard can tallying ranked voting be? Pin
PIEBALDconsult6-Jul-21 6:22
mvePIEBALDconsult6-Jul-21 6:22 
GeneralRe: How hard can tallying ranked voting be? Pin
Jon McKee6-Jul-21 15:13
professionalJon McKee6-Jul-21 15:13 
GeneralRe: How hard can tallying ranked voting be? Pin
Dan Neely7-Jul-21 2:53
Dan Neely7-Jul-21 2:53 
GeneralRe: How hard can tallying ranked voting be? Pin
Jon McKee7-Jul-21 7:09
professionalJon McKee7-Jul-21 7:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.