Better HN
topnewbestaskshowjobs
Log inSign up

aeneasreid

1 karma · joined Nov 7, 2015 (11y ago) · 2 submissions

Submissions

comment 10y ago · link · parent

Test if you can, but I agree. Thinking unit testing will solve the problem can be incredibly naive especially if the code has lots of global state. Sometimes, just setting up all this state for a test is equivalent to rewriting the application. If the rest of the application is written like this, chances are this function makes a ton of 2k line calls of its own. Unit testing just might make sure you aren't doing something catastrophically dumb.

comment 11y ago · link · parent

You should read more economics instead of just assuming it is what assholes and BBAs do. Al Roth's work on making kidney exchanges function well for example. Economics is a big field. You probably just disagree with the intro classes which admittedly are dumbed way down to "supply and demand"