News for hackers. Stuff that matters.
Re:A Programmable Programming Language by kerkeslager on Sunday February 25, 2018 @10:03AM (#16459250)
> Yeah, but in that sense, C is "just syntactic sugar" for Assembly.

That's not true in anywhere near the same sense. There's not a 1 to 1 correspondence that lets you transform C semantics into assembly. Assembly has no counterpart to C types, for example. And if you recognize that your initial argument is flawed, the rest of what you're saying falls apart.

> Like I don't need functions or methods, either, but that doesn't mean that I should avoid their use.

If you can point out where I said you should avoid the use of DSLs I'll be very surprised.

What I said is that the cost of implementing a DSL is rarely worth it, given a library will often provide 90% of the benefit a DSL with 10% of the effort.

> Yes, it's time consuming, but abstractions provide real value in programming.

Yep. And functions are an abstraction which has a very low cost in most programming languages and provides.

> All you're really saying is "I can implement a regex engine in C."

If that's what you think I said, you should read what I said again.

There are no comments on this comment yet.