Data modeling / Naming pro tip: Talk to a non technical person and jot down the nouns and adjectives they use when talking about your problem/data domain.
-
-
-
this is really great advice, I liked it, but I wanted to formally second it as something people should do
End of conversation
New conversation -
-
-
Right now I'm looking at the column "field_location_contrib_address_value" in the table "field_data_field_location_contrib_address".
-
Drupal was a mistake that we will all pay for
- 2 more replies
New conversation -
-
-
just use find and replace we’ll fix it in minutes
-
Wtophat could go wrong.
-
it's a clbuttic!
End of conversation
New conversation -
-
-
Referer:
-
I'm still pissed about this
End of conversation
New conversation -
-
-
Always use single character variable names so that the reader can imagine whatever name they want.
- 1 more reply
New conversation -
-
-
I found one boolean that said "isChild", which actually showed if a certain record had children (lol). A whole backend was written on top of that, with many hands thinking if the record was a child or if it had children... I'm putting an end to it
-
Change it to "isWithChild"
-
That's exactly how easy I thought it was going to be :p. Remember that some people made a whole new code based on the assumption that the record was a child of another.
End of conversation
New conversation -
-
-
There are only two hard problems in computer science: cache invalidation, naming things, and off by one errors.
- 1 more reply
New conversation -
-
-
Coming up with great names is hard for me. But, as the program and concept evolves, it gets very clear if a name is fitting or not. I normally change it immediately then, otherwise, the code base becomes obfuscated and incomprehensible.
-
Sometimes a name is good when it is first written, but as the program and concept evolves, the name no longer fits, and needs to change.
-
Yeah, that surely happens a lot. I do find DB name changes quite the most error-prone ones, and I see that I am most resisting in changing those. And package names.
-
I'm still trying to figure out how to painlessly rename a DB column or table.
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.