Skip to main content
added 1 character in body
Source Link
Marc-Andre
  • 6.7k
  • 5
  • 38
  • 65

Some quick remarks

  • variables should be named using camelCase casing
  • avoid declaring multiple variables on the same line to improve readability.
  • don't trust the users of your app! Never trust them! If you think, hey they can read and follow instructions you will get into great pain. Always check that inputs are valid. That beeing said you should use int.TryParse() instead of Convert.ToInt32()
  • method arguments should be named using camelCase casing as well.
  • let your variables have some room to breathe (see the % operator)
  • don`tdon't use abbrevationsabbreviations for naming stuff. In a few months you won't know what they are about.
  • comments should explain why something is done in the way it is. Let the code speak for itself what is done by using names as descriptive as possible.

Some quick remarks

  • variables should be named using camelCase casing
  • avoid declaring multiple variables on the same line to improve readability.
  • don't trust the users of your app! Never trust them! If you think, hey they can read and follow instructions you will get into great pain. Always check that inputs are valid. That beeing said you should use int.TryParse() instead of Convert.ToInt32()
  • method arguments should be named using camelCase casing as well.
  • let your variables have some room to breathe (see the % operator)
  • don`t use abbrevations for naming stuff. In a few months you won't know what they are about.
  • comments should explain why something is done in the way it is. Let the code speak for itself what is done by using names as descriptive as possible.

Some quick remarks

  • variables should be named using camelCase casing
  • avoid declaring multiple variables on the same line to improve readability.
  • don't trust the users of your app! Never trust them! If you think, hey they can read and follow instructions you will get into great pain. Always check that inputs are valid. That beeing said you should use int.TryParse() instead of Convert.ToInt32()
  • method arguments should be named using camelCase casing as well.
  • let your variables have some room to breathe (see the % operator)
  • don't use abbreviations for naming stuff. In a few months you won't know what they are about.
  • comments should explain why something is done in the way it is. Let the code speak for itself what is done by using names as descriptive as possible.
deleted 124 characters in body
Source Link
Heslacher
  • 50.4k
  • 5
  • 81
  • 175

Some quick remarks

  • variables should be named using camelCase casing
  • avoid declaring multiple variables on the same line to improve readability.
  • don't trust the users of your app! Never trust them! If you think, hey they can read and follow instructions you will get into gratgreat pain. Always check that inputs are valid. That beeing said you should use int.TryParse() instead of Convert.ToIntToInt32()
  • method arguments should be named using camelCase casing as well.
  • let your variables have some room to breathe (see the % operator)
  • don`t use abbrevations for naming stuff. In a few months you won't know what they are about.
  • comments should explain why something is done in the way it is. Let the code speak for itself what is done by using names as descriptive as possible.

(I could say more, but I am on my phone and my fingers starting to hurt. If no one provides another answer I will on tuesday)

Some quick remarks

  • variables should be named using camelCase casing
  • avoid declaring multiple variables on the same line to improve readability.
  • don't trust the users of your app! Never trust them! If you think, hey they can read and follow instructions you will get into grat pain. Always check that inputs are valid. That beeing said you should use int.TryParse() instead of Convert.ToInt()
  • method arguments should be named using camelCase casing as well.
  • let your variables have some room to breathe (see the % operator)
  • don`t use abbrevations for naming stuff. In a few months you won't know what they are about.
  • comments should explain why something is done in the way it is. Let the code speak for itself what is done by using names as descriptive as possible.

(I could say more, but I am on my phone and my fingers starting to hurt. If no one provides another answer I will on tuesday)

Some quick remarks

  • variables should be named using camelCase casing
  • avoid declaring multiple variables on the same line to improve readability.
  • don't trust the users of your app! Never trust them! If you think, hey they can read and follow instructions you will get into great pain. Always check that inputs are valid. That beeing said you should use int.TryParse() instead of Convert.ToInt32()
  • method arguments should be named using camelCase casing as well.
  • let your variables have some room to breathe (see the % operator)
  • don`t use abbrevations for naming stuff. In a few months you won't know what they are about.
  • comments should explain why something is done in the way it is. Let the code speak for itself what is done by using names as descriptive as possible.
Source Link
Heslacher
  • 50.4k
  • 5
  • 81
  • 175

Some quick remarks

  • variables should be named using camelCase casing
  • avoid declaring multiple variables on the same line to improve readability.
  • don't trust the users of your app! Never trust them! If you think, hey they can read and follow instructions you will get into grat pain. Always check that inputs are valid. That beeing said you should use int.TryParse() instead of Convert.ToInt()
  • method arguments should be named using camelCase casing as well.
  • let your variables have some room to breathe (see the % operator)
  • don`t use abbrevations for naming stuff. In a few months you won't know what they are about.
  • comments should explain why something is done in the way it is. Let the code speak for itself what is done by using names as descriptive as possible.

(I could say more, but I am on my phone and my fingers starting to hurt. If no one provides another answer I will on tuesday)