Reputation
40,333
Next tag badge:
114/100 score
16/20 answers
Badges
12 130 156
Newest
 Informed
Impact
~1.1m people reached

Dec
29
answered Why is C still in the category of High Level Language?
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
revised If MVC is “Separation of Concerns” then why was Razor Syntax introduced?
How new you are to the site is not relevant to the question. I also added some spacing to make this less of a wall of text.
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
29
answered If MVC is “Separation of Concerns” then why was Razor Syntax introduced?
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
11
awarded  Nice Answer
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
30
revised Database design for polymorphic data
edited body
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
26
answered Advice needed on rethrowing an exception
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?
Nov
13
revised Why were punch cards used for programming
added 288 characters in body
Nov
13
answered Why were punch cards used for programming
Nov
13
answered What's the idea behind mocking data access in unit tests
Nov
8
comment Alternatives to browser based animations
@Jules - I was agreeing with you ;)
Nov
8
comment Alternatives to browser based animations
@Jules - this isn't about a whole application. It is specifically about an approach to animation on the web, but yes, if they don't talk development at all then I am completely in the wrong.