17 karma · joined June 9, 2020
But from a truly practical point of view, TikTok will just end up replaced by a homegrown version. The real question is, who's homegrown version will be the winner?
I believe FB and Snap are both privately working on a replacement. Not sure about others.
People have such short memories, and media cycles are too quick. I'm the least fan of Trump, but this is truly one area that the US is taking a stronger stance on than even in my own home country (which I considered more moral, until now).
I also believe that we need to have a healthy concern for Chinese friendly agents/resources acting in concert, even on (or maybe especially on) technical sites like HN.
+1
Whatever else you can say about the US, their whistleblower system absolutely is a great example of market incentives working for their public.
Unit tests are an easy path to fall down, because they're clearly easier to setup, to write for, require less effort to maintain, execute more quickly.
But you don't realise their significant downside until after you attempt a major refactor - you begin to see that unit tests are testing at the layer that changes the most anyway.
All tests protect the programmer against future mistakes. All tests are a protection against regressions.
But yes agreed, integration tests absolutely carry much more value than any unit tests might. Specifically because units tests tend to target things that are essentially implementation details.
The only time I'd say unit tests carry any value is if they're testing some especially important piece of business logic e.g. some critical computation. Otherwise, integration tests rank the highest in the teams I lead.
Something more accurate would read "A team at Barclays Bank".
My memory/feel for a book seems to be partly tied to what I hold/the cover/the font. I love ebooks, but once I've finished one, I just don't have the same fondness/recollection of it afterwards anymore. This might be a very individual thing though.
Good try though.
If that isn't a personal attack on a particular group of developers, then I'm not sure what constitutes personal attacks.
Also, as a top-flight engineer working in a multi-billion company (and also having worked with Java and .net professionally for many years), the JS/TS ecosystem as a whole has never been better than it is today.
And TS remains my lang of choice today, for professional and personal projects :)