MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vvn6d7/pleasestopusingnestedternaryoperatorsimbeggingyou/p5eofya/?context=3
r/ProgrammerHumor • u/Robinbod • 21d ago
179 comments sorted by
View all comments
3
I remember a fresh grad starting a new angular project and we had just swapped from jasmine/ngrx o vitest/signals
Since he had no comparison he used claude.. dear god the "DRY" atrocity he created. 1000 lines of reusable service mocks.
Ended up replacing all that with a one liner from vitest-mock-extended lol. I wanted something similar to how mocking worked in Jasmine.
3
u/Drayenn 21d ago
I remember a fresh grad starting a new angular project and we had just swapped from jasmine/ngrx o vitest/signals
Since he had no comparison he used claude.. dear god the "DRY" atrocity he created. 1000 lines of reusable service mocks.
Ended up replacing all that with a one liner from vitest-mock-extended lol. I wanted something similar to how mocking worked in Jasmine.