Remix.run Logo
eterps 8 hours ago

I use my_ as a prefix.

k3vinw 4 hours ago | parent | next [-]

That’s a more meaningful prefix than “,” at the expense of a couple more key strokes. I consider that to still be a win in the book of tab completions.

I would replace underscore with “-“ or “.”

ndsipa_pomu 2 hours ago | parent [-]

I'd warn against creating files starting with "-" as that can lead to unexpected results with tools if you forget to use "--" to end options. Nothing wrong with using "my-" as a prefix though.

ndsipa_pomu 7 hours ago | parent | prev | next [-]

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.

JamesTRexx 8 hours ago | parent | prev [-]

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

SoftTalker 3 hours ago | parent [-]

This was actually the same feeling I had when I tried to learn perl. I just had a visceral dislike for "my" as the keyword to declare a local variable.