Divinityfound
Registered Member
- Feb 15, 2010
- 91
- 26
I know a handful of programming languages... but I keep running into functions and classes in all of them, and from what I've gathered, they are pretty much the same thing...
I initially learned functions first, and then decided to pick up classes for the sake of knowing it and so I can tell employers I can do it... but the problem I have now is seeing the practicality of classes.
The most I can see for classes is organizing your functions and programs to make it more readable and help navigate your own code... but putting in comments in the code does that just as well. So I guess in the end I am wondering...
Whats the difference?
What do you use?
Which do you use for which instances?
Rules of Thumbs to follow?
I initially learned functions first, and then decided to pick up classes for the sake of knowing it and so I can tell employers I can do it... but the problem I have now is seeing the practicality of classes.
The most I can see for classes is organizing your functions and programs to make it more readable and help navigate your own code... but putting in comments in the code does that just as well. So I guess in the end I am wondering...
Whats the difference?
What do you use?
Which do you use for which instances?
Rules of Thumbs to follow?