[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y / ] [Home]
4chanarchives logo

Preprocessor macrosOperator overloadingAny other useless obsolete concepts I'm


Thread replies: 12
Thread images: 1

File: Cpplogo.jpg (36KB, 433x455px) Image search: [Google] [Yandex] [Bing]
Cpplogo.jpg
36KB, 433x455px
>Preprocessor macros
>Operator overloading
Any other useless obsolete concepts I'm forgetting?
>>
>>53752561
operator overloading is nice when you're doing something like defining a vector class.

granted, I've NEVER had to do that besides when I'm fucking around at home, during first year Uni, or at a job interview.

Still seems like somebody in the world had to make a vector class. he probably used operator overloading.
>>
>>53752561
Preprocessor macros are really cool if you're into meme-tuning your languag for solo-projects.
Same for operator overloading .
>>
Most of the C libraries and raw pointers.
>>
Friends
>>
You obviously never worked on a larger codebase if you consider those things useless. They should not be mindlessly abused, but they have their place.
>>
>Template classes
>Abstract classes
>Pointers
>>
Wow OP (and others) really knows what he's talking about! :^)
>>
>>53752720
No they are always useless
>>
>>53752561
Operator overloading has his uses.
Even in math alone I there is a lot of uses for all kind of number types.

That said:

>references
the way they are implemented just make things more confusing instead of more secure
>headers
>most functional stuff
it has no place in C++
>>
>>53752756
>It's an "I offer no contribution" episode
>>
I fell bad for anyone taking this thread seriously.
Thread replies: 12
Thread images: 1
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y / ] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
If a post contains illegal content, please click on its [Report] button and follow the instructions.
This is a 4chan archive - all of the content originated from them. If you need information for a Poster - you need to contact them.
This website shows only archived content and is not affiliated with 4chan in any way.
If you like this website please support us by donating with Bitcoin at 1XVgDnu36zCj97gLdeSwHMdiJaBkqhtMK