Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
But that's just me 🤷♂️
Shipping usually has a source and destination addresses. And possibly some intermediate ones. Making a clear and verbose distinction there feels only natural (at least to me).
Or, you know..
Lexter98737dYou are right guys. Write code like a human.
IntrusionCM427637dThe fun part about adresses: They're different in every part of the world.
Having a general adress object is a good idea.
Country is very unspecific. Usually it's an ISO 3166 code - 2 or 3 digits, dependent on country / preference.
A general object makes sense.
Shipping Information can consist of many things.
Weight Information, Packaging Information , ...
$o -> a();
And no, there's no comments explaining it either.
My email is included at the top on the Author line tho... :)
Cas97Just finished writing a script with all the classes and variables named after the characters from Sherlock Hol...
Christine17OH MY GOD WHO NAMES A CONFERENCE ROOM AFTER AN -ADDRESS-?? At my new job, we had all day training on Friday....
Badr7Me: So what you are doing in the IT field? Him: I am hacking bank websites. Me: OK, that's cool. It is good i...