Click here to Skip to main content
15,885,757 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: If I find another programming language easier should I stay with it instead? Pin
honey the codewitch13-Dec-20 3:50
mvahoney the codewitch13-Dec-20 3:50 
GeneralRe: If I find another programming language easier should I stay with it instead? Pin
User 1106097913-Dec-20 3:51
User 1106097913-Dec-20 3:51 
GeneralRe: If I find another programming language easier should I stay with it instead? Pin
honey the codewitch13-Dec-20 3:53
mvahoney the codewitch13-Dec-20 3:53 
GeneralRe: If I find another programming language easier should I stay with it instead? Pin
User 1106097913-Dec-20 3:57
User 1106097913-Dec-20 3:57 
GeneralRe: If I find another programming language easier should I stay with it instead? Pin
honey the codewitch13-Dec-20 4:06
mvahoney the codewitch13-Dec-20 4:06 
GeneralRe: If I find another programming language easier should I stay with it instead? Pin
Greg Utas13-Dec-20 4:30
professionalGreg Utas13-Dec-20 4:30 
GeneralRe: If I find another programming language easier should I stay with it instead? Pin
honey the codewitch13-Dec-20 4:34
mvahoney the codewitch13-Dec-20 4:34 
GeneralRe: If I find another programming language easier should I stay with it instead? Pin
Sander Rossel13-Dec-20 4:59
professionalSander Rossel13-Dec-20 4:59 
What's this with ICloneable?
It adds a Copy function which you have to implement yourself.
Whether that's a shallow or deep copy or anything in between is up to the implementer.
Microsoft advices against the use of ICloneable (in public APIs) as it doesn't do anything and rolling out your own IDeepCloneable and/or IShallowCloneable would be more clear.

From the docs[^]: "Because callers of Clone() cannot depend on the method performing a predictable cloning operation, we recommend that ICloneable not be implemented in public APIs."

Maybe you're talking about Object.MemberwiseClone Method (System) | Microsoft Docs[^] (which returns a shallow copy)?

GeneralRe: If I find another programming language easier should I stay with it instead? Pin
honey the codewitch13-Dec-20 5:19
mvahoney the codewitch13-Dec-20 5:19 
GeneralRe: If I find another programming language easier should I stay with it instead? Pin
User 1493685313-Dec-20 7:04
User 1493685313-Dec-20 7:04 
GeneralRe: If I find another programming language easier should I stay with it instead? Pin
User 1493685313-Dec-20 7:17
User 1493685313-Dec-20 7:17 
GeneralRe: If I find another programming language easier should I stay with it instead? Pin
honey the codewitch13-Dec-20 7:29
mvahoney the codewitch13-Dec-20 7:29 
GeneralRe: If I find another programming language easier should I stay with it instead? Pin
User 1493685313-Dec-20 7:37
User 1493685313-Dec-20 7:37 
GeneralRe: If I find another programming language easier should I stay with it instead? Pin
honey the codewitch13-Dec-20 7:41
mvahoney the codewitch13-Dec-20 7:41 
GeneralRe: If I find another programming language easier should I stay with it instead? Pin
User 1493685313-Dec-20 7:51
User 1493685313-Dec-20 7:51 
GeneralRe: If I find another programming language easier should I stay with it instead? Pin
User 1106097913-Dec-20 7:52
User 1106097913-Dec-20 7:52 
GeneralRe: If I find another programming language easier should I stay with it instead? Pin
User 1493685313-Dec-20 4:00
User 1493685313-Dec-20 4:00 
GeneralRe: If I find another programming language easier should I stay with it instead? Pin
honey the codewitch13-Dec-20 4:08
mvahoney the codewitch13-Dec-20 4:08 
GeneralRe: If I find another programming language easier should I stay with it instead? Pin
User 1493685313-Dec-20 7:02
User 1493685313-Dec-20 7:02 
GeneralRe: If I find another programming language easier should I stay with it instead? Pin
Richard MacCutchan13-Dec-20 4:05
mveRichard MacCutchan13-Dec-20 4:05 
GeneralRe: If I find another programming language easier should I stay with it instead? Pin
User 1106097913-Dec-20 7:57
User 1106097913-Dec-20 7:57 
GeneralRe: If I find another programming language easier should I stay with it instead? Pin
Richard MacCutchan13-Dec-20 8:20
mveRichard MacCutchan13-Dec-20 8:20 
GeneralRe: If I find another programming language easier should I stay with it instead? Pin
User 1106097913-Dec-20 9:17
User 1106097913-Dec-20 9:17 
GeneralRe: If I find another programming language easier should I stay with it instead? Pin
Richard MacCutchan13-Dec-20 9:48
mveRichard MacCutchan13-Dec-20 9:48 
GeneralRe: If I find another programming language easier should I stay with it instead? Pin
Espen Harlinn13-Dec-20 14:28
professionalEspen Harlinn13-Dec-20 14:28 

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.