Re:Glamorize Your Problem Domain
by ModernMech on Monday March 27, 2023 @02:45PM
(#35330623)
> The number of people who know compilers well enough to know how to jam them somewhere inappropriate is probably...startingly low, too.
Agreed, I had a number of students complain to me in my programming languages class that I was focusing too much on compilers, and who would ever really need to write a compiler except compiler writers? They would rather I had taught them Go or Python. But I had to tell them, guys, compilers are awesome. There are so many uses! You can use them everywhere!
No one seems to want to :(
Re:Glamorize Your Problem Domain
by ElectricalUnion on Monday March 27, 2023 @03:02PM
(#35330860)
> The number of people who know compilers well enough to know how to jam them somewhere inappropriate is probably...startingly low, too.
Nah, (almost) everyone that don't have a clue what they're doing does this for every app, be it required or not; it's however called "Babel" or "Webpack" because "compiler" is "scary".
Re:Glamorize Your Problem Domain
by marcosdumay on Monday March 27, 2023 @04:04PM
(#35331678)
The discussion is really not about people using compilers on their build systems.
Re:Glamorize Your Problem Domain
by ElectricalUnion on Wednesday March 29, 2023 @03:44PM
(#35362306)
webpack is a very customizable compiler; my take is that once you're deep enough into --config (supposedly only required for non-trivial projects, in pratice, almost every JS project I saw requires extensive webpack mangling to work) you're building your own custom compiler with custom quirks for your project.
I don't think many people would argue with that. I'm just not sure what it is contributing to this discussion.
The number of people who know compilers well enough to know how to jam them somewhere inappropriate is probably...startingly low, too.