1,241 karma · joined Jun 19, 2021 (5y ago) · 396 submissions
331.
The argument against clearing the database between tests (2020)(calpaterson.com ↗)
86 points · by stackbutterflow · 4y ago · 86 comments
comment 4y ago · link · parent
That way users would have an incentive to sue companies (i.e get rich quick). That way personal data would really have to be considered a liability if companies don't want to start giving millions to their users left and right.
comment 5y ago · link · parent
>I also never feared police or the state for that matter in Singapore, if I didn't do anything illegal.
Japan, Korea and Taiwan achieve the same level of safety while not being dictatorships. No need to compare it to the US.
comment 5y ago · link · parent
Setting up a new project is a 5 minutes task. Npm init, then install express, typescript and some useful middleware. Install eslint then eslint --init and choose airbnb style guide, and I'm off to go.
And if I take over an existing codebase it just takes npm install then npm run dev <script name> and I can start adding bugs.
With react and vuejs it's even easier with nextjs/nuxtjs.
I never fight dependencies.
Yet I sometimes read stories like yours while typescript/nodejs has only been the smoothest experience I've ever had.
comment 5y ago · link · parent
I gotta say that I always make sure that I understand each piece of code that I copy paste but I do copy paste and never thought of this type of attack. Maybe that's something I should pay attention to in the future.
comment 5y ago · link · parent
This is in contrast to other jobs, for example marketing specialist. As a marketing specialist you spend weeks or months on a well crafted marketing campaign, then you launch and the results are not bad but yet not great either. There could be millions of reasons for your campaign to have failed. You could job-hop thinking you did a great job and blame the lukewarm success on external factors.
There are people who spends their whole career failing at what they do who would never know otherwise because their job lacks this sort of cold instant feedback.
comment 5y ago · link · parent
I wonder. Do they care? Do they have personal problems that makes the rest seem insignificant? Or do they believe they're truly making the world better?
comment 5y ago · link · parent
comment 5y ago · link · parent
Maybe in 2035 we'll look back at the 10s with the same nostalgia and sharing stories about how it was different and special "back then". It reminds me of an essay often posted on HN which I can't find now but that went something like "we always think this is the end of the story, there won't be new revolutionary startups/techs, and yet there's always new players who emerge that no one saw coming".
Anyway I like stories like yours about times long gone.