A nice little article but your first code example for functional programming is misleading.
The array declaration used for both // Instead of: and // Prefer: is shown visually to be a part of the // Instead of: block.
This might suggest to the user at a glance "oh, the new way is prettier". But it's a misrepresentation of what's going on.
Sorry to be a neg, but you're going to sell an idea, you gotta sell the truth.
You're absolutely right, my bad. It's fixed π
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
A nice little article but your first code example for functional programming is misleading.
The array declaration used for both // Instead of: and // Prefer: is shown visually to be a part of the // Instead of: block.
This might suggest to the user at a glance "oh, the new way is prettier". But it's a misrepresentation of what's going on.
Sorry to be a neg, but you're going to sell an idea, you gotta sell the truth.
You're absolutely right, my bad. It's fixed π