3 ms·
I'm really glad software development has largely moved away from the terse names and symbols that used to be so common. I mean patsubst? What a terrible functio
by city41 9y ago
I'm really glad software development has largely moved away from the terse names and symbols that used to be so common. I mean patsubst? What a terrible function name! At the very least I would have added the 'h' in path.
- oblio 9y agoI smell a 8 character limitation somewhere :)
- cesarb 9y ago> I mean patsubst? What a terrible function name! At the very least I would have added the 'h' in path. The "pat" in "patsubst" means pattern, not path, so adding an h would be incorrect. (https://www.gnu.org/software/make/manual/html_node/Text-Functions.html#index-patsubst-1 https://www.gnu.org/software/make/manual/html_node/Text-Func...)
- ori_b 9y agoWhy would you add an 'h' to 'pattern'?
- city41 9y agoI think that just supports my argument, really. I've never really used makefiles. The blog post talked about using patsubst to change a path. The name of the function essentially gives no clue at all what it does.
- wruza 9y ago"the blog post talked" Isn't that the problem with using blog posts as educational sources? (I'm happy I was learning all my toolkit long before blogs became a thing. It's hard to open and read Physics book, when someone on YT talks funny about its second chapter.)