|
Sneezing fits are horrible while driving. Before I had medications for my pollen allergy I was worried, as allergy sneezes often come up completely sudden and very violent, causing spasms to the arms.
I almost drove myself into a wall accelerating (the nseeze contracted both my arms and accelerator feet) in a tight curve thanks to such a sneeze.
GCS d-- s-/++ a- C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
It would have been disastrous if you had been talking to Siri then.
... such stuff as dreams are made on
|
|
|
|
|
Probably: I rarely talk while driving. Either because I'm alone or because my wife talks enough for both of us (and half a dozen other).
GCS d-- s-/++ a- C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
If you are what you eat, are cannibals the victims of crime?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Chew think that might be a bone-afide assertion? Implies doing this to themselves, sort of, sounding ever so much like a perverted form of mastication.
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 |
|
|
|
|
|
It was a one eyed one horned flying purple people eater...
Everyone has a photographic memory; some just don't have film. Steven Wright
|
|
|
|
|
What would that make John McAfee if bitcoin doesn't hit $1B by 2020?
"Go forth into the source" - Neal Morse
|
|
|
|
|
Oh I can't stomach cannibals.
|
|
|
|
|
Some may find that reasoning hard to swallow.
/ravi
|
|
|
|
|
Full of self-recrimination
|
|
|
|
|
My heart goes out for those victims. Oh, wait. NOOOOOOO...
|
|
|
|
|
Eating people only makes them human.
|
|
|
|
|
Function after function, consisting of little more than an assert, a line of code, maybe, and another function call.
On and on and on you search, looking for code that actually DOES something!
|
|
|
|
|
Sometimes I even wrote code like that. With C++ it's fairly common due to the class architecture, and sometimes unavoidable if we are to respect OOP.
I still hate it, though.
GCS d-- s-/++ a- C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
that's not C++. that's coders who are afraid of functions with more than 15 lines.
come on over to my world, where i'm looking at C functions that sometimes hit 1000 lines.
|
|
|
|
|
Chris Losinger wrote: come on over to my world, where i'm looking at C functions that sometimes hit 1000 lines.
Don't, I am getting excited!
|
|
|
|
|
Munchies_Matt wrote: Don't, I am getting excited!
Until you are the one who has to debug them.
Then you're excited in a whole new way.
|
|
|
|
|
It sounds like you support functions with 1000 lines over 15 lines. Extracting out discrete segments of logic into non-public methods/functions not only improves readability but allows you to abstract "complex logic" into an understandable name so new developers can digest it easier.
A caveat, as always, especially since you mention C: If it's for a functional performance requirement, I can't really fault massive functions. I can't seem to find the article but I remember years ago a game engine had to collapse its entire render stack into a single function to improve performance.
|
|
|
|
|
if i was King Lord Programmer here i'd forbid any functions with more than 250 lines.
alas, i am not.
|
|
|
|
|
I agree with you but I would be inclined to place the limit at 200.
|
|
|
|
|
If your slogan was "no functions over 250 lines", I'd vote for you Oooo, or "Even books have chapters."
|
|
|
|
|
Jon McKee wrote: If your slogan was "no functions over 250 lines", I'd vote for you Oooo, or "Even books have chapters."
That wouldn't help, you don't vote for Kings.
Michael Martin
Australia
"I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible."
- Mr.Prakash One Fine Saturday. 24/04/2004
|
|
|
|
|
If you cast your vote with a pitchfork or a password reset you do
|
|
|
|
|
3 layers deep is all you need to go.
1st layer: Entry points
2nd layer: logic
3rd layer: detailed code
|
|
|
|
|
Ah, yes. The DoEverythingAndThisAndAlsoThatAndOhThisOtherThingAsWell() function.
|
|
|
|