logoalt Hacker News

f1shy • today at 5:22 PM • 2 replies • view on HN

>> needs (or at least is of good use) such a tool.

Of course there are people who do not need that tool. The thing is, other languages doesn’t need such an explanation tool at all, is very much enough with reading a small book. I personally would like C++ to not really need it, but clearly as I stated: maybe “the only one”


Replies

kccqzy • today at 8:09 PM

> other languages doesn’t need such an explanation tool at all

Plain old C has -E to expand macros. Rust has cargo expand. Haskell has -ddump-simpl. Common Lisp has macroexpand. Any language that has a complicated syntax or allows the user to customize the syntax needs such a tool. Whether such a tool actually exists reflects more on popularity and community desire.

drysine • today at 7:06 PM

>other languages doesn’t need such an explanation tool at all

Are you sure about that?