[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

find a new /sci/ language

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 7
Thread images: 1

File: 1490295976287.png (234KB, 545x530px) Image search: [Google]
1490295976287.png
234KB, 545x530px
why is C++ so popular on /sci/? It's an inordinately complex language. Some good quotes i've seen:
"If you think C++ is not overly complicated, just what is a protected abstract virtual base pure virtual private destructor and when was the last time you needed one?" – Tom Cargill and the rest here http://harmful.cat-v.org/software/c++/
It seems most people who don't dislike C++ view it as C with classes, and actually know very little about the language's many, many ````features''''. If you are working on a large collaborative project, you will need to know the features used by your colleagues in order to maintain their code, and C++ programmers notoriously use every arcane feature they can remember in any given situation. I don't see why you don't just use C
>>
Who care?
>>
Operator overloading is a relevant abstraction for scientific calculations. So are classes with constructors and destructors. The C++ syntax is abhorrent though.
>>
>>9065977
just because you're a mathematician doesn't mean you should use ADT's to make your code resemble traditional mathematics more closely
>>
>>9065965
>I don't see why you don't just use C
"Just use C" is the worst possible resolution to C++'s flaws. A better one would be "Figure out what you actually need to do, and select a language that is good at that". C is a bad choice because it's only good at a handful of very niche applications, and it suffers terribly outside them. C++ is terrible because it tries to do everything, including things that almost no-one wants.
>>
R is the /sci/ patrician's language.
>>
>>9065965
>I don't see why you don't just use C
if you do that then you're either opening yourself up to stability risks from all the ways you can horribly fuck your program up in C, or you're wasting time re-inventing the wheel by implementing safety features C++ already possesses

the right answer to "C++ sucks" isn't "just use C", it's "just use the parts of C++ that don't suck" or "choose another language"
Thread posts: 7
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
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.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.