issa-tseng / janus

the two-faced application library-framework.
http://janusjs.org
37 stars 7 forks source link

Be more precise about ducktype flags, both declaring and checking #124

Open issa-tseng opened 6 years ago

issa-tseng commented 6 years ago

When do we declare a flag? When do we check that flag before performing an operation? When might we use instanceof? Need clearer rules.