Skip to content

Conversation

penartur
Copy link

mapReduce accepts both code strings and function objects as its map and reduce arguments.

Defining these as function objects instead of code strings in tutorial improves readability, as function objects definition are correctly highlighted, while code strings are treated as plain string literals.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant