513 reputation
212
bio website
location
age
visits member for 3 years, 6 months
seen Oct 18 at 10:40

Hello world,

My name is not Monster Truck II and I was not born in 1920. But here is something about me that I feel comfortable sharing. I studied physics and computer science at college and enjoy reading (history, politics, and economics) and listening to music.

Here is my bookshelf:

https://www.goodreads.com/review/list/20250758-monster?order=a&shelf=non-fiction&sort=position


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.
Nov
24
comment Is Resharper still a significant improvement for Visual Studio 2012
Version 5 was a significant improvement over version 4.x. The memory usage came down significantly.
Nov
19
comment need explanation on amortization in algorithm
Also it matters what the clear function does. If one dumbly codes clear() to set all references to null then one will have to iterate once even when the array is all null. Once again, need to see code to give more concrete explanation.