News for hackers. Stuff that matters.
Re:The Makefile I use with JavaScript projects by city41 on Wednesday February 28, 2018 @04:25PM (#16487128)
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.
Re:The Makefile I use with JavaScript projects by cesarb on Wednesday February 28, 2018 @05:39PM (#16487877)
> 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-Func...)

Re:The Makefile I use with JavaScript projects by ori_b on Wednesday February 28, 2018 @05:42PM (#16487902)
Why would you add an 'h' to 'pattern'?
Re:The Makefile I use with JavaScript projects by city41 on Wednesday February 28, 2018 @05:47PM (#16487943)
I 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.
Re:The Makefile I use with JavaScript projects by wruza on Thursday March 01, 2018 @12:51AM (#16489977)
"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.)

Re:The Makefile I use with JavaScript projects by oblio on Wednesday February 28, 2018 @04:55PM (#16487457)
I smell a 8 character limitation somewhere :)