@bgl@hackers.pubbgl gwyng
@hongminhee@hackers.pub洪 民憙 (Hong Minhee) unwrap을 '죄책감'으로 취급하기에는 저는 unwrap을 명시적으로 부를 수 있다는게 오히려 큰 장점이라고 생각해요. panic이 나면 버그인거고, 그 버그를 트래킹할 때 unwrap을 부른 부분만 조사하면 되니까 인지하기 쉬우면서, 버그가 일어나지 않는 상황에서는 분기를 줄여서 가독성이 향상되니까요.
@pbzweihander쯔방
@bglbgl gwyng 저는 그냥 null coalescing을 잘 하면 되는데 왜 unwrap을 할까 하는 생각에 가까운 것 같아요.
If you have a fediverse account, you can quote this note from your own instance. Search https://hackers.pub/ap/notes/0197b531-00ef-7476-92c9-ce9a2a260a64 on your instance and quote it. (Note that quoting is not supported in Mastodon.)