|
Hey, be nice...
Some of us made it to the second line
|
|
|
|
|
Yes, but how long did it take? And this is not even code. If reading this in code would take you as long as reading this in plain text the code would not even compile anymore on the computers that, by that time, have become modern
It's an OO world.
public class Naerling : Lazy<Person>{}
|
|
|
|
|
Um, a few seconds... It was something about bags... After a few lines, I realized it wasn't worth continuing
|
|
|
|
|
|
Dijkstra didn't have to debug an option valuation model written in C++ by a math PhD... True story... Almost every variable in the Black-Scholes calculation was one or two letters long, and none of them had any relevance to what they represented.
Don't get me wrong... It (mostly) worked, and it was fast, but... Ow, my eyes!
|
|
|
|
|
|
|
I always get those two mixed up, made watching The Departed very difficult to begin with 
|
|
|
|
|
I know what you mean - my colleague (who writes the B-S module for his option pricing program (which I maintain)) loves names like henry, peter, peterp, peter2 etc - I'm just glad I don't have to work on that bit of code.
I used to employ a programmer who was very good, and very hard working, but he never used any kind of meaningful names for anything, so a complex C function representing, say, a vector drawing interpreter, would contain tens of variables named a,aa,aaa,aaa, x,xx,xxx,xxxx, i,ii,iii,iiii,iiiii and so forth...
8)
|
|
|
|
|
_beauw_ wrote: After all, Einstein didn't discover that
<layer>realEnergy = realMass * [ (squareRootOfTheSpeedOfLight)² ]
He didn't.
<layer>realEnergy = realMass * [ (theSpeedOfLightInVacuum)² ]
FTFY
|
|
|
|
|
Yes, but the reason he got away with E = mc2 is because physicists had, over the course many years, established conventions for the use of the symbols.
A programmer must establish conventions in application domains that they are making up as they are going along. Ouch!
|
|
|
|
|
Not really - just use names that say what they are.
If you are trying to think up polite ways to call them after your ex-girlfriends, then yes, I can see where you might have difficulty. But if a class is meant to handle user information, then I would probably call it "UserInfo" rather than "RurikoPityHerVisaRanOutAndSheHadToGoBackToJapan" or "MarionWentAllWierdAndBecameBornAgain". Similarly with open file dialog references - I generally call them "ofd" for the short time they are in existance.
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
Manfred R. Bihy: "Looks as if OP is learning resistant."
|
|
|
|
|
Tenagra t = new Tenagra();
t.Add(new Darmok());
t.Add(new Jilad());
t.Add(new TheBeast());
t.EpicBattle();
t.MoveItemsTo(new Ocean());
|
|
|
|
|
Is that a quote from the Guardians Saga?
I do note however, that when you have moved all these items into the new ocean, you then discard the reference and effectively leave them adrift waiting for the Dark Lord G'Bge Cll'ctr to come and find them...
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
Manfred R. Bihy: "Looks as if OP is learning resistant."
|
|
|
|
|
|
Sometimes - but Wesley Crusher scarred me so badly I couldn't watch TNG so the references didn't mean anything.
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
Manfred R. Bihy: "Looks as if OP is learning resistant."
|
|
|
|
|
Oh, come on... The character may have been a bit silly, but Wil Wheaton is cool... Gotta respect any Hollywood actor who's an active member of Slashdot.
|
|
|
|
|
The character should have been fed to rabid Tribbles at birth. Or Lieutenant Yar if health and safety rules forbid rabid Tribbles on Star Fleet vessels. Unlikely, I admit - Star Fleet don't seem to have any truck with H&S legislation, or they wouldn't fill all the computer consoles with semtex...
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
Manfred R. Bihy: "Looks as if OP is learning resistant."
|
|
|
|
|
OriginalGriff wrote: Star Fleet don't seem to have any truck with H&S legislation, or they wouldn't fill all the computer consoles with semtex...
Yeah, I always wondered why it was that they could manage matter-energy conversion, subspace communication, and warp drive... But couldn't seem to figure out how to make a surge protector or... *gasp*... a FUSE!
|
|
|
|
|
Or a seat belt.
And from the clouds a mighty voice spoke: "Smile and be happy, for it could come worse!"
And I smiled and was happy And it came worse.
|
|
|
|
|
i always wondered that myself, its like they shunted warp plasma to run a frikken computer screen, and dont have anything to manage power surges. i think the poor ensigns on the terminals would rather have to switch a breaker than have their console explode in their face and kill them. while on the subject: seatbelts. how many poor ensigns and redshirts have met their fate from being thrown across the bridge and breaking their neck. seatbelts save lives, or at least save you from having to go back to a star base to get more troops.
"darmok and jalad at tanagra" "i dont understand" "DARMOK AND JALAD AT TANAGRA!"
great episode.
|
|
|
|
|
|
Ian Shlasko wrote: Tenagra t = new Tenagra();
t.Add(new Darmok());
t.Add(new Jilad());
t.Add(new TheBeast());
t.EpicBattle();
t.MoveItemsTo(new Ocean());
Congratulations, this is the nerdiest thing I have read this month, on many levels.
And considering the crap I read, that was an achievement.
|
|
|
|
|
I blame Netflix, for having the entire Star Trek franchise available for streaming
|
|
|
|
|
Temba(his)::arms(wide){}

|
|
|
|