HNHacker News
TopNewBestAskShowJobs

pmichalina

-15 karma · joined July 10, 2017

submissionscomments
pmichalina··on The Rise and Fall of a Multimillion-Dollar Airbnb Scheme
People using it would beg to differ. Just don’t use their service.
pmichalina··on Web Performance 101
Even just one poorly designed library can cause serious memory issues and trigger a ton of events. Usually it’s the marketing and ad people that throw around this “but they are async loaded”. That’s true, but doesn’t change the the fact that 40 trackers and their dependencies that come with it are slowing down and infringing on the users privacy. Let’s be real.
pmichalina··on Assertions in Production Code? (2008)
Tests are good of course, but that assumes the tests are valid. I’d rather trust compiler to ensure runtime safety.
pmichalina··on Assertions in Production Code? (2008)
Throwing is a side effect breaking flow of control for no good reason. It’s takes you down the same path as all other spaghetti code.

Not as much elegance as it is about purity. Minimizing side effects is the number one way to reduce bugs.

It should be the number one guiding principle when creating out reliable software. Which means, you simply cannot use the primitive try catch or similar construct. Don’t break flow of control. Guide it to a terminal value instead.

These days, when I see try-catch and if-else constructs (which is in most codebases) it’s clear there will be bugs over the life of the application.

It’s fine, use them, but there is a world of greatness when you ditch these faulty constructs. Just like ditching OOP constructs. All built on false premises.

pmichalina··on Assertions in Production Code? (2008)
Assertions, throws, and try-catch are code smells. Really bad design choice considering we have more elegant solutions like monads.
pmichalina··on Twitter’s deletion of its FB app caused old cross-posts to temporarily disappear
Isn’t this how the web was supposed to work?
pmichalina··on Changes in midlife death rates across racial and ethnic groups in the US
“Treating something like a disease” encourages one to not take ownership of the issue but instead provides a mechanism to play victim and give up. It’s victim mentality, denies the concept of freewill, and sets the stage for all sorts of slippery arguments.
pmichalina··on Nvidia announces RTX 2000 GPU series with ‘6x more performance’ and ray-tracing
I suppose it’s collapsing up since 2009?
pmichalina··on Changes in midlife death rates across racial and ethnic groups in the US
Why not both?
pmichalina··on France bans smartphone use in schools
Typical statist mindset.
pmichalina··on Javascript utility libraries to know in 2018
lodash and moment are poor choices to showcase. lodash is mostly moot with ES6 and beyond. date-fns is a cleaner version of moment.