I think I got a Skype message from 14 hours ago, but I'm not 100% sure, because the time the message arrived is correct in the timezone of the sender. awkward
In your experience with C# the language what would you say is the one thing that you have found yourself repeating over and over again from project to project
It was a Google Talk. My favourite part was: All of you are not good at writing code. I am better than all of you. The whole of Google. You don't know what you are writing
@James you will learn why understanding things at a lower level that you are operating at is a good practice and how it reflects in the nature of projects that you produce
The code doesn't produce any errors I just wanted to check if there is a special approach to coding something on load vs when the app is actually running
public void appTermInitialisation()
{
var initiateOnLoad = new ViewModels.terms();
var initialisationValue = initiateOnLoad.onAppLoad();
termDescription.Text = initialisationValue.ToString();
}
So @KendallFrey it is a bad practice to use the constructor to do more than construction. And I get the impression I am a prenewbie because I have not yet started my coding career
> When an array initializer is used in a field or variable declaration, such as: int[] a = {0, 2, 4, 6, 8}; it is simply shorthand for an equivalent array creation expression: int[] a = new int[] {0, 2, 4, 6, 8};
I think the former is known as an initializer, and was added to the language later to make the initialization of other collection types look like the initialization of arrays. Of course, it wouldn't have made sense to specifically exclude arrays themselves from being able to use that shorthand as well
You should, in that you'll recognise both as meaning the same thing. I think the convention is usually to avoid repeating the same symbol in a declaration when you can help it
The .NET framework libraries are exemplary of naming convention
I know Hungarian notation was prominent with Windows Forms in the late 1990's with but what is so bad about it today? Is it the fact that it is being abused or it is inherently as evil as dynamic typing with extreme late binding and lazy evaluation
What language the semantics apply to are irrelevent. I'm simply saying Microsoft's recommended naming convention is to always use camelCase and not CamelCase
@KendallFrey I'm not disagreeing, I was just pointing out that when you ready camelCase in the Microsoft docs for C#, understand it as lowerCamelCase only
In most Unix-bred languages, it is preferable to keep variable names short at whatever expense and Java was considered an abomination for not respecting that
I asked a question regarding Hungarian Notation that is stupid but has me wondering: I know Hungarian notation was prominent with Windows Forms in the late 1990's with but what is so bad about it today? Is it the fact that it is being abused or it is inherently as evil as dynamic typing with extreme late binding and lazy evaluation