Click here to Skip to main content
15,896,912 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: Do you Program in Paragraphs or Sentances? Pin
kalberts1-Jun-18 2:55
kalberts1-Jun-18 2:55 
GeneralRe: Do you Program in Paragraphs or Sentances? Pin
KBZX50001-Jun-18 4:37
KBZX50001-Jun-18 4:37 
GeneralRe: Do you Program in Paragraphs or Sentances? Pin
kalberts1-Jun-18 8:07
kalberts1-Jun-18 8:07 
GeneralRe: Do you Program in Paragraphs or Sentances? Pin
kalberts1-Jun-18 2:42
kalberts1-Jun-18 2:42 
GeneralRe: Do you Program in Paragraphs or Sentences? Pin
Bruce Patin1-Jun-18 4:11
Bruce Patin1-Jun-18 4:11 
GeneralRe: Do you Program in Paragraphs or Sentences? Pin
RandyBuchholz1-Jun-18 4:14
RandyBuchholz1-Jun-18 4:14 
GeneralRe: Do you Program in Paragraphs or Sentences? Pin
Bruce Patin1-Jun-18 4:43
Bruce Patin1-Jun-18 4:43 
GeneralRe: Do you Program in Paragraphs or Sentences? Pin
MSBassSinger1-Jun-18 4:39
professionalMSBassSinger1-Jun-18 4:39 
Paragraph level.

Are you thinking that the compiler does something more optimized because you wrote it as a sentence instead of paragraph? Or were you thinking that less typing benefits the project overall? Or perhaps some other underlying reason?

Paragraph style is not only more readable and understandable to another programmer reading it for the first time, it is more readable and understandable to you 6 months, a year, or 2 years later when you revisit the code for the first time since you finished it.

Paragraph style is also easier to debug and see runtime values.

When you are not the only programmer involved now or conceivably in the future, paragraph style would have a positive effect on the maintenance portion of lifecycle cost.

Another benefit of paragraph style is that it lends itself better to adding comments that explain the what and why of what you are doing.

modified 1-Jun-18 10:53am.

GeneralRe: Do you Program in Paragraphs or Sentences? Pin
RandyBuchholz1-Jun-18 6:18
RandyBuchholz1-Jun-18 6:18 
GeneralRe: Do you Program in Paragraphs or Sentences? Pin
kalberts1-Jun-18 8:39
kalberts1-Jun-18 8:39 
GeneralRe: Do you Program in Paragraphs or Sentences? Pin
Kirk 103898211-Jun-18 5:14
Kirk 103898211-Jun-18 5:14 
GeneralRe: Do you Program in Paragraphs or Sentences? Pin
Gerry Schmitz1-Jun-18 6:03
mveGerry Schmitz1-Jun-18 6:03 
GeneralRe: Do you Program in Paragraphs or Sentences? Pin
RandyBuchholz1-Jun-18 6:27
RandyBuchholz1-Jun-18 6:27 
GeneralRe: Do you Program in Paragraphs or Sentences? Pin
Gerry Schmitz1-Jun-18 6:38
mveGerry Schmitz1-Jun-18 6:38 
GeneralRe: Do you Program in Paragraphs or Sentences? Pin
RandyBuchholz1-Jun-18 7:08
RandyBuchholz1-Jun-18 7:08 
GeneralRe: Do you Program in Paragraphs or Sentences? Pin
Gerry Schmitz1-Jun-18 7:44
mveGerry Schmitz1-Jun-18 7:44 
GeneralRe: Do you Program in Paragraphs or Sentences? Pin
kalberts1-Jun-18 8:52
kalberts1-Jun-18 8:52 
GeneralRe: Do you Program in Paragraphs or Sentences? Pin
Vivi Chellappa2-Jun-18 4:21
professionalVivi Chellappa2-Jun-18 4:21 
GeneralThought of the Day Pin
OriginalGriff31-May-18 4:56
mveOriginalGriff31-May-18 4:56 
GeneralRe: Thought of the Day Pin
lopatir31-May-18 5:00
lopatir31-May-18 5:00 
GeneralRe: Thought of the Day Pin
OriginalGriff31-May-18 5:07
mveOriginalGriff31-May-18 5:07 
GeneralRe: Thought of the Day Pin
Johnny J.31-May-18 5:23
professionalJohnny J.31-May-18 5:23 
GeneralRe: Thought of the Day Pin
Richard Deeming31-May-18 5:31
mveRichard Deeming31-May-18 5:31 
GeneralRe: Thought of the Day Pin
jeron131-May-18 6:05
jeron131-May-18 6:05 
GeneralRe: Thought of the Day Pin
Eric Lynch31-May-18 7:26
Eric Lynch31-May-18 7:26 

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.