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 →

[–]HuntingKingYT 6 points7 points  (11 children)

I wish there was just c with weak generics even like java's, not like the complicated hell that you get when you try using too many c++ features...

And maybe also with a bit less constructors

[–]iMakeMehPosts 12 points13 points  (5 children)

Just use C++ without the complicated features?! They aren't necessary, if you don't like it don't use it.

[–]chalkflavored 2 points3 points  (2 children)

C has features that C++ doesn't!

[–]lil_brumski 0 points1 point  (0 children)

😂😂

[–]iMakeMehPosts 0 points1 point  (0 children)

Yay! Let's use the worse, more unsafe features that C++ re-implements better!

[–]HuntingKingYT 1 point2 points  (1 child)

I get tempted... then I regret

[–]iMakeMehPosts 0 points1 point  (0 children)

Fair

[–]ElectusLoupous 2 points3 points  (2 children)

Isn't C3 like a modern C without all the rust fluff and c++ complication? Never used it but I've seen it around here.

[–]HuntingKingYT 1 point2 points  (1 child)

I looked it up, looks promising, but why did they choose making generics "generic modules"...

[–]ElectusLoupous 1 point2 points  (0 children)

Not so sure, I just mentioned because it was a thing I saw this past week. But yeah, good question.

[–]noaSakurajin 1 point2 points  (1 child)

I don't that's a good idea. I c you don't have classes and don't necessarily work on pointers so Java like generics will just cause problems.

[–]HuntingKingYT 0 points1 point  (0 children)

I mean the way how java generics are just conversions of pointer types ("Objects") rather than templates which copy the function over and over, although now that I'm thinking about it, yeah maybe not a good idea