3 ms·
My bad, I assumed you would pick the opposite parsing order as default, because we read left to right. I'm not sure if I could get used to 3 * a + 1 gett
by gizmo 17y ago
My bad, I assumed you would pick the opposite parsing order as default, because we read left to right.
I'm not sure if I could get used to
3 * a + 1
getting parsed as
3 * (a + 1)
It would also be really awkward when considering slots/accessors/etc
person.name = "Jack"
surely should never be:
person.(name = "Jack")
- daeken 17y agoThe more I think about it, the more I realize that parsing order just plain wouldn't work. I'm starting to think that while doing things left-to-right could generally work, implementing some sort of simple precedence would probably just be easier. Thanks for the insight. It's threads like these that make me love asking this community for input.