Click here to Skip to main content
15,914,071 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: Is this an acceptable practice? Pin
Colborne_Greg13-Apr-14 7:24
Colborne_Greg13-Apr-14 7:24 
GeneralRe: Is this an acceptable practice? Pin
Dave Kreskowiak13-Apr-14 14:00
mveDave Kreskowiak13-Apr-14 14:00 
GeneralRe: Is this an acceptable practice? Pin
Colborne_Greg13-Apr-14 16:03
Colborne_Greg13-Apr-14 16:03 
GeneralRe: Is this an acceptable practice? Pin
Dave Kreskowiak13-Apr-14 18:28
mveDave Kreskowiak13-Apr-14 18:28 
GeneralRe: Is this an acceptable practice? Pin
Colborne_Greg14-Apr-14 6:10
Colborne_Greg14-Apr-14 6:10 
GeneralRe: Is this an acceptable practice? Pin
Dave Kreskowiak14-Apr-14 9:21
mveDave Kreskowiak14-Apr-14 9:21 
AnswerRe: Is this an acceptable practice? Pin
Colborne_Greg13-Apr-14 7:23
Colborne_Greg13-Apr-14 7:23 
GeneralRe: Is this an acceptable practice? Pin
patbob14-Apr-14 5:39
patbob14-Apr-14 5:39 
Colborne_Greg wrote:
Coding practices is the topic
Coding practices are a form of communication to the next developer to assist them in their understanding of the code. There are no absolutes -- a syntax acceptable to one group might not be acceptable to another group. In general though, use of an oddball syntax in one place in the code is a poor practice.

So, the only realistic answer to your question is "it depends". It depends on whether that's the common syntax used throughout the rest of the code, or an oddball one.

Colborne_Greg wrote:
Its valid code
I have three words by way of countering this line of thought: Obfuscated C Contest.
We can program with only 1's, but if all you've got are zeros, you've got nothing.

GeneralRe: Is this an acceptable practice? Pin
Colborne_Greg14-Apr-14 6:01
Colborne_Greg14-Apr-14 6:01 
GeneralRe: Is this an acceptable practice? Pin
Fabio Franco14-Apr-14 2:57
professionalFabio Franco14-Apr-14 2:57 
GeneralRe: Is this an acceptable practice? Pin
Colborne_Greg14-Apr-14 6:07
Colborne_Greg14-Apr-14 6:07 
GeneralRe: Is this an acceptable practice? Pin
Dan Neely14-Apr-14 3:35
Dan Neely14-Apr-14 3:35 
GeneralRe: Is this an acceptable practice? Pin
Colborne_Greg14-Apr-14 6:06
Colborne_Greg14-Apr-14 6:06 
GeneralRe: Is this an acceptable practice? Pin
Dan Neely14-Apr-14 7:15
Dan Neely14-Apr-14 7:15 
AnswerRe: Is this an acceptable practice? Pin
Gates VP14-Apr-14 5:37
Gates VP14-Apr-14 5:37 
GeneralRe: Is this an acceptable practice? Pin
Colborne_Greg14-Apr-14 6:04
Colborne_Greg14-Apr-14 6:04 
GeneralRe: Is this an acceptable practice? Pin
Gates VP14-Apr-14 7:51
Gates VP14-Apr-14 7:51 
GeneralRe: Is this an acceptable practice? Pin
Colborne_Greg14-Apr-14 7:55
Colborne_Greg14-Apr-14 7:55 
GeneralRe: Is this an acceptable practice? Pin
Gates VP14-Apr-14 9:01
Gates VP14-Apr-14 9:01 
GeneralRe: Is this an acceptable practice? Pin
Colborne_Greg14-Apr-14 9:33
Colborne_Greg14-Apr-14 9:33 
GeneralRe: Is this an acceptable practice? Pin
Colborne_Greg14-Apr-14 9:45
Colborne_Greg14-Apr-14 9:45 
GeneralRe: Is this an acceptable practice? Pin
Member 929572315-Apr-14 2:54
Member 929572315-Apr-14 2:54 
GeneralRe: Is this an acceptable practice? Pin
Colborne_Greg15-Apr-14 4:24
Colborne_Greg15-Apr-14 4:24 
GeneralRe: Is this an acceptable practice? Pin
Dave Kreskowiak14-Apr-14 9:15
mveDave Kreskowiak14-Apr-14 9:15 
GeneralRe: Is this an acceptable practice? Pin
Colborne_Greg14-Apr-14 9:31
Colborne_Greg14-Apr-14 9:31 

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.