Hacker News new | past | comments | ask | show | jobs | submit login

Lots of code uses octal. Its still the standard way of notating file permission bits on unix: os.Chmod(filename, 0777).

You would break so much code if you just threw that away.




> standard way of notating file permission bits on unix: os.Chmod(filename, 0777)

... and honestly, is the ONLY place where I have ever seen octal been used.


> Chmod(filename, 0777)

Nice example of something else that should have been depreciated about 35 years ago.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: