aka “bros: in order to be rich, just don’t be poor.”

  • JakenVeina@midwest.social
    link
    fedilink
    arrow-up
    9
    ·
    4 hours ago

    To be clear, he’s not saying “just code better”, as the title implies. It’s a really poor choice of title.

    you are going to mess up somewhere and get leaks, stray pointers, etc. This is true independently of how conscientious you are with your allocations:

    He goes on to say, effectively, “Don’t use new/delete/malloc/free if you can help it. Use smarter mechanisms.”