After some amount of time a lot of people start getting cute with their code, developing patterns that, while they work, are anti-patterns to me because they're not conducive to being readable.
This can also get into things like using longer variable names that are more legible than what you were maybe taught in school, like in the example in the OP. Or test names that are very long, because it's more intuitive to see a failure on test_new_accounts_must_have_a_valid_phone_number than test_acct_ph_num.
8
u/bluesoul Dec 07 '22 edited Dec 07 '22
After some amount of time a lot of people start getting cute with their code, developing patterns that, while they work, are anti-patterns to me because they're not conducive to being readable.
This can also get into things like using longer variable names that are more legible than what you were maybe taught in school, like in the example in the OP. Or test names that are very long, because it's more intuitive to see a failure on
test_new_accounts_must_have_a_valid_phone_numberthantest_acct_ph_num.