Click here to Skip to main content
15,894,265 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Is the new C++ as easy to use as Python? Pin
jschell21-Apr-19 7:18
jschell21-Apr-19 7:18 
GeneralRe: Is the new C++ as easy to use as Python? Pin
Dean Roddey21-Apr-19 8:40
Dean Roddey21-Apr-19 8:40 
GeneralRe: Is the new C++ as easy to use as Python? Pin
jschell27-Apr-19 6:36
jschell27-Apr-19 6:36 
GeneralRe: Is the new C++ as easy to use as Python? Pin
Member 91670579-Apr-19 21:38
Member 91670579-Apr-19 21:38 
GeneralRe: Is the new C++ as easy to use as Python? Pin
Mike Winiberg10-Apr-19 2:32
professionalMike Winiberg10-Apr-19 2:32 
GeneralRe: Is the new C++ as easy to use as Python? Pin
Dean Roddey10-Apr-19 7:52
Dean Roddey10-Apr-19 7:52 
GeneralRe: Is the new C++ as easy to use as Python? Pin
Kiriander10-Apr-19 20:00
Kiriander10-Apr-19 20:00 
GeneralRe: Is the new C++ as easy to use as Python? Pin
Dean Roddey10-Apr-19 20:53
Dean Roddey10-Apr-19 20:53 
But so much allocate of memory is within a class already. There's nothing really gained by wrapping those things in a smart pointer. It's just more moving parts and syntax and generated code. The memory is already owned and managed by the object that allocated it, and of course deleting those things in the destructor allows you to catch any errors and log them for in the field diagnosis, which you can't do if you are just letting a destructing member delete the memory.

If you are passing allocated objects around, then of course it makes a lot more sense, but that's nothing new. It's been going on for a long time and isn't modern per se.

I certainly agree that stuff like override, member delete, member default, static_cast and such are significant improvements and they don't bring lots of baggage with them that you don't want, unlike a lot of other new stuff. Things like that, which improve type safety and the ability to express semantics are always a good thing in my opinion. I can't believe that we still don't have the option for explicit parameter direction indication.
Explorans limites defectum

GeneralRe: Is the new C++ as easy to use as Python? Pin
Nand329-Apr-19 21:45
Nand329-Apr-19 21:45 
GeneralRe: Is the new C++ as easy to use as Python? Pin
Thornik10-Apr-19 2:54
Thornik10-Apr-19 2:54 
GeneralRe: Is the new C++ as easy to use as Python? Pin
Rick Shaub10-Apr-19 4:56
Rick Shaub10-Apr-19 4:56 
GeneralRe: Is the new C++ as easy to use as Python? Pin
Dean Roddey10-Apr-19 7:49
Dean Roddey10-Apr-19 7:49 
GeneralRe: Is the new C++ as easy to use as Python? Pin
Rick Shaub10-Apr-19 8:25
Rick Shaub10-Apr-19 8:25 
GeneralRe: Is the new C++ as easy to use as Python? Pin
Dean Roddey10-Apr-19 8:34
Dean Roddey10-Apr-19 8:34 
GeneralRe: Is the new C++ as easy to use as Python? Pin
Rick Shaub10-Apr-19 8:51
Rick Shaub10-Apr-19 8:51 
GeneralRe: Is the new C++ as easy to use as Python? Pin
Dean Roddey10-Apr-19 8:57
Dean Roddey10-Apr-19 8:57 
GeneralRe: Is the new C++ as easy to use as Python? Pin
Rick Shaub10-Apr-19 9:29
Rick Shaub10-Apr-19 9:29 
GeneralRe: Is the new C++ as easy to use as Python? Pin
Dean Roddey10-Apr-19 9:33
Dean Roddey10-Apr-19 9:33 
GeneralSpring Cleaning Pin
Matthew Dennis9-Apr-19 6:19
sysadminMatthew Dennis9-Apr-19 6:19 
GeneralRe: Spring Cleaning Pin
Chris Maunder9-Apr-19 6:59
cofounderChris Maunder9-Apr-19 6:59 
GeneralRe: Spring Cleaning Pin
OriginalGriff9-Apr-19 8:03
mveOriginalGriff9-Apr-19 8:03 
GeneralRe: Spring Cleaning Pin
Chris Maunder9-Apr-19 8:04
cofounderChris Maunder9-Apr-19 8:04 
GeneralRe: Spring Cleaning Pin
OriginalGriff9-Apr-19 8:12
mveOriginalGriff9-Apr-19 8:12 
GeneralRe: Spring Cleaning Pin
swampwiz9-Apr-19 8:12
swampwiz9-Apr-19 8:12 
GeneralThought of the Day Pin
OriginalGriff9-Apr-19 4:42
mveOriginalGriff9-Apr-19 4:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.