294 reputation
15
bio website
location Toronto, Canada
age
visits member for 2 years, 10 months
seen Nov 5 at 14:53

Mar
3
comment Keeping database connection
Keep in mind that having a single connection will prevent you from running queries in multiple threads. Also - opening a new connection when you need to make a db call is a safer/easier pattern, imo; measure a performance hit of opening/closing connections and make a decision whether it actually impacts perceived performance.
Jan
27
awarded  Commentator
Jan
22
answered storing and retrieving millions of documents using c#
Jan
16
answered How do you split work on web apps?
Dec
10
comment So Singletons are bad, then what?
Sometimes Di is an overkill for a given task. The method in a sample code could be a constructor, but not necessarily - without looking at concrete example its a moot argument. Also, DoSomething could take ISomething, and MySingleton could be implementing that interface - ok, that's not in a sample.. but its just a sample.
Dec
10
answered So Singletons are bad, then what?
Dec
9
answered Good guidelines and practices for mandatory code review
Dec
5
comment I failed FizzBuzz, would you hire me?
Made me wonder - why "Getting the core idea ... are far more important to me than getting it absolutely perfect."? Getting it perfect would indicate that interviewee got the idea and coded it properly, no?
Dec
3
awarded  Yearling
Dec
3
answered How to represent (enum) types in a public API
Dec
3
answered Is it best practice to create a back door for testing a web service?
Oct
11
comment What techniques are there for debugging remote client side errors?
Ask users about which OS/browser version they use, then try to reproduce the issue on browserstack.com or the likes, and go from there.
Oct
9
comment Clean readable code vs fast hard to read code. When to cross the line?
@PaulR How do you keep that code ? In form of comments ? That is wrong, imo - comments get outdated, nobody reads them, and personally if I see commented out code I usually remove it - this is what source control is for. A comment on a method explaining what it does is better, imo.
Sep
7
comment Setting Deadlines in software development
If a developer is expecting an exact answer for "when this is going to be done" - he's not a developer. Time estimate is an estimate. Also, if he's in developer role - why is he trying to manage?
Jun
17
answered Building a web application that is almost completely rendered by Javascript, while back end only delivers Json. Do or don't?
May
7
comment How does a programmer used to static languages cope with lack of Javascript tooling
@Eric This can be a long discussion :). A lot of things in JS are there to make JS easy to learn, and now a lot of those are being fixed with "use strict". What I don't like about JS or any duck typed languages - is that I have no idea what type I'm suppose to pass in to the function until I go check documentation, and this is a huge time killer. I also disagree with "pretending JavaScript is something it's not" - anything you can do with TS you can do with JS, just in more concise form. Just treat it as a syntactic sugar, like "using", "lock", "foreach" in C#. For me its faster to code in TS.
May
5
comment How does a programmer used to static languages cope with lack of Javascript tooling
Take a look at TypeScript. Once I've start using it I find client-side coding a lot more productive and enjoyable. Hard to beat proper intellisense and early compiler warnings.
Apr
24
answered Logging failed login attempts exposes passwords
Aug
17
awarded  Critic
May
25
answered Fear of releasing a hobby project - how to overcome?