Click here to Skip to main content
15,891,375 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: Google just made its troll-detecting software available to developers Pin
Joe Woodbury23-Feb-17 11:15
professionalJoe Woodbury23-Feb-17 11:15 
GeneralRe: Google just made its troll-detecting software available to developers Pin
Mark_Wallace23-Feb-17 21:00
Mark_Wallace23-Feb-17 21:00 
NewsSHA1 is officially broken now Pin
Dan Neely23-Feb-17 2:46
Dan Neely23-Feb-17 2:46 
GeneralRe: SHA1 is officially broken now Pin
Afzaal Ahmad Zeeshan23-Feb-17 4:14
professionalAfzaal Ahmad Zeeshan23-Feb-17 4:14 
GeneralRe: SHA1 is officially broken now Pin
Mark_Wallace23-Feb-17 4:57
Mark_Wallace23-Feb-17 4:57 
NewsHow to get coding standards right (and wrong) Pin
Kent Sharkey22-Feb-17 11:44
staffKent Sharkey22-Feb-17 11:44 
GeneralRe: How to get coding standards right (and wrong) Pin
Marc Clifton22-Feb-17 14:00
mvaMarc Clifton22-Feb-17 14:00 
GeneralRe: How to get coding standards right (and wrong) Pin
PeejayAdams22-Feb-17 23:22
PeejayAdams22-Feb-17 23:22 
Bad coding standards (by which I mean overly prescriptive ones) can really put people off the idea but it doesn't mean that we shouldn't have them. I tend to think that the language dictates how much detail is required.

For C#, I quite like Erik's one-liner:

Quote:
“follow the Microsoft guidelines whenever possible and only include one class per file”


Obviously that's a tad minimal but not too far from the mark.

For SQL, where universal standards are a bit more fluffy, I like a bit more detail. There's nothing worse than a database where there's no consistency in naming styles and you wind up with table names like tblClient (ugh!) ClientThis, Client_That, client_The_Other etc. with joins on Id, ClientId, client_ID and all manner of names.

Similarly, it's hard work trawling through sprocs where people can't be bothered to upper case keywords and don't seem to be aware that white-space is an available option.

Whilst nobody wants to work to a standard that comes on like an old COBOL compiler that bleats about things starting at column 8, at the very least there needs to be a basic naming convention and an insistence on some kind of minimal formatting standard.
Slogans aren't solutions.

GeneralRe: How to get coding standards right (and wrong) Pin
Maximilien23-Feb-17 5:06
Maximilien23-Feb-17 5:06 
NewsAI learns to write its own code by stealing from other programs Pin
Kent Sharkey22-Feb-17 11:38
staffKent Sharkey22-Feb-17 11:38 
GeneralRe: AI learns to write its own code by stealing from other programs Pin
bryce22-Feb-17 13:03
bryce22-Feb-17 13:03 
GeneralRe: AI learns to write its own code by stealing from other programs Pin
Eddy Vluggen22-Feb-17 13:23
professionalEddy Vluggen22-Feb-17 13:23 
GeneralRe: AI learns to write its own code by stealing from other programs Pin
Ron Anders22-Feb-17 13:32
Ron Anders22-Feb-17 13:32 
GeneralRe: AI learns to write its own code by stealing from other programs Pin
H.Brydon22-Feb-17 17:55
professionalH.Brydon22-Feb-17 17:55 
GeneralRe: AI learns to write its own code by stealing from other programs Pin
Dan Neely23-Feb-17 2:38
Dan Neely23-Feb-17 2:38 
GeneralRe: AI learns to write its own code by stealing from other programs Pin
Daniel Pfeffer23-Feb-17 3:23
professionalDaniel Pfeffer23-Feb-17 3:23 
GeneralRe: AI learns to write its own code by stealing from other programs Pin
Kornfeld Eliyahu Peter22-Feb-17 19:39
professionalKornfeld Eliyahu Peter22-Feb-17 19:39 
GeneralRe: AI learns to write its own code by stealing from other programs Pin
Mark_Wallace22-Feb-17 20:35
Mark_Wallace22-Feb-17 20:35 
GeneralRe: AI learns to write its own code by stealing from other programs Pin
Shuqian Ying22-Feb-17 21:20
Shuqian Ying22-Feb-17 21:20 
NewsIT security breaches: Why users shouldn't take all the blame anymore Pin
Kent Sharkey22-Feb-17 10:45
staffKent Sharkey22-Feb-17 10:45 
GeneralRe: IT security breaches: Why users shouldn't take all the blame anymore Pin
Nathan Minier23-Feb-17 1:06
professionalNathan Minier23-Feb-17 1:06 
GeneralRe: IT security breaches: Why users shouldn't take all the blame anymore Pin
den2k8823-Feb-17 2:31
professionalden2k8823-Feb-17 2:31 
NewsEFF: Half of web traffic is now encrypted Pin
Kent Sharkey22-Feb-17 10:43
staffKent Sharkey22-Feb-17 10:43 
GeneralRe: EFF: Half of web traffic is now encrypted Pin
H.Brydon22-Feb-17 17:55
professionalH.Brydon22-Feb-17 17:55 
GeneralRe: EFF: Half of web traffic is now encrypted Pin
Nelek23-Feb-17 2:49
protectorNelek23-Feb-17 2:49 

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.