@jackprice I thinks this has been going on for at least 10 years if not more.
Designs evolve for efficiency, then you start getting copycats, then every website looks the same until a paradigm change.
I had an interview with a company that asked for “AI mastery”. At least to the level they were using within their company, plus all other senior responsibilities.
Their pay rate was 1/3 less than my last salary.
Things are rough nowadays.
Este código valida datos del usuario, pero hay una falla de seguridad:
password = request.getParameter("pwd");
if (password.length() > 0) {
user.setPassword(password);
}
Es sutil, ¿puedes encontrar la falla?
Esta forma de manejar errores se ve bien a simple vista:
try {
const data = await fetch(url);
const json = await data.json();
return json;
} catch (error) {
logger.error('Falló la llamada', error);
throw error;
}
Pero falla en producción, ¿por qué sería?