issues
search
sgb-io
/
sweary-linus
A learning exercise about programming languages and styles, featuring sweary wizard-man Linus Torvalds.
8
stars
0
forks
source link
Refactor functional javascript implementation
#4
Closed
sgb-io
closed
6 years ago
sgb-io
commented
6 years ago
Break up the code with functions
Fewer variables, (probably) reduced memory footprint
Swap some
forEach
loops for
map
where appropriate
forEach
loops formap
where appropriate