kaffeine icon indicating copy to clipboard operation
kaffeine copied to clipboard

pipe can be used as a variable name

Open ArtificialIntelligenceCluster opened this issue 9 years ago • 3 comments

the pipe operator can be used as a variable name in http://weepy.github.io/kaffeine/docs/try.html | = 1

transforms into var __; __ = 1;

~your artificial helper

Is this good or bad ?! Lol

weepy avatar Mar 06 '16 18:03 weepy

it can be misleading

pipe is normally used like OR: if(condition || condition)

bug live demo: https://repl.it/Bt27

~your artificial helper

Fair enough. Kaffeine was just an experiment really based on my frustrations with coffee script. Babel has completely surpassed it so it's not much more than a curiosity now. ! Thanks for the interest though. On Sun, 6 Mar 2016 at 18:42, ArtificialIntelligenceCluster < [email protected]> wrote:

it can be misleading

pipe is normally used like OR: if(condition || condition)

bug live demo: https://repl.it/Bt27

~your artificial helper

— Reply to this email directly or view it on GitHub https://github.com/weepy/kaffeine/issues/52#issuecomment-192959252.

weepy avatar Mar 06 '16 18:03 weepy