Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
C0D4669025yOrders o
Order_items oi
Products p
It works if it makes sense.
- - -
Orders a
Order_items b
Products c
Don't make sense. -
@C0D4 if you put things that annoy people in your sql you will usually be able to find out who 'borrowed' your code
-
@C0D4 in a startup where everyone is a business analyst individuals can incorporate parts of statements or whole queries.
-
@12bitfloat someone who dosen't give f cause left the co shortly after the commit dates
-
I agree with @C0D4
As long as it’s unique and understandable..
Customer c join address a on c.addressId = a.id
Would rename it if it goes into production code though. Some idiots out there don’t understand shit. -
@just8littleBit
I think memorable is important at least while its being written.
I have tried to use ordered letter in the past, only to forget what is what down the road.
Still, if its ordered, at least when you get to z you know you have too many references. -
Last week I had to convert sql code into Spark scala (not my code) and one query went from a-m. Constantly looking back to see what a letter should actually be isn't fun.
Using an accroym is easy and makes so much more sense.
Name thing properly people! -
Have a naming convention for how table names are transformed in code. Someone has to maintain that code after you rant on here about how shit your company is and that you're leaving
Related Rants
who the fuck names their table aliases a, b, c, d... in a long query
rant
sql
dumb colleges
shitcode