Skip to content

compiler switch to always initialize all variables  #2

Description

@janwilmans

this would have to make the compiler give an error message for every place where you are not initializing a variable. This behaviour is borrowed from java local variable behaviour and actually makes tons of sense as a default.

this would include:

  • static variables
  • local variables
  • thread local variables
  • member variables
  • (arg) global variables

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions