Jason Swett writes about Ruby on Rails, RSpec testing, TDD, code design, and running engineering teams.
HN commenters cite it for examples of pointless RSpec tests, Rails integration testing without staging, and a podcast on OOP design in Rails; the author replies to criticism himself.
> One of the biggest benefits of duplication that the author fails to identify the locality of logic
There are a lot of things in the post that I fail to identify. There are also some things I wrote there that I no longer completely agree with.
Here's a newer post in which I go deeper, and in which I do address the locality of logic.
https://www.codewithjason.com/duplication/
With many "monolithic" frameworks - eg Ruby on rails - you can do end to end automated testing without having to create a staging environment.
https://www.codewithjason.com/rails-integration-tests-rspec-capybara/
Among many other possible examples, here are a few [0] from Ruby that I've seen in the wild before LLMs, and still see today spat out by LLMs.
0: https://www.codewithjason.com/examples-pointless-rspec-tests/
Appreciated your conversation here as well, https://www.codewithjason.com/podcast/11693222-164-oop-design-in-rails-with-tj-stankus/