14

Oh you're a real programmer because you use pointers.... Big man you are. Meanwhile I'm at home because I use a garbage collector and don't have any memory bugs.

Comments
  • 3
    Hmm. Sounds like you really have not had the pleasure of finding the limits of garbage collection yet.
  • 1
    Everything has its limits. I just choose to spend more time writing meaningful code rather than wasting everyone's time and money on useless scaffolding and reinventing the wheel
  • 0
    I only ever used raw pointers while doing my undergraduate work. Once I got a job, everything was inside a managed framework with garbage collection (.NET). I've only used pointers for some very specific challenges over at HackerRank, and then it's only smart pointers.
  • 0
    Pointers are actually damn powerful little things. C however isn't really meant for smartphone app or GUI > processing app. Garbage collection is fun (I love not to care about memory in Python at all), but there are use-cases when you just have to bite the bullet and learn how to work with them.

    Also, have you ever wrote a device driver in a lang with garbage collector? :P
  • 2
    There are no "wheels" in software to be rewritten. Garbage collection isn't the end-all-be-all method of memory management. :)
  • 0
    Yeah, this statement does more to make you sound junior than anything else.

    Golang for example uses garbage collection and also offers pointers.
  • 0
    The programming language called Nim allows for both GC and manual memory management.
  • 2
    @panzer-ragu you have lot to learn yet. Stop bashing things that you have no idea about .wat is the maximum that have u done with pointers other than just 'knowing wat a pointer is' . GC is an awesome concept itself. Have you heard of RAII if not then please go and study instead of bashing things down which u have no idea about. I have no intension of criticising anyone but sometimes it's just too much.
  • 3
    Don't blame your memory bugs on the language. Blame them on your lack of knowledge about RAII. Incompetent tool use it never the fault of the tools.
Add Comment