HNHacker News
TopNewBestAskShowJobs

ed-209

469 karma · joined November 24, 2018

submissionscomments
ed-209··on 750M genetically modified mosquitoes to be released in Florida
The stupidity of smart people never ceases to amaze.
ed-209··on Who still needs the office? U.S. companies start cutting space
2021: Who still needs US developers? They're all remote anyway, why pay more for people in the US?
ed-209··on The CDC lost control of the coronavirus pandemic, then the agency disappeared
"Believing people without symptoms didn't spread the virus, the agency limited testing, discouraged masking..."

This is false by Fauci's own account (see below interview) in which he states mask wearing was discouraged in order to secure availability for health workers. This is no small distinction as it raises questions about the importance of public trust/credibility during a health crisis.

https://m.youtube.com/watch?v=0XHC5Kxxv_w

ed-209··on Are we happier when we spend more time with others?
Better question: how out of touch must one be with themselves for this to even be a question?
ed-209··on Most Unit Testing Is Waste (2014) [pdf]
"The cross product of those paths with the possible state configurations of all global data (including instance data which, from a method scope, are global) and formal parameters is indeed very large. And the cross product of that number with the possible sequencing of methods within a class is countably infinite."

Sounds more like a condemnation of OOP than of unit testing, and I do genuinely feel sorry for the unit testing, OOP purists out there. I prefer to design more functional methods, which operate on parameters and injected config instead of instance state and/or globals (cringe). Incidently, this approach makes full coverage attainable.

"Large functions for which 80% coverage was impossible were broken down into many small functions for which 80% coverage was trivial. ... Of course, this also meant that functions no longer encapsulated algorithms. It was no longer possible to reason about the execution context of a line of code in terms of the lines that precede and follow it in execution"

I can reason about such an implentation MUCH more effectively by glancing at the small bit of higher level code which integrates everything (and as mentioned above by foresaking instance state and polymorphism). This strikes me as a bit like advocating a flat directory structure cause it's important to be able to see all your files at once.

← PreviousPage 4 of 4