Hacker News new | ask | show | jobs
by oguz-ismail 599 days ago
Aliases are like C macros

    $ alias foo='seq 3 | '
    $ foo cat
    1
    2
    3
Functions are functions
1 comments

So then use $variables for evil syntactic tricks? That works everywhere. Functions where hygiene counts? Aliases never?
>use $variables for evil syntactic tricks

Can't do that without eval, which is another can of worms. Aliases are fine