News for hackers. Stuff that matters.
Re:Don't DRY Your Code Prematurely by pydry on Thursday May 30, 2024 @12:20PM (#40525484)
I don't know about anyone else, but I've been deeply unimpressed with the output of the google testing blog.

This example is not wrong, but it's not particularly insightful either. Sandi Metz said it better here, 8 years ago https://sandimetz.com/blog/2016/1/20/the-wrong-abstraction

The testing pyramid nonsense is probably the worst one though. Instead of trying to find a sensible way to match the test type to the code, they pulled some "one size fits all" shit while advertising that they aren't that bothered about fixing their flaky tests.

Re:Don't DRY Your Code Prematurely by nrook on Thursday May 30, 2024 @12:45PM (#40525790)
I think you're holding some of these to too high of a bar. This is a one-page article intended to be posted in company bathrooms. Of course it's less comprehensive than a longer blog post.
Re:Don't DRY Your Code Prematurely by pydry on Thursday May 30, 2024 @12:49PM (#40525842)
It's not like the subtitle says "not to be taken seriously" and they are representing a brand that is supposed to stand for engineering excellence.
Re:Don't DRY Your Code Prematurely by bitcharmer on Thursday May 30, 2024 @01:49PM (#40526606)
Most seasoned software engineers stopped following google in that respect a long time ago. They are not a tech shop any more; it's just an add business now with lots of SRE work.
Re:Don't DRY Your Code Prematurely by sitkack on Thursday May 30, 2024 @12:38PM (#40525703)
Google doesn't test! That is what production and SREs and users are for.