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

for my own code, I use 'me' instead of 'self'. Just makes more sense to me; e.g. me.variable that is, the one referenced right here ('me') is being referenced, not from anywhere else. It's also shorter; and I think more descriptive. But that's just me.


me.variable sounds Irish to me, at least compared to my.variable.


And my.variable sounds Perlish.


That's because Perl was intended (Larry Wall was trained as a Linguist) to somewhat mimic natural English.


That's a fascinating tidbit. You wouldn't exactly guess it from reading Perl.


>Larry Wall was trained as a Linguist

Having an undergraduate degree doesn't make somebody a linguist. Let me know when he has contributed to the field through scholarly work. Doing Bible translations doesn't count.


> me.variable sounds Irish to me

Only if you're used to the derogatory, clichéd "American TV" version of Irish.




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

Search: