Skip to main content
msanford's user avatar
msanford's user avatar
msanford's user avatar
msanford
  • Member for 12 years, 8 months
  • Last seen more than a month ago
awarded
awarded
awarded
awarded
awarded
awarded
awarded
Loading…
revised
Loading…
Loading…
awarded
awarded
awarded
awarded
comment
Using RxJS Observables to mediate routes in nodejs
@Aaron You should up-vote this answer, possibly accept it (after a while) and check out codereview.meta.stackexchange.com/a/73/12407 (This site works slightly differently than SO).
comment
Merging JSON and inserting into the DOM
Teeny-tiny style point: when an arrow function takes exactly one argument, the parenthesis are optional; i.e., .map((key) => object[key]) can be written .map(key => object[key]) which some people find more readable.
comment
Most frequent integer in a list
Somewhat trivial, but since I think documentation is important: occurrence, occurring take two 2 rs. As a matter of habit, spelling matters. I work in a trilingual office, and I can't tell you the number of times we've missed parts of a length refactoring because half of us write it phonetically (in our accent) as lenght.
comment
Formatting mm:ss to string with Javascript
@AaronGoldsmith "Too repetitive" is arguably a synonym of "easily understood", which is not a bad thing; code is not literary prose.
accepted
comment
Safely pruning merged topic branches locally
Many references I've encountered explaining trap tend to show them at the end of a script. I did not realize they were only registered when they were encountered (though, saying that aloud I do feel rather inane). Useful information!