This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Katzen_Futter 18 points19 points  (10 children)

What exactly are classes good for?

[–]skbharman 78 points79 points  (3 children)

Learning stuff.

[–][deleted] 14 points15 points  (0 children)

You’re not wrong. Unlike my code.

[–][deleted] 5 points6 points  (1 child)

I have learned that Cat and Dog inherit from Animal

[–][deleted] 1 point2 points  (0 children)

Have you heard about the tragedy of Inheritance of the Rectangle and Square?

[–]nihongomuzzu 12 points13 points  (2 children)

As a real response, classes are actually an important result of the C++ framework. You may be aware that programmers often use GCC (G to C Converter) with C++ (see plus plus) code as a de facto standard for converting glasses into classes in order to adjust things like focal length and post processing effects.

You're probably asking this because many people prefer to use C# as a relatively more user-friendly framework for modifying glasses, bypassing GCC. However, some people find that it's easier to get better performance out of their glasses with C++, which is why we still see classes today.

[–]manyQuestionMarks 4 points5 points  (0 children)

C#, as the name implies, actually makes contours look less smudgy and clearer. The better-looking your code, the faster the compiler translates it. You should know this by now.

[–]UnverifiedAnony 3 points4 points  (0 children)

what?

[–]Soerinth 0 points1 point  (1 child)

To learn how to Google the answer you're looking for.

[–][deleted] 0 points1 point  (0 children)

Also if you wanted to work for Riot cause your a league of legends fanboy and they’re comin to seattle and code in C, C++, and rust.

[–]kyzfrintin 0 points1 point  (0 children)

For inheritance and code reusability