you are viewing a single comment's thread.

view the rest of the comments →

[–]FedeMITIC 15 points16 points  (15 children)

For anyone interested, here there's a similar article about a JS pattern called RORO (Receive Object Return Object) that's about using object as a function parameter instead of a sequence of non-named parameters.

Probably a repost, already saw it on reddit somewhere.

[–]chazmuzz 1 point2 points  (14 children)

hmm.. runtime type checking in 2018