Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

\ is a backslash

/ is a forward slash, a.k.a. simply “slash”



Not sure why I always get this wrong. Maybe it is because when I draw these characters on a surface, I start from the top not the bottom. Hence the line goes forward for a "backslash" and backward for a "forward slash". What is the etymology of these terms?

Probably better to just use "escape" for backslash and "slash" for forward slash.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: