3 ms·
Use c++ on a daily basis. I think the direction the language is going is really really troublesome. It was a mistake to follow the boost’s lead. At this point l
by yalph 9y ago
Use c++ on a daily basis. I think the direction the language is going is really really troublesome. It was a mistake to follow the boost’s lead. At this point language is more or less a clusterfuck. While python peeps are saving the world here on this dark side of the world we wrestle with move semantics. Simplicity and beauty of C is long gone.
- sobellian 9y agoI used to use C++ a lot for a mixture of reasons. I avoid it like the plague now, because I'm not confident that anyone completely understands the semantics of a non-trivial C++ program. Even if I did, the cognitive overhead of this stuff detracts from real programming.
- yalph 9y ago> Even if I did, the cognitive overhead of this stuff detracts from real programming. You are absolutely right.And why the standard comittee dont see this is beyond me.
- kraghen 9y agoI have a suspicion that all non-trivial C++ programs contain undefined behaviour (e.g. not checking for or preventing overflow at every arithmetic operation involving signed integers), so trying to understand the semantics of these programs is kind of a moot point. On the other hand, if anyone tried to formalise the semantics of C++ and prove some kind of soundness theorem they would probably find that the language definition is technically inconsistent. Paraphrasing Feynman, if you think you understand C++ then you don't understand C++.
- fhood 9y agoAlso use c++ on a daily basis. It is a dark place, full of nooks and crannies inhabited by venomous insects that only get more dangerous with age. Also you cant declare a variable without constructing it or making it a raw pointer. Which. is. bullshit. Edit: also, the memory issue for these types of services is a huge problem for me, since I am usually working on multiple projects at once, and when combined with all 32 of my chrome tabs, my work laptop starts to indicate some unhappiness.
- gpderetta 9y agoYou can trivially declare a variable without constructing it by wrapping it in an anonymous union. You'll have to destroy it yourself though because the compiler can't guarantee to be able to prove that it has been constructed at the end of scope. You can wrap it in something like boost optional to get safety.
- deleted 9y ago[deleted]
- deleted 9y ago[deleted]
- mmjaa 9y ago>> Simplicity and beauty of C is long gone. Lives on in Lua. Everything I want to do in C++, I can do with Lua instead. Plus: still C under it all.