r/ProgrammerAnimemes • • Aug 11 '19

* null pointer = !%^*~

Post image
636 Upvotes

28 comments sorted by

View all comments

Show parent comment

16

u/John137 Aug 11 '19

it is a very bad idea to have variables initialize by default to something readable, as it makes it so you can ignore problems in your code that can mess you up much later on and become harder to find. you never want code to do something you don't intend it to do.