Hello,
Here is MyNullable library for Delphi and FreePascal that brings null safety..
Java lacks null safety. When a function receives an object, this object might be null. That is, if you see ‘String s’ in your code, you often have no way of knowing whether ‘s’ contains an actually String unless you check at runtime. Can you guess whether programmers always check? They do not, of course, In practice, mission-critical software does crash without warning due to null values. We have two decades of examples. In Swift or Kotlin, you have safe calls or optionals as part of the language.
Here is MyNullable library for Delphi and FreePascal that brings null safety,
you can read the html file inside the zip to know how it works, and you can
download it from my website here:
https://sites.google.com/site/scalable68/null-safety-library-for-delphi-and-freepascal
Thank you,
Amine Moulay Ramdane.