Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×

Comment Re:There is no perfect lang (Score 5, Insightful) 296

C++ is often unreadable

That's not a problem with the language, it's a problem with whoever wrote the code.
I've been writing software for about 40 years - and one of the things I've observed in that time is that it's possible to write unreadable code in pretty much any language. I've also observed that it's possible to write readable code in pretty much any language.

Comment Why? (Score 3, Insightful) 296

The main reasons I have for this are the needs to manage memory usage and disk access at a very granular level

And why, exactly, do you imagine you need these things?
(You may well do - but you don't give a reason for it, so it's entirely possible that you don't need to manage those things on a granular level)

Comment Re:Given how C++ is taught. (Score 1) 345

G2P says:

You should almost never see a new

You claim:

That is complete nonsense.
At some point you have to allocate the objects/memory. And for that you need a "new".

To demonstrate that you're wrong, I mention make_shared as an example of allocating objects without your having to see new.

Was that really so hard to figure out?

Slashdot Top Deals

The optimum committee has no members. -- Norman Augustine

Working...