News for hackers. Stuff that matters.
Re:Ask HN: What's your favorite way of getting a web app up ... by alfredallan1 on Sunday June 03, 2018 @10:51AM (#17219790)
I’m curious: once one has written a CRUD app, why can’t they use that as the boilerplate for other CRUDs they need to write? Replace the bits specific to each individual app. If the program is designed in a sufficiently modular fashion, shouldn’t this be doable?
Re:Ask HN: What's your favorite way of getting a web app up ... by Larrikin on Sunday June 03, 2018 @03:26PM (#17221249)
That assumes you're allowed to use the code you wrote in a previous project in your new project.
Re:Ask HN: What's your favorite way of getting a web app up ... by alfredallan1 on Wednesday June 06, 2018 @06:41AM (#17245906)
Eh, are you perhaps hinting at that horrible lawsuit where Oracle sued Google(?) for a lot of money for copying about 9(?) lines of code that was basically a looping routine?

That notwithstanding, I was asking about code that could be considered “boilerplate”, not things that could be considered proprietary business logic. So the code to do a login, or check for cookies, or get something from a db, or anything of that sort should be broadly reusable (for a general CRUD app).