Version control, please

Version control Learning code is always fun and so should doing version control. Isn’t it fun to build variables, classes, methods, properties, events, etc.? If you have started to learn how to code, in any language, please spend time to appreciate the value of version controlling your code. Git and Mercurial (aka Hg) are both free and […]

String is immutable

Someone asked me an interesting question. String is immutable. So how can we reassign a value to a string variable? Example of string immutable // assign a value to a string variable string firstname = “John”; // string has immutability, but we can still change the value? how? firstname = “Matt”; The computer allocates memory […]