Reputation
40,718
Next tag badge:
114/100 score
16/20 answers
Badges
13 131 156
Newest
 Good Answer
Impact
~1.1m people reached

May
11
comment Is there any point in preventing developers from having a local copy of the database in their machine?
Consider the cost of a developer hour. Then calculate the cost of slowing your developers down ;)
Apr
30
comment What is the “->” symbol called?
Well, the point was that it isn't easy to type λ on non-Greek keyboards... so that character can't be used ;)
Apr
30
comment What is the “->” symbol called?
Say the computer doesn't use the Greek Language code page, but the Hebrew one? 229 would be a Sigma (and no Lambda to be seen). Also - extended ascii (8 bit) is not ascii (7 bit).
Apr
30
comment What is the “->” symbol called?
How do you type λ in ascii?
Mar
4
comment Team member questioning moving from VBA to C#
How do you version the VBA code (or C# code, for that matter)? That is, ensure everyone (every workbook) has the latest version (with bug fixes, enhancements etc...)?
Feb
19
comment Why html entity names for characters like ¥ € ¢ © ®
Who said it is required?
Jan
13
comment How do you pronounce 'char' keyword?
Both are right. The difference is due to different accents.
Jan
5
comment What are 4th & 5th programming language generations? Are there more of them?
Oh, if only people could agree on what makes an nth Gen language that n... There is no criteria one can truly tie down (except from stating that higher gen languages are further removed from bare metal than lower level - by what degree is not agreed upon).
Dec
30
comment If MVC is “Separation of Concerns” then why was Razor Syntax introduced?
@Ian - where did I say all clients have JavaScript? I said the client is best positioned to know how to format culturally sensitive things like dates, times, currency and numbers. I didn't say it has to do so via JavaScript. And the doesn't imply different code. As for emails and reports - that entirely depends on requirements.
Dec
29
comment If MVC is “Separation of Concerns” then why was Razor Syntax introduced?
@FreeAsInBeer - this is the kind of logic that belongs on the client side - someone in France would want to see dates (and currency/numbers) formatted differently to someone in the US. The client would "know" best how these should be displayed. This is presentation logic, and as such belongs in the view.
Dec
29
comment Why is C still in the category of High Level Language?
@manutd - that's a question to book authors ;) - but that's the thing. From their point of view, C is a high level language. That's what they deal with. The concept of "high level language" is fuzzy - there is no single definition agreed by all.
Dec
29
comment If MVC is “Separation of Concerns” then why was Razor Syntax introduced?
@NPSF3000 - a language isn't "server side" or "client side". That's an architectural separation - and possibly one of language implementations (is JavaScript a server side or client side language - remember node.js).
Dec
29
comment If MVC is “Separation of Concerns” then why was Razor Syntax introduced?
@John - so, your date is stored in the DB, you pass it through the model/controller to your view. You need in there in the HTML, so you would output it somehow to JS to format, instead of directly formatting with C#? Why? Why is that better? Or rather, how is that approach more of a separation of concerns?
Dec
29
comment If MVC is “Separation of Concerns” then why was Razor Syntax introduced?
@John - so? If you need to format dates for display (and display means client side, always), where would you format them? The model? The controller? Neither. You would do so in the view.
Dec
15
comment More than 20 Records Inserted in a Span of 1 Sec
Batching changes, in particular if they are small changes could look like a good strategy.
Dec
10
comment Is there ever a reason to use an array when lists are available?
is also just as efficient in memory and performance as an array - um. Where did you get that notion from?
Nov
26
comment Advice needed on rethrowing an exception
No one is saying it is better to lose the stack trace - just that it is better to also preserve the original exception.
Nov
26
comment Advice needed on rethrowing an exception
@Crono - what do you mean how does it hide it? When you catch an exception and look at its message and details, the actual exception is not in the type of your wrapped exception, it isn't in the message. It is inside a property. It is not out there as it would be if you let it bubble up.
Nov
26
comment Advice needed on rethrowing an exception
@Crono - it is hiding information (the original exception is now in the InnerException of the thrown one. If your new exception narrows down the issue (ArgumentException => DivideByZeroException, for example) or adds a good description, it doesn't really add much.
Nov
20
comment I want to understand clearly why can't we instantiate an object of an abstract class
Say you could instantiate such an object. What would happen when you made a call to an unimplemented member?