logoalt Hacker News

moritzwarhieryesterday at 4:23 PM1 replyview on HN

Entertaining flag name!

React team seems to really have set a precedent with their "dangerouslySetInnerHTML" idea.

Or did they borrow it somewhere?

I'm just curious about that etymology, of course the idea is not universally helpful: for example, for dd CLI parameters, it would only make a mess.

But when there's a flag/option that really requires you to be vigilant and undesired the input and output and all edge cases, calling it "dangerous" is quite a feat!


Replies

wrxdyesterday at 5:23 PM

I’m pretty sure this comes from Claude code’s --dangerously-skip-permissions

show 1 reply