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

is conflict #45

Closed
es128 opened this issue Nov 15, 2013 · 3 comments

Comments

Projects
None yet
5 participants
@es128
Copy link
Contributor

commented Nov 15, 2013

is is currently being used in dogescript for both assignment and as a comparator. It works, but aside from the potential for confusion and bugs, another side effect of this is the way it's implemented causes all the operators to be very restricted in their usage.

For example, index more 1, which should compile to index += 1, doesn't work.

I suggest the assignment form of is be renamed to as (which is already somewhat implemented), and the operators be made universally available. This will facilitate the addition of also for , and a global removal of the.

An alternative would be renaming the comparator is to same.

@achesak

This comment has been minimized.

Copy link
Contributor

commented Nov 15, 2013

👍

@attilaolah

This comment has been minimized.

Copy link

commented Feb 6, 2014

👍 I'll also weigh in on this one.

@remixz remixz added the Discussion label Jun 6, 2014

@AnEmortalKid AnEmortalKid referenced this issue Oct 11, 2017

Open

2.4 Feature List #114

6 of 15 tasks complete
@AnEmortalKid

This comment has been minimized.

Copy link
Member

commented Oct 11, 2017

Tracking in #114

@AnEmortalKid AnEmortalKid referenced this issue Mar 25, 2018

Open

3.0 Feature List #115

0 of 7 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.