Which one do you prefer for calculating factorials on your Linux and Unix machin...
nixCraft 🐧 @nixCraft@mastodon.social
Which one do you prefer for calculating factorials on your Linux and Unix machines: the more readable human version, or an RPN stack calculator?
```
echo '5[d1-d1<F*]dsFxp' | dc
```
OR
```
echo "define f(x) { if (x <= 1) return 1; return x * f(x-1); }; f(5)" | bc -l
```