Comment

Comment by mucholove

Thank you for such a thoughtful answer!

I did ask the question on Twitter. :)

Not entireley convinced but I’m certainly looking forward to using it.

One more thing—how would you do error handling?

Thinking out loud here: it would be nice if NSObject had a method `isError` that went something like `self isKindOfClass:[NSError class]` so that you could return error in a more clean way. Wonder, what would mpw do?

Another question—how to MPW multiple return items? (My guess is that the return items would be mutable? Like a mutable string. Could work with numbers if you had such a thing as NSMutableNumber.)

parent mucholove 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton