zlacker

[return to "The Case for Nushell (2023)"]
1. wpm+XC[view] [source] 2026-01-07 18:37:53
>>raveni+(OP)
Is

for i in 1..10 {

    print $i
}

really all that more readable than

for i in {1..10}; do

    print $i
done

Like, am I taking crazy pills? They're basically exactly the same!

◧◩
2. cassep+JP[view] [source] 2026-01-07 19:34:50
>>wpm+XC
I have never seen the second version. Apparently it's there since bash 3.00 (2004). Maybe took inspiration from zsh who also has (or a common ancestor ?)
[go to top]