News for hackers. Stuff that matters.
Re:Felix: A compiled (to C++) scripting language by unsignedqword on Sunday July 10, 2016 @04:32PM (#12067143)
IMO lack of initialization in a language should be explicit, not implicit, e.g. DLang:

  import std.array : uninitializedArray;

  int a;                                   /+ defaults to '0' +/
  int b = void;                            /+ not initialized +/
  bool[5] c;                               /+ defaults to array of 'false' +/
  auto d = uninitializedArray!(bool[])(5); /+ not initialized +/
Re:Felix: A compiled (to C++) scripting language by hellofunk on Sunday July 10, 2016 @04:41PM (#12067175)
I agree. In Swift, an uninitialized variable must be set to nil and have the properties of an optional for it to compile. Not a bad idea.

Using 'auto' in C++ forces out uninitialized variables as well.