Skip to content

Comment on The history of curly braces

Comments

He mentions thqt the backslash was added to the character set to allow the representation of boolean operators when paired with its forward cousin:

    A /\ B \/ C
I wonder why that notation was abandoned in programming languages.

& and ^ are just one character? Actually I think you could use both to disambiguate between logical and bitwise. I'm not sure if it is a good idea yet, but it would force the developer to see them as different operations; something that easily confuses beginners.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.