logoalt Hacker News

cloogshicertoday at 11:11 AM1 replyview on HN

But you have to know all of them to read other people's code.

To answer your question: I would immediately get rid of guard.

Also, I think the complexity and interplay of structs, classes, enums, protocols and now actors is staggering.


Replies

willtemperleytoday at 2:15 PM

I'm surprised, guard is really useful, especially when unwrapping optionals. It's terse, explicit and encourages defensive programming.

internal should definitely go though.

show 1 reply