Click here to Skip to main content
15,885,546 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: Publishers sue Internet Archive over Open Library ebook lending Pin
Kent Sharkey1-Jun-20 9:56
staffKent Sharkey1-Jun-20 9:56 
GeneralRe: Publishers sue Internet Archive over Open Library ebook lending Pin
Nelek1-Jun-20 10:32
protectorNelek1-Jun-20 10:32 
GeneralRe: Publishers sue Internet Archive over Open Library ebook lending Pin
Kent Sharkey1-Jun-20 10:58
staffKent Sharkey1-Jun-20 10:58 
GeneralRe: Publishers sue Internet Archive over Open Library ebook lending Pin
David O'Neil1-Jun-20 11:10
professionalDavid O'Neil1-Jun-20 11:10 
GeneralRe: Publishers sue Internet Archive over Open Library ebook lending Pin
Dan Neely2-Jun-20 2:19
Dan Neely2-Jun-20 2:19 
GeneralRe: Publishers sue Internet Archive over Open Library ebook lending Pin
markrlondon3-Jun-20 4:28
markrlondon3-Jun-20 4:28 
News80-characters-per-line limits should be terminal, says Linux kernel chief Linus Torvalds Pin
Kent Sharkey1-Jun-20 8:45
staffKent Sharkey1-Jun-20 8:45 
GeneralRe: 80-characters-per-line limits should be terminal, says Linux kernel chief Linus Torvalds Pin
kalberts1-Jun-20 9:22
kalberts1-Jun-20 9:22 
We had a revision of company coding rules a while ago, and some members of the working group insisted on 80 cols max.

The leader of the project I was on immediately granted an exception to that rule: We also had strict rules for generating #define constants, which caused several symbol names to exceed 80 chars.

I think these naming rules are crazy. But if you insist on lines that can be punched on an 80 column card, remember that cols 73-80 are reserved for sequence number (and is ignored by some card readers), cols 1-5 are reserved for the label, and col 6 is the continuation marker. That leaves 66 cols for program code.

I am fond of end-of-line comments, whether in variable/member declarations or code statements. I start them from col 70, to avoid cluttering up the (max 66 char) code lines. That is in my own code, in private projects and projects not bound by the company coding rules 80 char lines.

... but then: These same guys insisting on 80 char line length give rules for how to structure directories and create subdirectory levels for the tiniest little thing. One thing is that these are command-line-tool affectionados, and commnand.exe is, for legacy reasons, never going to return a path name exceeding 260 chars: Most likely, old CLI applications haven't made a bigger buffer, and would overflow. But in one case where the 260 char line was broken, I counted the same module name occuring in seven different directory levels, exactly the same name. Jeeez... I mean, even if you migrated your system to a modern, long-filename world, it makes no sense to repeat the module name seven times in the path! But so it is.

My reaction, when they complain about the 260 char limit: You asked for it, you got it. The length problem, that is.
JokeRe: 80-characters-per-line limits should be terminal, says Linux kernel chief Linus Torvalds Pin
Nelek1-Jun-20 9:33
protectorNelek1-Jun-20 9:33 
NewsMicrosoft adds a message to the Windows 10 update page if a device is blocked from receiving feature updates Pin
Kent Sharkey31-May-20 10:00
staffKent Sharkey31-May-20 10:00 
GeneralRe: Microsoft adds a message to the Windows 10 update page if a device is blocked from receiving feature updates Pin
David O'Neil31-May-20 18:16
professionalDavid O'Neil31-May-20 18:16 
GeneralRe: Microsoft adds a message to the Windows 10 update page if a device is blocked from receiving feature updates Pin
Dan Neely1-Jun-20 2:16
Dan Neely1-Jun-20 2:16 
GeneralRe: Microsoft adds a message to the Windows 10 update page if a device is blocked from receiving feature updates Pin
Kornfeld Eliyahu Peter1-Jun-20 2:45
professionalKornfeld Eliyahu Peter1-Jun-20 2:45 
GeneralRe: Microsoft adds a message to the Windows 10 update page if a device is blocked from receiving feature updates Pin
Kent Sharkey1-Jun-20 6:34
staffKent Sharkey1-Jun-20 6:34 
NewsSurvey sees increased agile adoption during COVID-19 Pin
Kent Sharkey31-May-20 10:00
staffKent Sharkey31-May-20 10:00 
NewsYou’re sold on load testing. But for what “unreasonable” load should you test? Pin
Kent Sharkey31-May-20 9:30
staffKent Sharkey31-May-20 9:30 
NewsWild new ‘lickable screen’ can synthesize any flavor with gels and electricity Pin
Kent Sharkey31-May-20 9:30
staffKent Sharkey31-May-20 9:30 
GeneralRe: Wild new ‘lickable screen’ can synthesize any flavor with gels and electricity Pin
David O'Neil31-May-20 18:18
professionalDavid O'Neil31-May-20 18:18 
GeneralRe: Wild new ‘lickable screen’ can synthesize any flavor with gels and electricity Pin
GenJerDan31-May-20 21:28
GenJerDan31-May-20 21:28 
GeneralRe: Wild new ‘lickable screen’ can synthesize any flavor with gels and electricity Pin
kalberts1-Jun-20 8:20
kalberts1-Jun-20 8:20 
GeneralRe: Wild new ‘lickable screen’ can synthesize any flavor with gels and electricity Pin
Greg Utas1-Jun-20 2:16
professionalGreg Utas1-Jun-20 2:16 
GeneralRe: Wild new ‘lickable screen’ can synthesize any flavor with gels and electricity Pin
kalberts1-Jun-20 8:12
kalberts1-Jun-20 8:12 
GeneralRe: Wild new ‘lickable screen’ can synthesize any flavor with gels and electricity Pin
Dan Neely1-Jun-20 2:18
Dan Neely1-Jun-20 2:18 
GeneralRe: Wild new ‘lickable screen’ can synthesize any flavor with gels and electricity Pin
Basildane1-Jun-20 8:15
Basildane1-Jun-20 8:15 
NewsThis'll make you feel old: Uni compsci favourite Pascal hits the big five-oh this year Pin
Kent Sharkey31-May-20 9:15
staffKent Sharkey31-May-20 9:15 

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.