quote:Original post by DrGUI
Why should we need to use pointers anyway? Surely compilers should be able to do a better job making code use pointers than any programmer could do on their own.
Because that would take power from the programmer.
In my opinion, pointers are a requirement if you want to be able to set up advanced data structures or do low level programming. Pointers are not only very useful, but also extremely powerful and I do not know how I ever got along without them (and no, I don''t over use them).
Also, try writing an operating system or device driver (or any low level piece of code) without pointers