#defaultvalues — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #defaultvalues, aggregated by home.social.
-
Destructuring Defaults Are TRICKY?!
Destructuring defaults have LAYERS! Nested defaults work differently than you think. undefined triggers defaults, but missing properties don't! This is confusing!
#javascript #javascripttricks #destructuring #defaultvalues #nesteddestructuring #javascriptweird #javascriptquiz #codingchallenge #javascriptshorts #javascriptwtf #objectdestructuring #advancedjavascript
-
Default Values of Arrays and Referencing Arrays in C# Tip #45 - This explanation covers default values in arrays. For integers, default is 0; for strings, it's null. It also demonstrates how arrays are reference types—assigning one array to another copies the reference, not the data. Modifying one affects the other. #Arrays #DefaultValues #NullCoalescing #CSharpBasics #ProgrammingConcepts #ReferenceTypes #CodingTips #DotNet #LearnToCode