logoalt Hacker News

eterpstoday at 11:09 AM2 repliesview on HN

I use my_ as a prefix.


Replies

ndsipa_pomutoday at 12:33 PM

I used to use "do" as a prefix e.g. "doBackup"

Nowadays, I tend to skip using a personal prefix and just try to name commands with a suitable verb in front (e.g. "backupMySQL") and ensure that there's no name collisions.

JamesTRexxtoday at 11:56 AM

Whenever I see "my" as a prefix, it feels like such a childish "my first Sony" thing. I hate official sites using that.