r/Compilers • • 17h ago

Haze Programming Language

https://www.haze-lang.cc/
0 Upvotes

43 comments sorted by

View all comments

Show parent comment

2

u/Aaron1924 11h ago

I mean it's a valid design choice to make runtime assertions a built-in language feature; D, Ada and Eiffel do something very similar, and some modern languages (e.g. Zig) have built-in unit testing. It's just that none of these language claim that "all contracts are checked at compile time".

-1

u/Top_Marionberry_4413 11h ago edited 11h ago

well this one does, isn't that great? :) they are all checked, the unchecked ones become Result types that need to be unwrapped. so even they are checked.

hey whoever downvoted fuck off im trying to have a conversation here. jeez, reddit cucks, am i right aaron?