logoalt Hacker News

blfrtoday at 8:38 PM3 repliesview on HN

What are all these rote coding tasks people do that they can farm it out to lesser models?


Replies

nicoburnstoday at 9:30 PM

One task I've found this useful for is writing example code. Release admin (updating version numbers, etc) as well.

denverllctoday at 8:43 PM

Write a detailed plan using a more expensive model and implement it using the cheaper one.

show 1 reply
mattmansertoday at 9:13 PM

Are you genuinely asking?

As 80% of enterprise software is CRUD with a bit of sprinkling of user authorization and tenant customisation. But subtly different for every business domain. It's mainly what properties the models and validations have that are different.

When you add a new module or whatever most of the code you have to write is rote code.

And sonnet can handle that crap just fine, you just point it at a similar example in the code, it picks up your userContext convention, how you're doing i18n, etc. and you're done.

I like saying that enterprise code is often shallow but wide. I must have written at least 4 purchase order systems in my career that are all completely different but almost exactly the same.