News for hackers. Stuff that matters.
Re:Show HN: Ki Programming Language by ki_ on Monday May 22, 2023 @09:39AM (#36031330)
i'll remove it ^_^ it seemed like they want you to use Visual studio and for me it was like 10GB+ for a minimal setup. idk.
Re:Show HN: Ki Programming Language by lagniappe on Monday May 22, 2023 @09:58AM (#36031556)
that whole section, imo, could use a refactor until the language is more complete. established languages don't do that, and your language isn't complete, so until you can knock those other languages off their pedestals you should keep it light and objective with the comparisons.
Re:Show HN: Ki Programming Language by ki_ on Monday May 22, 2023 @10:08AM (#36031653)
yeah, that might be a good idea.
Re:Show HN: Ki Programming Language by Freebytes on Monday May 22, 2023 @01:21PM (#36034133)
That is the IDE, but it is not required for compiling. You should actually use C# .NET 6 and see what they are doing to prevent null exceptions. You must explicitly require the assignment of null or you will get warnings in the IDE and compiler. Here is an example:

public MyClass Students { get; set; }

You will need to create a new object before you leave the class or you will get an error. Or, you can use MyClass? instead, and it will give warnings any time you try to use Students without checking for null first. This is done before compiling so you can check for these null references through the IDE. This is a big change for C# and can effectively eliminate null references (object reference not set to an instance of an object) exceptions throughout your application.