Click here to Skip to main content
14,775,584 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 8:18
Memberjschell21-Apr-19 8:18 
GeneralRe: Is the new C++ as easy to use as Python? Pin
Dean Roddey21-Apr-19 9:40
MemberDean Roddey21-Apr-19 9:40 
GeneralRe: Is the new C++ as easy to use as Python? Pin
jschell27-Apr-19 7:36
Memberjschell27-Apr-19 7:36 
GeneralRe: Is the new C++ as easy to use as Python? Pin
Member 91670579-Apr-19 22:38
MemberMember 91670579-Apr-19 22:38 
GeneralRe: Is the new C++ as easy to use as Python? Pin
Mike Winiberg10-Apr-19 3:32
professionalMike Winiberg10-Apr-19 3:32 
GeneralRe: Is the new C++ as easy to use as Python? Pin
Dean Roddey10-Apr-19 8:52
MemberDean Roddey10-Apr-19 8:52 
GeneralRe: Is the new C++ as easy to use as Python? Pin
Kiriander10-Apr-19 21:00
MemberKiriander10-Apr-19 21:00 
GeneralRe: Is the new C++ as easy to use as Python? Pin
Dean Roddey10-Apr-19 21:53
MemberDean Roddey10-Apr-19 21: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 22:45
MemberNand329-Apr-19 22:45 
GeneralRe: Is the new C++ as easy to use as Python? Pin
Thornik10-Apr-19 3:54
MemberThornik10-Apr-19 3:54 
GeneralRe: Is the new C++ as easy to use as Python? Pin
Rick Shaub10-Apr-19 5:56
MemberRick Shaub10-Apr-19 5:56 
GeneralRe: Is the new C++ as easy to use as Python? Pin
Dean Roddey10-Apr-19 8:49
MemberDean Roddey10-Apr-19 8:49 
GeneralRe: Is the new C++ as easy to use as Python? Pin
Rick Shaub10-Apr-19 9:25
MemberRick Shaub10-Apr-19 9:25 
GeneralRe: Is the new C++ as easy to use as Python? Pin
Dean Roddey10-Apr-19 9:34
MemberDean Roddey10-Apr-19 9:34 
GeneralRe: Is the new C++ as easy to use as Python? Pin
Rick Shaub10-Apr-19 9:51
MemberRick Shaub10-Apr-19 9:51 
GeneralRe: Is the new C++ as easy to use as Python? Pin
Dean Roddey10-Apr-19 9:57
MemberDean Roddey10-Apr-19 9:57 
GeneralRe: Is the new C++ as easy to use as Python? Pin
Rick Shaub10-Apr-19 10:29
MemberRick Shaub10-Apr-19 10:29 
GeneralRe: Is the new C++ as easy to use as Python? Pin
Dean Roddey10-Apr-19 10:33
MemberDean Roddey10-Apr-19 10:33 
GeneralSpring Cleaning Pin
Matthew Dennis9-Apr-19 7:19
sysadminMatthew Dennis9-Apr-19 7:19 
GeneralRe: Spring Cleaning Pin
Chris Maunder9-Apr-19 7:59
cofounderChris Maunder9-Apr-19 7:59 
GeneralRe: Spring Cleaning Pin
OriginalGriff9-Apr-19 9:03
mveOriginalGriff9-Apr-19 9:03 
GeneralRe: Spring Cleaning Pin
Chris Maunder9-Apr-19 9:04
cofounderChris Maunder9-Apr-19 9:04 
GeneralRe: Spring Cleaning Pin
OriginalGriff9-Apr-19 9:12
mveOriginalGriff9-Apr-19 9:12 
GeneralRe: Spring Cleaning Pin
swampwiz9-Apr-19 9:12
Memberswampwiz9-Apr-19 9:12 
GeneralThought of the Day Pin
OriginalGriff9-Apr-19 5:42
mveOriginalGriff9-Apr-19 5: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.