|
|
|
|
|
by odammit
2958 days ago
|
|
I disagreed up until the docs section. I like all the other things he critiqued!!1! Rearranging: the punctuation helps you think about how you’re rearranging. You can’t copy/paste around in any function and expect it it work! The records comparison to a struct is unfair. He could have patterned matched on the record instead of destructuring and accessed the attributes of the record. Immutability! Fuck yeah! I tend to name subsequent variables with the mutation that was applied to them. It’s wordy. Name = “wayne” NameCapitalized = ... Now get off my lawn! |
|