[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]

Bjarne tragically dies, and he's named YOU as his successor

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: 54
Thread images: 11

File: cpp.png (62KB, 1385x1557px) Image search: [Google]
cpp.png
62KB, 1385x1557px
Bjarne tragically dies, and he's named YOU as his successor to dictate the direction, implementation, and doctrine of C++
What do you change about the language?
>>
>>59190738

nothing.
>>
>>59190738
Create a Code of Conduct (CoC) that demands racial and gender inclusiveness.
>>
>>59190738
make it interpreted
>>
>>59190738
Make everything inherit from Object.
>>
File: primitivism.jpg (46KB, 320x320px) Image search: [Google]
primitivism.jpg
46KB, 320x320px
>>59190738
Drop everything else to introduce modules.
>>
>>59190738
remove backward compatibility so shitty code written with raw pointers won't compile any more.
>>
>>59190763
order the assassination of anyone like this
>>
I'd remove most of the legacy garbage held over from C and accelerate the proposals for modules/concepts/etc that have been in limbo for the past decade or so.

Moving so quickly and breaking backward compatibility would basically gut the essence and incumbent position of C++, though, so instead I'd probably just disband the standard committee forever so it'd die off and something else could replace it altogether.
>>
File: fb0.jpg (68KB, 479x720px) Image search: [Google]
fb0.jpg
68KB, 479x720px
>>59190738
>dynamic, loose typing
>transpile to javascript
>change name to She++
Ah the dream.
>>
revert it back to C
>>
Get rid of half of the standards committee to release versions in reasonable timeframes
>>
Sell it to Microsoft.
>>
>>59190738
Mourn his death and let C++ stagnate. The language implementors unexpectedly have a ton of time to catch up to the most recent spec. Compiler and tooling quality is at an all-time high. Whoops
>>
>>59190738
>Add a "pure" keyword instead of "= 0"
>Better implementation and usage of UTF strings (or am i retarded?)
>Ban the usage of int's and make stdint.h mandatory as a result
>>
>>59190738

turn it into Node.JS
>>
literally who?

I change nothing.
>>
>>59190738
Encourage everybody to move to D, put all efforts into making D really work without the gc.
>>
>>59190738
Ban header filesl
>>
>>59190738
Add modules, then remove the preprocessor. Introduce a new "unsafe" keyword and make operations like pointer arithmetic illegal outside an unsafe block.
>>
>>59190812

>4 decades later
>exact same shit happens
>>
>>59190738
Make everything an object
>>
Remove `auto' keyword
Remove lambdas
Cancel all plans to add non-#include based header files
Make <stdint.h> a nonstandard extension
using namespace std; is the default now
Remove int main(), replace with a class that has a virtual method as the entry point
Add at least one new keyword to break ~60% of codebases
>>
I don't know anything about programming so I'd create a thread on here, transferring ownership to whomever rolls quads first.
>>
File: wut.png (116KB, 354x302px) Image search: [Google]
wut.png
116KB, 354x302px
>>59190812
this
>>59191712
Unlikely, language design is 100% hindsight. So unless some node memesters sabotage it somehow, hypothetical new language will make programming great again!!
>>
>>59191838
You are disgusting.
>>
>>59192053
More likely, he's efficient at killing C++.
>>
>>59192100
This is my plan. Make the language so unbearable that people will finally stop using it
>>
File: bcc52756c2-1486689500037.gif (2MB, 500x281px) Image search: [Google]
bcc52756c2-1486689500037.gif
2MB, 500x281px
>>59190738
I'd cut all the bullshit and truly make it C with classes.
>>
>>59192233
Why would you want C with classes?
I'd much rather have C with lambdas
>>
>>59192233
Why would you want that? They're literally embellished structs
>>
>>59190805
pussy
>>
File: git.jpg (19KB, 300x300px) Image search: [Google]
git.jpg
19KB, 300x300px
>>59191534
meme languages git off my board
>>
>>59192233
You can write C with classes if you want, best way to program imo
>>59192270
access control moron
>>
>>59192302
Get raped and kill yourself, you retarded fucking faggot sack of nigger shit with down syndrome.
>>
>>59192336
Writing effective C requires setting up so many preconditions, stopping idiots from modifying the wrong field of a struct is the least of your worries.
Besides "access modifiers" are barely even half of the point of OOP.
>>
>>59190738
I change it drastically so it's only function is to revive the motherfucker so he can go back to fixing it.
>>
File: sensible_chuckle.gif (1MB, 480x360px) Image search: [Google]
sensible_chuckle.gif
1MB, 480x360px
>>59190738
>>
>>59190738
Get rid of ODR, add reflection, break backward compatibility and clean up duplicate functionality.
>>
File: emilia.gif (2MB, 900x507px) Image search: [Google]
emilia.gif
2MB, 900x507px
>>59192348
shit man all I did was imply that you were too stupid to use pointers and should be restricted to babby languages, calm down
>>
File: vs.jpg (2KB, 125x48px) Image search: [Google]
vs.jpg
2KB, 125x48px
>>59192361
yeah I probably should have mentioned inheritance, access control was the first advantage of classes over structs that I thought of
>>
>>59190738
I'd leave it as is, Bjarne Stroustrup did nothing wrong.
>>
File: 1487071855154.png (166KB, 2000x1000px) Image search: [Google]
1487071855154.png
166KB, 2000x1000px
>>59192514
All according to plan.
>>
File: 64e[1].jpg (28KB, 486x412px) Image search: [Google]
64e[1].jpg
28KB, 486x412px
>>59192539
This makes too much sense
>>
>>59192504
well inheritance is usually kind of shit
and C++ handles it really badly
>>
>>59192257?
>I'd much rather have C with lambdas
Honestly, why? What is so great about Lambdas? I genuinely have never heard a good explanation about why they're good.
>>
>>59192883
They're comfi as fuck in languages like Lisp that take advantage of them.
List comprehension is nice, enables callbacks or continuations (or both interchangeably). There's also stuff like 'with' blocks where you have a segment of code that is wrapped in behavior before and after.
(with-error-handler
(lambda ()
(do-dangerous-stuff))
(lambda (err)
(handle-error err)))

(with-output-stream
(lambda (out)
(write out "hello")
(write out "world")))
=> "helloworld"


And this is all consequence of first class lambdas with closure, not other special syntax needed
>>
>>59190738
Make it D.
>>
>>59192475
He was implying that raw pointers have been replaced with something better and the standards should change to deprecate old shitty potentially unsafe operations
>>
>>59191962
You'd make a fantastic Rustaceon :)
>>
>>59190738

1. Invent more classes and subclasses
2. Inventing Meta-meta-templates
3. Pimping the syntax, if you assing a number it should be something like: "Std::::Number::::<>::::Integer::<>int = 4;"
4. Using Templates is recommended, standard libs are getting deprecated


>>59190816

Ahahaha...
>>
>>59190738
Headers and shiet, dat be primitive bullshit some cracka whipped up in da 80s or sumdin, bich u aint richie, u know u can fix dat shit get on it bich
>>
Would it be possible to add a (optional) borrow checker to C++? It's all the rage these days~
>>
>>59191838
>Remove stdint.h

You obviously don't program anything useful.
Thread posts: 54
Thread images: 11


[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.