Click here to Skip to main content
14,661,772 members

The Insider News

   

The Insider News is for breaking IT and Software development news. Post your news, your alerts and your inside scoops. This is an IT news-only forum - all off-topic, non-news posts will be removed. If you wish to ask a programming question please post it here.

Get The Daily Insider direct to your mailbox every day. Subscribe now!

 
GeneralRe: Writing more succinct C# Pin
Eddy Vluggen11-May-20 7:23
professionalEddy Vluggen11-May-20 7:23 
GeneralRe: Writing more succinct C# Pin
David O'Neil11-May-20 5:10
professionalDavid O'Neil11-May-20 5:10 
GeneralRe: Writing more succinct C# Pin
Nelek11-May-20 7:13
protectorNelek11-May-20 7:13 
GeneralRe: Writing more succinct C# Pin
Member 798912211-May-20 7:33
MemberMember 798912211-May-20 7:33 
GeneralRe: Writing more succinct C# Pin
#realJSOP11-May-20 1:11
mva#realJSOP11-May-20 1:11 
GeneralRe: Writing more succinct C# Pin
Member 798912211-May-20 1:32
MemberMember 798912211-May-20 1:32 
GeneralRe: Writing more succinct C# Pin
#realJSOP11-May-20 2:05
mva#realJSOP11-May-20 2:05 
GeneralRe: Writing more succinct C# Pin
Member 798912211-May-20 6:19
MemberMember 798912211-May-20 6:19 
#realJSOP wrote:
The compiler optimizes out anything it can't use, and even optimizes "bloated code" to a point.
I am certainly not worried about how readable the code is to the compiler. I am worried about the humans. Arguing that "the compiler can handle bloated code, so let me write bloated code" doesn't fit well with my ideas about good coding practice.

I actually agree a lot with the author of the referenced article. I have one major point of disagreement: A code indent is triggered by a brace, or similar construct in other languages (e.g. begin-end keywords). A brace (etc.) triggers an indent. The author suggests newline/indent for single statement condition/loop bodies without using braces, that causes me to stall, just as much as I would have if people were using braces without indenting (but that never happens).

Aside from that, I essentially agree with him.
GeneralRe: Writing more succinct C# Pin
Kevin McFarlane11-May-20 6:45
MemberKevin McFarlane11-May-20 6:45 
NewsScientists obtain 'lucky' image of Jupiter Pin
Kent Sharkey10-May-20 10:00
staffKent Sharkey10-May-20 10:00 
GeneralRe: Scientists obtain 'lucky' image of Jupiter Pin
Nelek11-May-20 7:16
protectorNelek11-May-20 7:16 
NewsMicrosoft may have tipped the Windows 10 May 2020 Update release date Pin
Kent Sharkey10-May-20 9:45
staffKent Sharkey10-May-20 9:45 
NewsMicrosoft publishes the agenda for its Build 2020 virtual event Pin
Kent Sharkey10-May-20 9:30
staffKent Sharkey10-May-20 9:30 
NewsWork-from-home mandates may be DevOps' shining moment Pin
Kent Sharkey10-May-20 9:15
staffKent Sharkey10-May-20 9:15 
GeneralRe: Work-from-home mandates may be DevOps' shining moment Pin
#realJSOP11-May-20 1:13
mva#realJSOP11-May-20 1:13 
NewsMicrosoft adds protection against Reply-All email storms in Office 365 Pin
Kent Sharkey10-May-20 9:15
staffKent Sharkey10-May-20 9:15 
GeneralRe: Microsoft adds protection against Reply-All email storms in Office 365 Pin
Nelek11-May-20 7:19
protectorNelek11-May-20 7:19 
GeneralRe: Microsoft adds protection against Reply-All email storms in Office 365 Pin
ZurdoDev11-May-20 10:08
mveZurdoDev11-May-20 10:08 
GeneralRe: Microsoft adds protection against Reply-All email storms in Office 365 Pin
Dan Neely12-May-20 2:21
MemberDan Neely12-May-20 2:21 
GeneralRe: Microsoft adds protection against Reply-All email storms in Office 365 Pin
MadMyche12-May-20 5:45
mveMadMyche12-May-20 5:45 
NewsScience confirms it, web sites really do all look the same nowadays Pin
Jörgen Andersson9-May-20 6:46
professionalJörgen Andersson9-May-20 6:46 
GeneralRe: Science confirms it, web sites really do all look the same nowadays Pin
RickZeeland9-May-20 8:43
mveRickZeeland9-May-20 8:43 
GeneralRe: Science confirms it, web sites really do all look the same nowadays Pin
Member 798912210-May-20 23:08
MemberMember 798912210-May-20 23:08 
JokeRe: Science confirms it, web sites really do all look the same nowadays Pin
Daniel Pfeffer11-May-20 2:13
professionalDaniel Pfeffer11-May-20 2:13 
GeneralRe: Science confirms it, web sites really do all look the same nowadays Pin
#realJSOP11-May-20 1:27
mva#realJSOP11-May-20 1:27 

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.