3 ms·
Instead of doing "| bill 10.00", I'd do "from payment import bill; bill(10.00)". Now the issue is implementing the payment library, just like you'd have to imp
by icebraining 15y ago
Instead of doing "| bill 10.00", I'd do "from payment import bill; bill(10.00)".
Now the issue is implementing the payment library, just like you'd have to implement the 'bill' program.
Your argument is for composability, and while UNIX utilities are certainly a great example of that (which I use every day!), they're hardly the only. Perl, Python, Ruby, etc all have plenty of small libraries to solve specific problems.