It is at lest somewhat comforting to know that even an experience C/C+ + developer makes plenty of pointer errors.
The way I see it is that even with the Computer Science background and understanding O/S memory allocation models and how C/C++ allocates memory as well as Stack and Heap memory theory the errors still happen because I am human and miss things sometimes. It is all good and well when the program flow is simple enough for the allocations and deallocations to be easy to see and in a straightforward logic. The more complex the application gets the more complicated it becomes to manage the memory correctly. Both feeing memory which something is still using or not freeing it leads to problems. I think even someone at Sun implied or said that in an ideal world everyone would write perfect C/C++ code but things like Java exist because in practice it turns out that this is really really hard to do. Maybe I should try Assembler just for kicks....I like pain. -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
