How I'm used to writing code: app.post('foo', (req, res), { let email = res{emai...
Charles :trans: , fuck all GenAI @celesteh@hachyderm.io
How I'm used to writing code:
app.post('foo', (req, res), {
let email = res{email};
If (email.isValidEmail) {
//yay
} else {
// do error condition
}
});
How node seems to work:
app.post('/foo', test_goes _here, (req, res) => {
// yay everything worked!
});
// errors? what errors?
wut??