News for hackers. Stuff that matters.
Re:Don't Be Afraid of Types by pseudocomposer on Saturday March 22, 2025 @01:17PM (#43447203)
Or there’s Rust, where types are very strictly mere containers for data and nothing else (until you add traits).
Re:Don't Be Afraid of Types by xigoi on Saturday March 22, 2025 @01:41PM (#43447330)
Or any other non-OOP language. Why do rustaceans seem to think that Rust invented imperative and functional programming?
Re:Don't Be Afraid of Types by maleldil on Saturday March 22, 2025 @05:12PM (#43448670)
It was just an example, sheesh. The point is that many mainstream languages get caught in OO soup, even those that don't have to.