+ 1
I am the only one who has learned c++,java and python but has never found a practical use for the damn classes???
i am starting to think that it's a waste of time
6 Antworten
+ 4
If you only spend your time learning you will become crazy and not useful for work. You need to work on projects. Start small with a calculator GUI and then make your own singleplayer arcade game or any application...
+ 4
Ahaha, @lucien you are probably right...
+ 3
say you're making a video game.......a fighting video game for example.......you have 12 characters......you can have each of those characters name, as the name of a class, and in that class contains the code for each of them special moves,weapons, speed etc.
in that way if you're to upgrade or fix a glitchy character it would be much easier as you can just use a "goto" program and get access to that class easily
instead of searching through tens of thousands of lines of code to find that specific character programs
+ 2
Do you code for yourself or it is your job? I use the damn classes everyday. By the way if you printed something in Java to console, you used System class :)
+ 2
I think with "classes" he means the courses.
0
i meant object oriented programming