Click here to Skip to main content
15,887,683 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: Navel gazing on coding style? Pin
englebart18-Sep-22 4:53
professionalenglebart18-Sep-22 4:53 
GeneralRe: Navel gazing on coding style? Pin
Daniel Pfeffer18-Sep-22 6:02
professionalDaniel Pfeffer18-Sep-22 6:02 
GeneralRe: Navel gazing on coding style? Pin
obermd19-Sep-22 6:59
obermd19-Sep-22 6:59 
GeneralRe: Navel gazing on coding style? Pin
Mircea Neacsu19-Sep-22 8:43
Mircea Neacsu19-Sep-22 8:43 
AnswerRe: Navel gazing on coding style? Pin
PIEBALDconsult18-Sep-22 5:21
mvePIEBALDconsult18-Sep-22 5:21 
AnswerRe: Navel gazing on coding style? Pin
Gerry Schmitz18-Sep-22 6:52
mveGerry Schmitz18-Sep-22 6:52 
GeneralRe: Navel gazing on coding style? Pin
honey the codewitch18-Sep-22 6:57
mvahoney the codewitch18-Sep-22 6:57 
AnswerRe: Navel gazing on coding style? Pin
Eddy Vluggen18-Sep-22 7:47
professionalEddy Vluggen18-Sep-22 7:47 
honey the codewitch wrote:
I wonder how many of us do it? I do.
Your coding style is just that; and if you in a team, you adjust to the team and do as they do.

One of my employers demanded that SQL statements be in a string without line breaks. He was fed up with people reformatting statements. From that point on, all SQL commands were a single-line string, without formatting. You'd be scrolling a LOT just to read the damn thing. So I made a VS plugin that shows the formatted version (rather simple, need just a CRLF and some spaces after some keywords). Saved a lot of time when reading the command.

I don't care how you choose to format your code; I can simply reformat the existing code and commit it, and I will. The stuff I'm not allowed to touch, I'll make readable.

You go ahead and put time and effort into formatting your code; I'll correct it by placing a single character Thumbs Up | :thumbsup:
Bastard Programmer from Hell Suspicious | :suss:
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

GeneralRe: Navel gazing on coding style? Pin
honey the codewitch18-Sep-22 8:15
mvahoney the codewitch18-Sep-22 8:15 
GeneralRe: Navel gazing on coding style? Pin
Eddy Vluggen18-Sep-22 8:36
professionalEddy Vluggen18-Sep-22 8:36 
GeneralRe: Navel gazing on coding style? Pin
honey the codewitch18-Sep-22 8:49
mvahoney the codewitch18-Sep-22 8:49 
QuestionRe: Navel gazing on coding style? Pin
Eddy Vluggen18-Sep-22 9:09
professionalEddy Vluggen18-Sep-22 9:09 
AnswerRe: Navel gazing on coding style? Pin
Nelek18-Sep-22 10:39
protectorNelek18-Sep-22 10:39 
AnswerRe: Navel gazing on coding style? Pin
Kate-X25718-Sep-22 22:58
Kate-X25718-Sep-22 22:58 
GeneralRe: Navel gazing on coding style? Pin
honey the codewitch18-Sep-22 23:05
mvahoney the codewitch18-Sep-22 23:05 
AnswerRe: Navel gazing on coding style? Pin
dan!sh 18-Sep-22 22:58
professional dan!sh 18-Sep-22 22:58 
AnswerRe: Navel gazing on coding style? Pin
Cpichols19-Sep-22 1:52
Cpichols19-Sep-22 1:52 
GeneralRe: Navel gazing on coding style? Pin
honey the codewitch19-Sep-22 3:19
mvahoney the codewitch19-Sep-22 3:19 
AnswerRe: Navel gazing on coding style? Pin
SeattleC++19-Sep-22 6:03
SeattleC++19-Sep-22 6:03 
AnswerRe: Navel gazing on coding style? Pin
Juan Pablo Reyes Altamirano19-Sep-22 6:39
Juan Pablo Reyes Altamirano19-Sep-22 6:39 
AnswerRe: Navel gazing on coding style? Pin
Micha Berger19-Sep-22 7:14
Micha Berger19-Sep-22 7:14 
RantI thought I knew C++ *sob* It has been inserting extra code on me this whole time. Pin
honey the codewitch17-Sep-22 14:57
mvahoney the codewitch17-Sep-22 14:57 
GeneralRe: I thought I new C++ *sob* It has been inserting extra code on me this whole time. Pin
PIEBALDconsult17-Sep-22 15:23
mvePIEBALDconsult17-Sep-22 15:23 
GeneralRe: I thought I new C++ *sob* It has been inserting extra code on me this whole time. Pin
honey the codewitch17-Sep-22 15:25
mvahoney the codewitch17-Sep-22 15:25 
GeneralRe: I thought I new C++ *sob* It has been inserting extra code on me this whole time. Pin
Randor 17-Sep-22 16:47
professional Randor 17-Sep-22 16:47 

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.