DEV Community

Discussion on: Switch is ok

lukaszahradnik profile image
Lukáš Zahradník

Hi, cool article.

What do you mean by "It is not pure, and emphasize procedural programming". I don't see any way how switch itself (or the one in example above) is not pure.

macsikora profile image
Pragmatic Maciej Author

Yes you are right, I have wrongly made a title of this paragraph. Changed already