4,569 reputation
939
bio website
location
age
visits member for 2 years, 4 months
seen 6 hours ago

Feb
14
reviewed Approve suggested edit on Extension method naming convention
Feb
13
reviewed Reject suggested edit on What to do when your company doesn't encrypt passwords
Feb
13
reviewed Approve suggested edit on Good practice using signals and event driven system
Feb
12
awarded  Nice Answer
Feb
12
comment Why is BigDecimal the best data type for currency?
I actually ran into the problem that I had 1234.10 in my (game)account and wanted to transfer all funds to another account and it refused because I "didn't have enough funds" in my account to complete the transaction. Minor nuisance ofcourse because you do 1234.09, but it surely looks unprofessional.
Feb
12
comment Why is BigDecimal the best data type for currency?
@user40989 I think it expands on DougMs answer by giving an example where floats are inadequate even when it's not a millionth of a cent.
Feb
12
answered Why is BigDecimal the best data type for currency?
Feb
12
answered Is debugging a waste of time?
Feb
12
comment Is it better to use a switch statement or database to look through 5,000 to 10,000 instances?
@user3201185 no, a serarch based on string will be slower then one on id. But still it will be more then fast enough with only 10.000 records. So fast you would probably not even notice the difference.
Feb
12
comment Is it better to use a switch statement or database to look through 5,000 to 10,000 instances?
Am I understanding you correctly that you want to dynamically build a php script with a very big switch-tree? Aren't you then basically making your own (very imperfect) database engine? I'd say use a database, your problems have been solved by others, no need to re-solve them.
Feb
12
comment Updating copyright headers each new year just because Jan 1st has passed?
@DougM in the case of the OP the "trivial change" would be the updating of the copyright header, before any source has changed. Change the copyright date when you actually change a file, not when a new year hits.
Feb
9
comment Developing only for 64 bit servers a bad idea?
Wow, I can imagine a few reasons to only develop for 64 bit servers. The need to have unique error numbers is not one of them.
Feb
7
comment What is Component Oriented Programming, and how is it different from OOP?
@Racheet I think the OP should read the wiki and then post a question about what's unclear to him. An answer here would basically be a verbatim copy of the wikipedia page.
Feb
7
comment What is Component Oriented Programming, and how is it different from OOP?
The wiki gives a quite nice description: en.wikipedia.org/wiki/Component-based_software_engineering
Feb
6
reviewed Reject suggested edit on Does it make sense to write tests for legacy code when there is no time for a complete refactoring?
Feb
6
reviewed Approve suggested edit on Unit of Work pattern
Feb
6
comment How to convince my company (operating in the financial sector) to switch from PHP to Java
"Most of the competitors are using Java (anyway not PHP) Most financial companies use Java rather than PHP" You could sell this as: we can't hire talented programmers with a background in finance-programming because they all write Java, not php.
Feb
5
comment Super Fast File Storage Engine
1.000.000.000.000 records is a lot. What kind of outlandish application is this?
Feb
4
reviewed Approve suggested edit on How to handle affinities?
Feb
3
revised Tracking correct order details in commerce database when modifying 'products'
added 26 characters in body