Evan Hahn
evanhahn.com
Evan Hahn
@evanhahn.com
this is incredible...
November 20, 2025 at 2:24 AM
I haven't used it but eslint-plugin-functional might work for this. Let me know if you try it.
November 19, 2025 at 7:36 PM
TypeScript has something similar, but it's not the default. In other words, if you want an array to be readonly, you have to manually annotate that.

Does Flow have a way to make readonly the default?
November 19, 2025 at 1:15 PM
Makes sense. I'd love this to be built in but I understand why they haven't landed that.
November 18, 2025 at 7:14 PM
Oh, interesting. Is there any documentation for how this works?
November 18, 2025 at 3:02 PM
Love to see all these patterns codified in one place. I had hoped to be able to make these the default—so you didn't need to do these patterns—but I'll stick with these for now. Thanks for sending!
November 18, 2025 at 3:00 PM
I enjoy how much I hate it...
October 24, 2025 at 12:25 AM
your username is....so good.... this is a great honor
October 23, 2025 at 5:24 PM