activity/tools/exp
Cory Slep c4425ee50e experimental: Keep single-type special-case API
After deliberating on the APIs for properties that can have a single
type vs multiple types, I've decided to keep the distinctly separate
APIs for the single-type properties. This means humans reading the APIs
will use simpler and more reasonable getters/setters, etc. However, by
default the two kinds of properties will not be able to satisfy the same
interface.

If this is needed, in the future we can auto-generate thin-wrapper types
around single-type properties that cause them to have a shared API with
the multi-type properties. But that won't be tackled for now, as its
expected use case is small.
2018-10-16 22:08:10 +02:00
..
main Support natual language maps for properties. 2018-10-16 22:00:18 +02:00
funcprop.go Support natual language maps for properties. 2018-10-16 22:00:18 +02:00
method.go Add comments, clean up code 2018-10-10 00:32:37 +02:00
nonfuncprop.go Support natual language maps for properties. 2018-10-16 22:00:18 +02:00
property.go experimental: Keep single-type special-case API 2018-10-16 22:08:10 +02:00
struct.go Add comments, clean up code 2018-10-10 00:32:37 +02:00
typedef.go Add comments, clean up code 2018-10-10 00:32:37 +02:00