News for hackers. Stuff that matters.
Re:Why don’t we do email verification in reverse? by ozim on Sunday August 21, 2022 @03:36AM (#32538130)
Super typical developer thinking :) two pieces of code look the same but are not doing the same things.

I usually see it when people implement add/edit for some entity, that should be separate forms but are crammed into one to be "DRY".

Re:Why don’t we do email verification in reverse? by edgyquant on Sunday August 21, 2022 @03:08PM (#32543370)
This is why views are so nice. You can reuse the view and controller logic and only write a new data model that updates instead of creates (tbh though those can just be two functions on some data model.)
Re:Why don’t we do email verification in reverse? by eurasiantiger on Sunday August 21, 2022 @04:56PM (#32544346)
On the contrary, CRUD forms are an ideal candidate for being schema-driven.
Re:Why don’t we do email verification in reverse? by ghayes on Sunday August 21, 2022 @03:58AM (#32538225)
PUT versus POST