Click here to Skip to main content
15,888,293 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!

 
NewsBusinesses struggle to hire workers with cloud skills Pin
Kent Sharkey10-Jul-16 7:53
staffKent Sharkey10-Jul-16 7:53 
NewsEasy to miss code smells Pin
Kent Sharkey10-Jul-16 7:48
staffKent Sharkey10-Jul-16 7:48 
GeneralRe: Easy to miss code smells PinPopular
Marc Clifton10-Jul-16 8:22
mvaMarc Clifton10-Jul-16 8:22 
GeneralRe: Easy to miss code smells Pin
Kent Sharkey10-Jul-16 8:24
staffKent Sharkey10-Jul-16 8:24 
GeneralRe: Easy to miss code smells Pin
PIEBALDconsult10-Jul-16 8:58
mvePIEBALDconsult10-Jul-16 8:58 
GeneralRe: Easy to miss code smells Pin
Chris Maunder11-Jul-16 4:21
cofounderChris Maunder11-Jul-16 4:21 
GeneralRe: Easy to miss code smells Pin
TheGreatAndPowerfulOz11-Jul-16 5:57
TheGreatAndPowerfulOz11-Jul-16 5:57 
GeneralRe: Easy to miss code smells Pin
Joe Woodbury12-Jul-16 12:21
professionalJoe Woodbury12-Jul-16 12:21 
I agree that the example given is nonsense. The writer appears to actually be arguing that you should write the string and then make a separate call to ask whether that write succeeded, which is the smell of rotting bodies in humid tropics.

(One problem is Meyer was wrong. Requiring that queries have no side effects (be const in C++ parlance) is ideal, though not always possible. Extending that to commands often makes no sense, especially when writing to a file. I suppose the good news is that the last method I wrote which did exactly his example threw an exception on error, thus the method's return value was, indeed, void.)
GeneralRe: Easy to miss code smells Pin
Joe Woodbury12-Jul-16 12:07
professionalJoe Woodbury12-Jul-16 12:07 
NewsMagical device produces a constant supply of wine Pin
Kent Sharkey10-Jul-16 7:46
staffKent Sharkey10-Jul-16 7:46 
GeneralRe: Magical device produces a constant supply of wine Pin
Patrice T10-Jul-16 13:09
mvePatrice T10-Jul-16 13:09 
GeneralRe: Magical device produces a constant supply of wine Pin
Dan Neely12-Jul-16 2:57
Dan Neely12-Jul-16 2:57 
NewsPrivacy Shield data pact gets European approval Pin
Kent Sharkey10-Jul-16 7:45
staffKent Sharkey10-Jul-16 7:45 
NewsThe Apollo 11 guidance computer code is now available on Github Pin
Kent Sharkey10-Jul-16 7:34
staffKent Sharkey10-Jul-16 7:34 
NewsWendy's says more than 1,000 restaurants affected by hack Pin
Kent Sharkey10-Jul-16 7:32
staffKent Sharkey10-Jul-16 7:32 
GeneralRe: Wendy's says more than 1,000 restaurants affected by hack Pin
Joe Woodbury12-Jul-16 12:22
professionalJoe Woodbury12-Jul-16 12:22 
NewsGraphene could revolutionize the Internet of Things Pin
Kent Sharkey10-Jul-16 7:31
staffKent Sharkey10-Jul-16 7:31 
NewsMan constructs room-sized microprocessor for playing Tetris Pin
Kent Sharkey7-Jul-16 11:54
staffKent Sharkey7-Jul-16 11:54 
GeneralRe: Man constructs room-sized microprocessor for playing Tetris Pin
TheGreatAndPowerfulOz7-Jul-16 11:58
TheGreatAndPowerfulOz7-Jul-16 11:58 
GeneralRe: Man constructs room-sized microprocessor for playing Tetris Pin
Shuqian Ying7-Jul-16 15:55
Shuqian Ying7-Jul-16 15:55 
GeneralRe: Man constructs room-sized microprocessor for playing Tetris Pin
Patrice T7-Jul-16 12:35
mvePatrice T7-Jul-16 12:35 
GeneralRe: Man constructs room-sized microprocessor for playing Tetris Pin
Marc Clifton7-Jul-16 14:27
mvaMarc Clifton7-Jul-16 14:27 
GeneralRe: Man constructs room-sized microprocessor for playing Tetris Pin
PIEBALDconsult9-Jul-16 10:34
mvePIEBALDconsult9-Jul-16 10:34 
GeneralRe: Man constructs room-sized microprocessor for playing Tetris Pin
Marc Clifton10-Jul-16 8:21
mvaMarc Clifton10-Jul-16 8:21 
GeneralRe: Man constructs room-sized microprocessor for playing Tetris Pin
Mike (Prof. Chuck)10-Jul-16 19:15
professionalMike (Prof. Chuck)10-Jul-16 19: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.