525 reputation
212
bio website khurasia.com/apoorv
location Hong Kong
age
visits member for 3 years, 8 months
seen Jan 24 at 11:14

Hi,

I studied applied physics and computer science at college. I am passionate about developing and designing good quality software.

In my free time I do physics, read history, ride my bicycle, or harass my wife with my guitar and violin.

Here is my bookshelf.

Cheers!


May
1
answered What do small business people do with regards to 'legal' when selling software
May
1
comment What do small business people do with regards to 'legal' when selling software
freenetlaw.com/free-website-disclaimer
Apr
1
comment Design patterns: Extract instance types into different buckets
@John I entertained that possibility. But then how will canConsume() identify if it can consume a given type? Will it maintain a map of supported classes or use instanceof? I.e., the same problem again.
Apr
1
comment Bothering to cater to non-JavaScript clients?
@JonathanHenson Oh yes! That is so annoying.
Apr
1
answered Bothering to cater to non-JavaScript clients?
Apr
1
comment Design patterns: Extract instance types into different buckets
@ReinHenrichs Thanks. I gave them some meaningful names but the essence of the problem is that I want to filter a collection of objects based on what run time type they have.
Apr
1
revised Design patterns: Extract instance types into different buckets
added 88 characters in body
Apr
1
asked Design patterns: Extract instance types into different buckets
Mar
20
comment Audit trails and recording actions
You are integrating it with a 3rd party app. Understood. But why does that rule out triggers?
Mar
15
comment When and why would we use immutable pointers?
it's the photon of the software world --how very true.
Feb
27
comment C# Classes instance members vs. enum
@TimothyP Correct --but that involves casting etc. which defeats the purpose of OOO. Note that I can achieve GetHue() without extension methods too --e.g., by writing helper classes. But then my helper class/extension method becomes hardwired to the enum.
Feb
24
answered C# Classes instance members vs. enum
Feb
19
awarded  Caucus
Feb
2
comment Which Continuous Integration framework do you use and why?
@mliebelt --CI expands to more than just compile checks. You can run unit/integration tests (even with other dependent projects).
Dec
9
comment Design backward and forward button operations of a browser
@Falcon I know stack based solution is universal but I don't find a problem with mouviciel's impl too. Can you shed some more light on "much better suited"?
Dec
8
comment Design backward and forward button operations of a browser
Interview? Assignment?
Dec
4
comment NoSQL as file meta database
Is a real file system out of the question? You can index it anywhere --just make sure the thing remains in sync with the index.
Nov
28
comment Does async/await makes simple thing unnecessary complicated?
From Microsoft's perspective, it is their product that would be eventually blamed --the developer will probably be too but they clearly have more at stake.
Nov
26
comment Ternary operator considered harmful?
I am surprised why such questions keep coming up. The answer is always "whatever works and is readable." --the last one being equally important.
Nov
24
comment My father is a doctor. He is insisting on writing a database to store non-critical patient information, with no programming background
By the way, I am reasonably certain that in most countries storing patient information (critical/non-critical) is subject to heavy regulation. Make sure he understands the legal risk.