Arc Forumnew | comments | leaders | submitlogin
1 point by thaddeus 5155 days ago | link | parent

I can't help but to disagree.

The | is used for wrapping a symbol having spaces i.e. |my symbol|, and by having a vertical bar there it helps me remember I am referencing a symbol, not resolving a named variable.

When choosing between | and !, I'd rather have the exclamation mark.



1 point by Pauan 5155 days ago | link

Note: I was referring to swapping the semantics of . and !

I don't care as much whether it's ! or / or | or whatever, but I feel like . is more natural for property accesses (keep in mind I'm coming from a JavaScript background, so I'm very used to using . in that way)

-----

2 points by thaddeus 5154 days ago | link

> I was referring to swapping the semantics of . and !

As was I, though I could have been clearer.

> I feel like . is more natural for property accesses

Fair enough. I will suggest, even though it's not natural relative to your experience, that the right path to follow on how things should work/behave in arc would be: #1. build on the current language constructs then #2. compare features from other languages and try to incorporate the best/better ones. When it comes to the question of "is language-x's implementation better than the current arc one?" I will suggest our personal preferences are secondary to building on existing arc/lisp constructs. Otherwise the language will get pulled in too many different directions and dependent upon the month (and whomever is comprising the guiding force of arc's evolution) we could find things changing back and forth - and that would be really bad.

-----