When there's a variable that is shared between two methods, using a data member to transfer data back and forth between those methods is just plain wrong!
The data should be transfered using an argument to the called method, and the variable should be local in the calling method.
Showing posts with label programming. Show all posts
Showing posts with label programming. Show all posts
Thursday, December 29, 2011
Members are not welcome
Thursday, February 5, 2009
learning curses!
:)
I think I'll further expand my UNIX-fu by learning how to program with curses.
This should be a really fun back-to-basics challenge :)
I think I'll further expand my UNIX-fu by learning how to program with curses.
This should be a really fun back-to-basics challenge :)
Subscribe to:
Posts (Atom)