|
Call Accenture in for a consultation.
Aren't they the experts in Best Practices that management relies on?
|
|
|
|
|
Marc Clifton wrote: "a method does one thing only" (whatever the acronym for that is)
There's no Acronym for it I know of, it's simply the "Single Responsibility" principle and thus the S in the SOLID principles of object oriented programming. It goes for the whole class though not just for the method itself. It's essentailly the UNIX philosphy[^] either way.
In your special case you really might want to look into the "OData and Authentication" Articles [^] to give you a slightly different approach into authentication of some sorts or rather: a different place to hook up your authentication (assuming that's what you want to use the token for).
But coming back to the topic, there's many priciples like DRY, KISS, YAGNI, SOLID and they all make sense and are perfectly clear when it comes to a clean and maintainable program that's rather self-documenting. And it is definitely worth it to stay true to these priciples for as long as you can. They are however still principles and not rules and you might not always, or rather can't always follow them as closely as you might want to. Especially if you factor in time constraints you usually have if you develop an application in a business environment.
In the end it is a real shame, since they exist for a reason.
|
|
|
|
|
|
I call time travel shenanigans
|
|
|
|
|
There meant to be.
If you do it, you love it. If you love it, put a pride with it (DON!).
|
|
|
|
|
Met my doppleganger. Too bad for him only one Most Handsome Man in the World can exist.
|
|
|
|
|
|
Don't worry - the UK still hasn't fully converted either.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Bottles hold ml, beer comes in pints.
Food is sold by the Kg, but people are weighed in stones and pounds.
We buy cloth by the m, but drive by miles.
That's pretty much metric, right there - Human stuff in human units, manufactured stuff in metric (except some of the beer, obviously).
And when will the world adopt the metric DateTime?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
OriginalGriff wrote: Food is sold by the Kg,
But everyone over 35 still complains about that, and has to mentally convert it to pounds and ounces.
OriginalGriff wrote: metric DateTime?
Obligatory xkcd[^].
But it still takes nine paragraphs to explain the difference between "12:00 AM" and "12:00 PM":
12-hour clock - Confusion at noon and midnight - Wikipedia[^]
Maybe we should all switch to decimal time[^]?
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Looking at the current situation, I would like to have my weight in Euros, not Pounds.
|
|
|
|
|
That could be a stone around your neck!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Do you mean a mill-stone, or 14lbs?
If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack.
--Winston Churchill
|
|
|
|
|
A milli-stone, or possibly microstone.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
|
Some people I see around, should be weighed in KiloStones!
Get me coffee and no one gets hurt!
|
|
|
|
|
You know we wraiths don't like to get wet[^]. Still, even in the worst case we only need to get ourselves a new black shroud and something to ride.
|
|
|
|
|
|
I sure prefer the ISO 8601 date format (reason 1: sorts correctly, reason 2: is not confused with hh:mm:ss, reason 3: is not confused with other date formats) - but I never saw it as having antyning to do with the meter. Time isn't measured in meters.
Sure, you do not measure beer in meters either, but 1 cubic meter of beer is 2000 half liters, so there is a connection. (And then you of course have derived units like square liter - the amount of floor space covered when you tip over two full half-liter glasses of beer.)
Sure, 8601 first became popular in countries also using metric units, but that doesn't imply that everything we do is 'metric'.
|
|
|
|
|
USA: Switching to the metric system... inch by inch.
Whenever you find yourself on the side of the majority, it is time to pause and reflect. ~ Mark Twain
|
|
|
|
|
As I've posted here, now and again, the US remaining on the current system was foresight and insight into the coming of the computer age.
For example:
dram 2^-4 oz
ounce 2^0 oz
gil 2^2 oz
cup 2^3 oz
pint 2^4 oz
quart 2^5 oz
gallon 2^7 oz
&etc.
All powers of two, perfectly represented in binary.
That metric crap? Truncation errors abound. Intrinsically Inaccurate for binary representation. Suitable, primarily, for those who must count on their fingers.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
|
W∴ Balboos wrote: Suitable, primarily, for those who must count on their fingers. The Danes still count on their toes as well. Fifty is "half threescore" ("halvtreds"), sixty is "threescore" (treds) etc.
This way of counting is said to have roots older than the indoeuropan migration into Western Europe.
|
|
|
|
|
Member 7989122 wrote: Fifty is "half threescore" ("halvtreds"), sixty is "threescore" (treds) etc. See what comes of going metric! In the USA, half three-score is only thirty. I guess we've some catching up to do.
Consider yourself lucky you're not French - they only managed to figure out up to sixty, then they went to sixty-ten instead of seventy (&etc.). Actually, upon consideration, it explains a lot about how they do things.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
The logic behind "half threescore" etc. is that it is halfway from twoscore to threescore.
Even though Norwegian doesn't count by scores(*), for small numbers we use a similar logic: One and half is frequently referred to as "halvannen", i.e. "halfway to the second". Somewhat depending on dialect, "halvtredje", "halfway to the third" or even "halvfjerde", "halfway to the fourth", can be heard, although only "halvannen" is the only one active used in all Norwegian dialects.
(*) Score, or Norwegian "snes", is somewhat archaic, but for some reason eggs may still be counted by scores. I have asked a number of young people whether they still know/use the term "snes", and half of them say "som ett snes egg, mener du?" ("like in a score of eggs, you mean?"). But then, several of the younger ones know the term, but believe it is another word for dozen.
|
|
|
|