DEV Community

Discussion on: It Will Do vs It Will Scale

Collapse
 
rbravo86 profile image
Richard Bravo

Great! I Agree with you!

But don't you think that in some cases for security reasons it's better just "select" what is required in that moment even if performance is sacrificed? (this is not the case because the original code makes 3 consecutive selects and it makes no sense)

Collapse
 
molly profile image
Molly Struve (she/her)

I think regardless of performance you always want to be cognizant of security. I would also say security always trump's performance if you are making a decision. But most of the time I don't think you need to sacrifice performance for security.