4 ms·
"Primitive" seems like the wrong word to apply. A modern Python programmer (a common example) might think that anything not OOP is archaic. But OOP is just one
by heresie-dabord 4y ago
"Primitive" seems like the wrong word to apply. A modern Python programmer (a common example) might think that anything not OOP is archaic. But OOP is just one design pattern. And... it can easily lead to over-engineering and delight in the pattern per se.
Bash, awk, grep et alii don't do OOP. But they are close to the data and are powerful.
Compaints about the notation of these tools (e.g. "line noise") are becoming silly now that we've seen the appearance of some Powershell and Python statements. Any non-trivial notation will have to make choices. ^_^
- HyperSane 4y ago""Primitive" seems like the wrong word to apply" Painful, ugly, unpleasant?
- heresie-dabord 4y agoI guess you would admit that beauty is subjective. Beauty in tooling is an even more rarefied discussion. Code that we might deem "beautiful" may not even compile. ^_^ Does the tool do what it needs to do without getting fussy, gobbling RAM, and requiring a small army of maintainers to feed the monster? There is most definitely a place in technology for that kind of sanity. There is something to be said for a design that doesn't bring with it a brigade of Opinions-As-A-Service proponents. Any non-trivial notation is going to require learning. There is absolute value in learning. I think of many flexible and effective notations in tooling that has literally been the foundation of modern computing. Maybe we are in the age of the Mono-Notation Luxury Coder. ^_^
- sargstuff 4y agogrep is a domain specific language. Bash and gawk don't have direct in-language support for OOP, but can be used/abused to do things in an oop manner. aka without in-language support (abstractions/api), takes much more effort to do/understand OOP approach.