BHoM / admin

Repository for raising central issues and questions; Regarding governance, process and multi-repo and framework compliance
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Allow nullable primitive types, so they can be used as return type #7

Open alelom opened 4 years ago

alelom commented 4 years ago

Description:

As discussed in the Error Management Workshop (notes here).

Nullable primitive types would allow for an additional mechanism for better error handling. Instead of returning a boolean or an empty data in case a method fails, we could return a null.