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

Well, I almost typed PHP, since that was my first programming language, but that seems to have a bad reputation around here. The downside to subscripts is I have to write smaller, but I guess they might be better depending on your opinion of sigils. I still remember though wondering why JavaScript, when I was learning it, didn't have dollar signs in front of all its variables like PHP did, since it seemed like a great idea to my younger self. Eventually as I learned more languages and practiced more programming I realized sigils are unnecessary, like Hungarian notation (which I'm glad I never used and I'm glad its practice was basically already dead by the time I picked up programming). People won't get confused. Just like people don't get confused when they see sin3/5pix on paper and misinterpret sin(3/5 * pi * x(t)) as s * i * n * 3/5 * pi * x.


Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: