4 ms·
Sure it can be misused, but honestly, all the macros I've seen so far make sense that they are macros and they make things easier to read and write. I'd rather
by bcheung 7y ago
Sure it can be misused, but honestly, all the macros I've seen so far make sense that they are macros and they make things easier to read and write.
I'd rather have a small simple concise 1-liner, than being forced to write 20 lines of code otherwise.
In Go you have `if err != nil` on every other line it seems and that makes things hard to read. The `try!` macro which later became the `?` makes things much easier to read IMO. Especially when you have to drill into something nested.