Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Macro syntax consistency with AbstractPlotting #66

Open
piever opened this issue Jan 24, 2021 · 1 comment
Open

Macro syntax consistency with AbstractPlotting #66

piever opened this issue Jan 24, 2021 · 1 comment

Comments

@piever
Copy link
Contributor

piever commented Jan 24, 2021

The "helper macros" here use the & syntax to denote observables that trigger an update, e.g. @map &x + &y (see docs). At the time, this was somewhat inspired by the ampersand operator in C, even though tbh I'm not able to give a consistent argument in favor of it at the moment.

OTOH, in AbstractPlotting, which uses a very similar macro, the observables that trigger an update are denoted by $, e.g. @lift $x + $y (see docs).

From what I understand, Observables is going towards a 1.0 release, so I thought it was relevant to figure out whether we want a unified syntax and, if it is Observables that should change, make the change before tagging 1.0.

@timholy
Copy link
Member

timholy commented Jan 26, 2021

I haven't followed this area at all myself, but that sounds good to me. My current thinking is that currently we have one deprecation (notify!). Perhaps we should call the next release 0.4.0, and then when we delete the deprecation we release 1.0. That gives us a chance to play with the new version for a bit and decide whether there are any other important API changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants