Comment

Comment by simonblack

That depends on the context or the language you are using. In some computer languages those signs can mean entirely different things.

In the bash scripting language '>>' means 'append to the named file' as in:

     echo "what?" >> my_file
In C, '>>' means 'shift the value right by one bit' while '<<' means 'shift the value left'. However, in C++, '<<' can also mean 'write to standard output'.

No confusion at all possible, ya think?

parent simonblack 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton