• 0 Posts
  • 57 Comments
Joined 2 years ago
cake
Cake day: June 13th, 2023

help-circle




  • I think this is just a picky optimization.

    The first one runs the constructor to instantiate a new string, then gets its class (which is presumably a static property anyway). The second doesn’t have to run any constructor and just grabs the static class name from the type.

    Maybe there’s more implementation nuance here but it seems like an opinionated rule that has zero effect on performance unless that code is being called thousands of times every second. And even then the compiler probably optimizes them to the same code anyway.














  • A full stack developer is either a back end developer that has no business writing front end code but does it anyway, or they’re a front end developer that has no business writing back end code but does it anyway.

    Or they’re perfectly capable of doing both because they’re at a startup that’s years away from running at scale or having to worry about performance and security.



  • Pretty much. It’s a tired analogy, but the “unawakened” people in The Matrix come to mind. They’re not helping the cause, but it’s not right to declare that they’re evil or deserve hate like OP was suggesting.

    They don’t know any better but that doesn’t mean they deserve ire. They’re reasonably reacting based on the information they have.