r/javascript • • May 15 '17

Don't Overcomplicate Javascript #0

https://bits.ristic.io/dont-overcomplicate-javascript-0
35 Upvotes

34 comments sorted by

View all comments

6

u/tudor07 May 15 '17

Doesn't really occur to me as a use case.

The author needs to understand that this is not a good argument at all.

1

u/ex1-7 May 15 '17

they're saying "it doesn't really occur to me as a use case" but implying that there doesn't exist a good use-case for it at all. It'd be more convincing if you described such a such case, even broadly. The way I see it, Redux is undebatedly boilerplate heavy. This interface layer between strings and constants isn't more burdonsome than the other Redux abstractions, but it's utility is not necessarily as apparent.

1

u/acemarke May 15 '17

FWIW, I discussed some of why action constants exist in the first place in my recent post The Tao of Redux, Part 2 - Practice and Philosophy.