News for hackers. Stuff that matters.
Re:(On | No) Syntactic Support for Error Handling by nine_k on Tuesday June 03, 2025 @06:52PM (#44175632)
IDK, Python was fine grabbing list comprehensions from Haskell, yield and coroutines from, say, Modula-2, the walrus operator from, say, C, large swaths from Smalltalk, etc. It does not matter if the languages are related; what matters is whether you can make a feature / approach fit the rest of the language.
Re:(On | No) Syntactic Support for Error Handling by platinumrad on Wednesday June 04, 2025 @02:53AM (#44177864)
Generalized do notation as GP is proposing requires HKT. I don't think it's controversial to say that Go will not be getting HKT.
Re:(On | No) Syntactic Support for Error Handling by pjmlp on Saturday June 07, 2025 @03:22AM (#44208041)
The := is from Pascal, not C.