Click here to Skip to main content
15,888,461 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: Those who say code does not matter Pin
Kevin McFarlane17-Apr-14 0:01
Kevin McFarlane17-Apr-14 0:01 
GeneralRe: Those who say code does not matter Pin
Dan Neely17-Apr-14 2:35
Dan Neely17-Apr-14 2:35 
GeneralRe: Those who say code does not matter Pin
Rob Grainger17-Apr-14 5:38
Rob Grainger17-Apr-14 5:38 
GeneralRe: Those who say code does not matter Pin
Dan Neely17-Apr-14 7:21
Dan Neely17-Apr-14 7:21 
GeneralRe: Those who say code does not matter Pin
Marc Clifton16-Apr-14 11:13
mvaMarc Clifton16-Apr-14 11:13 
GeneralRe: Those who say code does not matter Pin
Dan Neely17-Apr-14 2:41
Dan Neely17-Apr-14 2:41 
GeneralRe: Those who say code does not matter Pin
Marc Clifton17-Apr-14 3:11
mvaMarc Clifton17-Apr-14 3:11 
GeneralRe: Those who say code does not matter Pin
Dan Neely17-Apr-14 3:36
Dan Neely17-Apr-14 3:36 
It's like turning your warning level up to 11. It does call out some risky stuff that should be fixed; but the noise level tends to be really high. (I've been told MS's fxCop has the same issues out of the box.) The biggest change I'd like to make would be to expand the groups it categorizes in from 2 to 3. Currently it splits things into warnings and suggestions. The latter is things like "you can turn this loop into a LINQ statement" or "you can replace this if/else with an ?? operator". The problem is that the warnings group includes both things that are dangerous like "exact equality check with floating point variables" and various coding style/standard items like "change property name from 'fooBar' to 'FooBar'". The two types of items are really different things, and need to be easier to tell apart.

I've only turned off a handful of rules related to things like var usage; because R#er's options are only really useful if you want to go all or nothing, which I don't. var index = 0; is stupidly obfuscatory. IDictionary<int,string> lookupTable = new Dictionary<int, string>(); can get tediously verbose and declaring them as var doesn't actually lose any information. Temporary structures created by linq queries can get outright horrifying if you need to explicitly type them; especially since the inability to step through a set of chained methods one at a time means that I often will split a complex structure into multiple lines with temp results just to be able to debug it even though I don't care what the intermediate results look like and can involve two or three levels of IWhatever<> before being condensed back to something sane looking at the end. If R#er ever gets smart enough to tell those 3 cases apart I'd probably set them as don't use var, don't comment either way, and use var; but currently shutup always is the only reasonable way to get rid of the noise.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius

Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt

GeneralRe: Those who say code does not matter Pin
Marc Clifton17-Apr-14 3:48
mvaMarc Clifton17-Apr-14 3:48 
GeneralRe: Those who say code does not matter Pin
Dan Neely17-Apr-14 4:08
Dan Neely17-Apr-14 4:08 
NewsNashorn: JavaScript made great in Java 8 Pin
Kent Sharkey16-Apr-14 8:11
staffKent Sharkey16-Apr-14 8:11 
NewsMatias Duarte, Android’s Chief Designer: make apps for screens, not for mobile Pin
Kent Sharkey16-Apr-14 8:10
staffKent Sharkey16-Apr-14 8:10 
NewsContinuous development: the new maintenance reality Pin
Kent Sharkey15-Apr-14 12:59
staffKent Sharkey15-Apr-14 12:59 
GeneralRe: Continuous development: the new maintenance reality Pin
FIorian Schneidereit15-Apr-14 16:14
FIorian Schneidereit15-Apr-14 16:14 
NewsApple, Google, Microsoft, Samsung and carriers back anti-theft measures for smartphones Pin
Kent Sharkey15-Apr-14 11:59
staffKent Sharkey15-Apr-14 11:59 
GeneralRe: Apple, Google, Microsoft, Samsung and carriers back anti-theft measures for smartphones Pin
TheGreatAndPowerfulOz15-Apr-14 14:03
TheGreatAndPowerfulOz15-Apr-14 14:03 
GeneralRe: Apple, Google, Microsoft, Samsung and carriers back anti-theft measures for smartphones Pin
Kent Sharkey15-Apr-14 17:47
staffKent Sharkey15-Apr-14 17:47 
GeneralRe: Apple, Google, Microsoft, Samsung and carriers back anti-theft measures for smartphones Pin
Bernhard Hiller15-Apr-14 22:39
Bernhard Hiller15-Apr-14 22:39 
NewsUsing seawater to create jet fuel Pin
Kent Sharkey15-Apr-14 11:21
staffKent Sharkey15-Apr-14 11:21 
GeneralRe: Using seawater to create jet fuel Pin
Duncan Edwards Jones15-Apr-14 11:33
professionalDuncan Edwards Jones15-Apr-14 11:33 
GeneralRe: Using seawater to create jet fuel Pin
Kent Sharkey15-Apr-14 11:53
staffKent Sharkey15-Apr-14 11:53 
GeneralRe: Using seawater to create jet fuel Pin
Brisingr Aerowing15-Apr-14 14:07
professionalBrisingr Aerowing15-Apr-14 14:07 
GeneralRe: Using seawater to create jet fuel Pin
Duncan Edwards Jones15-Apr-14 20:44
professionalDuncan Edwards Jones15-Apr-14 20:44 
GeneralRe: Using seawater to create jet fuel Pin
Kent Sharkey16-Apr-14 8:48
staffKent Sharkey16-Apr-14 8:48 
GeneralRe: Using seawater to create jet fuel Pin
SoMad15-Apr-14 21:55
professionalSoMad15-Apr-14 21:55 

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.