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

As the token programmer in a big group of (now graduated) math major friends, the first thing I did when sitting down to help them with Mathematica was completely reindent their code, which was always followed up by "Wow! It looks so much better now!" Is it perhaps endemic to the culture of the language?


I think it's somewhat endemic to the notebook interface where your code grows by accretion from a oneliner function.

Whenever I help novices with their code I ask them to transform all their cells that are not oneliners into code cells which require manual indentation.


Or it's just how amateurs write code before they no better.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: