Comment by jen20 Comment by jen20 a day ago 6 replies Copy Link View on Hacker News If Pascal doesn't have required exhaustive pattern matching, it's no better than Go or C# in this regard.
Copy Link pjmlp a day ago Next Collapse Comment - Go is the one being discussed as ignoring history.C# thankfully was designed by someone that appreciates type systems, maybe you should revisit it. Reply View | 1 reply Copy Link jen20 a day ago Parent Collapse Comment - Not enough to add sum types or exhaustive pattern matching... now F# - that was appreciated by someone that appreciates type systems. Reply View | 0 replies
Copy Link jen20 a day ago Parent Collapse Comment - Not enough to add sum types or exhaustive pattern matching... now F# - that was appreciated by someone that appreciates type systems. Reply View | 0 replies
Copy Link frou_dh a day ago Prev Collapse Comment - Does Pascal's break down like this Go does? func f(x StatusCode) { } f(728347) // There's no such status. Whateverz, no compile error. Reply View | 3 replies Copy Link Mawr a day ago Parent Collapse Comment - How often do you pass literals into your functions? f(728347) // There's no such status. Whateverz, no compile error. a := 728347 f(a) // Compile error. Reply View | 2 replies Copy Link frou_dh 21 hours ago Root Parent Collapse Comment - The nature of Swiss cheese is that it can't be all hole and there has to be some non-hole too Reply View | 1 reply Copy Link jen20 14 hours ago Root Parent Collapse Comment - Raclette is Swiss cheese without holes. That is proper ADT in this anaology. Reply View | 0 replies
Copy Link Mawr a day ago Parent Collapse Comment - How often do you pass literals into your functions? f(728347) // There's no such status. Whateverz, no compile error. a := 728347 f(a) // Compile error. Reply View | 2 replies Copy Link frou_dh 21 hours ago Root Parent Collapse Comment - The nature of Swiss cheese is that it can't be all hole and there has to be some non-hole too Reply View | 1 reply Copy Link jen20 14 hours ago Root Parent Collapse Comment - Raclette is Swiss cheese without holes. That is proper ADT in this anaology. Reply View | 0 replies
Copy Link frou_dh 21 hours ago Root Parent Collapse Comment - The nature of Swiss cheese is that it can't be all hole and there has to be some non-hole too Reply View | 1 reply Copy Link jen20 14 hours ago Root Parent Collapse Comment - Raclette is Swiss cheese without holes. That is proper ADT in this anaology. Reply View | 0 replies
Copy Link jen20 14 hours ago Root Parent Collapse Comment - Raclette is Swiss cheese without holes. That is proper ADT in this anaology. Reply View | 0 replies
Go is the one being discussed as ignoring history.
C# thankfully was designed by someone that appreciates type systems, maybe you should revisit it.