Reputation
7,283
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
1 15 35
Newest
 Civic Duty
Impact
~188k people reached

2d
comment Why is C++ still preferred to build heavy GUI apps over the latest dynamic languages?
@MartinBa: I'd note that current compiler for C# and VB (Roslyn) is written in C#.
2d
comment Is there a need to keep tests for simple (self-contained) functions?
@Kapol: not an argument, a meeting to determine which can go and which can stay, and what criteria should be used to decide, as well as where to document the criteria, and who signs off on the final decision...
Jul
31
reviewed Reject Why does C# have both out and ref?
Jul
31
revised Why does C# have both out and ref?
added 342 characters in body; added 25 characters in body
Jul
31
answered Why does C# have both out and ref?
Jul
31
comment Why does C# have both out and ref?
I feel this question is similar, but not quite a dup -- at least if it is taken from language design perspective
Jul
26
awarded  Civic Duty
Jul
26
answered How do you use exit status code?
Jul
18
awarded  Nice Answer
Jul
17
answered When to turn off Option Strict? Or how to deal with inheritance of COM using Option Strict?
Jul
13
comment Where should business logic go in a layered architecture?
@gabrielgiussi: just because the database can't do all checks, doesn't mean that you shouldn't put in the checks that you can. As for query plus insert or insert and catch exception - I would say it's query to control the UI, and then catch exception if that fails (multiple tabs/windows/apps).
Jul
13
answered Where should business logic go in a layered architecture?
Jul
10
answered Should my (sequential) collection start at index 0 or index 1?
Jul
4
answered Clean Code: can private methods rely on member variables set by other private methods?
Jul
4
comment What is business logic code and what is data access code, and what's the difference?
@Rogério: I didn't say write an ORM. But another way of putting it is that an ORM is a type or part of a DAL. nhibernate.info/blog/2008/08/31/…. It can either be the whole DAL or a part of the DAL depending on your needs.
Jul
4
comment What is business logic code and what is data access code, and what's the difference?
@Rogério: if you wrote a library that talked to your database to be used by your web app and your desktop app, what would you call it? Why would you call it something else just because someone else wrote it?
Jul
4
revised What is business logic code and what is data access code, and what's the difference?
added 18 characters in body; added 4 characters in body
Jul
4
revised What is business logic code and what is data access code, and what's the difference?
added 526 characters in body
Jul
4
comment What is business logic code and what is data access code, and what's the difference?
@Rogério: in my example it is the dbcontext for the linq to sql (aka db). Basically the DAL is outsourced to an ORM.
Jul
3
answered What is business logic code and what is data access code, and what's the difference?