The Corner House of Whores and Monkeys. Enter for Fun & Shenanigans! We're weird here. In the most awesome way possible.

Oh yea! C++ owns j00!

Thread Tools
 
Old Nov 16, 2002 | 10:58 AM
  #31  
CornerWorker's Avatar
Banned
 
Joined: Jul 2002
Posts: 42
Likes: 0
From: portland
Default

I personally prefer J2EE because it's a standard, whereas .NET is a product, and a proprietary one at that.
j2ee isnt a standard. it also is a proprietary product by sun microsystems. who sold you that bull? but yeah i agree, .NET isnt fun.
as to
foo *bar = new foo();

no parenthesis.
//constructs a foo pointer
foo* bar = new foo;
delete bar; //derf

if you wanted to call a constructor, you can use parens.
foo* bar = new foo(5);
but it is pointless when the default constructor is to be used (ie, () )

//if you had an array of foos [like a c-style string],
foo* bar = new foo[25]; //points bar to the first element of 25 'foo's
//you would need to
delete [] bar;


by the way, TOOL KICKS ASS OMFG
went to their concert in beaumont last night
unnnf.
Reply
Old Nov 16, 2002 | 11:00 AM
  #32  
CornerWorker's Avatar
Banned
 
Joined: Jul 2002
Posts: 42
Likes: 0
From: portland
Default

also, yeah, use meaningful variable names, and class names, etc.
for like a temp variable foo,bar,etc are fine, but making a class called bokweefoo or whatever is confusing. it also doesnt take that much effort to call the class 'class Pointer' or 'class TCPIPController'.


then, when this intern reads your code once he has your job following your lucrative placement into the ranks of mangement and comes across an instance of this class, he can go "oh, ok, this class controls the TCP/IP functionality of this [whatever]". he wont have to say "WTF!~! wth does 'bokweefoo' do?" *consults documentation, if he has access to it* "ok, says here that bokweefoo controls an instance of weenik and uses the methods of plopkinfoo to transfer data of type bar across TCP/IP...WTF?!?!" and he consults doc for all of that, etc, blah blah, pain in the ass, time wasting, etc.


my dos cents.
Reply
Old Nov 16, 2002 | 12:24 PM
  #33  
Chazmo's Avatar
Gold Member (Premium)
20 Year Member
Liked
Loved
 
Joined: Jun 2002
Posts: 42,315
Likes: 45
From: Central Massachusetts
Default

FUBAR!
Reply
Old Nov 16, 2002 | 12:45 PM
  #34  
CornerWorker's Avatar
Banned
 
Joined: Jul 2002
Posts: 42
Likes: 0
From: portland
Default

Joke of the moment for Saturday 13:45:12 PT, November 16.

Political pick-up lines

10. "I see the flat tax wouldn't apply to you."
9. "Inflation isn't the only thing going up around here."
8. "I'd like you to exercise my pocket veto."
7. "Could you give my voting lever a little pull?"
6. "I said I wanted to keep the government out of the bedroom, but I didn't mean this senator."
5. "Hello, my name is Sen. Bob Packwood...."
4. "...and have you met my friend Sen. Ted Kennedy?"
3. "Would you like to import some fine foriegn salami?"
2. "Do you wanna go stuff the ballot box?"
1. "I've got an economic stimulus package right here in my pants...er, uh, pocket."
Reply
Old Nov 16, 2002 | 12:46 PM
  #35  
CornerWorker's Avatar
Banned
 
Joined: Jul 2002
Posts: 42
Likes: 0
From: portland
Default

Joke of the moment for Saturday 13:46:22 PT, November 16.

A woman walked up to a little old man rocking in a chair on his porch.

"I couldn't help noticing how happy you look," she said.
"What's your secret for a long happy life?"

"I smoke three packs of cigarettes a day," he said. "I also drink a case of whiskey a week, eat fatty foods, and never exercise."

"That's amazing," the woman said. "How old are you?"

"Twenty-six," he said.
Reply
Old Nov 16, 2002 | 12:46 PM
  #36  
CornerWorker's Avatar
Banned
 
Joined: Jul 2002
Posts: 42
Likes: 0
From: portland
Default

I blow your shit up like Timothy McVeigh
My clique be thrivin', your clique rot and decay
Bling, I pay fo' rubbas wit a 100 dolla bill
Ain't no real playa would roll in a Seville
Dressin' up like da KKK on Halloween
I be slicin' hatas up like I was Wolverine
I don't got a reason, but we still gonna fight
Da ho on crack, but she can suck alright
I don't got a reason, but we still gonna fight
You best be kissin' your future goodnight
I make da hookers suck my raunchy-ass toes
Step into church, machinegun all the rows

My beats tingle in yo ear drums, zero respite
Fans on they knees over da rhymes I recite
Da ho I knocked up forgot her birth control pill
Sippin' on a 40 until I've had my fill
Bitch don't trip, bitch don't play
Take yo glock and jack Old Country Buffet
Reply
Old Nov 16, 2002 | 12:47 PM
  #37  
CornerWorker's Avatar
Banned
 
Joined: Jul 2002
Posts: 42
Likes: 0
From: portland
Default

Joke of the moment for Saturday 13:47:03 PT, November 16.

Engineers Vs Lawyers

Three lawyers and three engineers are traveling by train to a conference. At the station, the three lawyers each buy tickets and watch as the three engineers buy only a single ticket.

"How are three people going to travel on only one ticket?" asked one of the three lawyers.

"Watch and you'll see," answers one of the engineers.

They all board the train. The lawyers take their respective seats but all three engineers cram into a restroom and close the door behind them. Shortly after the train has departed, the conductor comes around collecting tickets. He knocks on the restroom door and says, "Ticket, please." The door opens just a crack and a single arm emerges with a ticket in hand. The conductor takes it and moves on.

The lawyers saw this and agreed it was quite a clever idea. So after the conference, the lawyers decide to copy the engineers on the return trip and save some money. When they get to the station, they buy a single ticket for the return trip. To their astonishment, the engineers don't buy a ticket at all.

"How are you going to travel without a ticket," asks one perplexed lawyer.

"Watch and you'll see," says one of the engineers.

When they board the train, the three lawyers cram into a restroom and the three engineers cram into another one nearby. The train departs. Shortly afterward, one of the engineers leaves his restroom and walks over to the restroom where the lawyers are hiding. He knocks on the door and says, "Ticket, please."
Reply
Old Nov 16, 2002 | 12:52 PM
  #38  
PeaceLove&S2K's Avatar
20 Year Member
 
Joined: Jul 2002
Posts: 19,257
Likes: 19
From: San Diego, CA
Default

Hehe. Back when my room mate was still here, we had a little network at home. His computer was SNAFU, and mine was FUBAR.

Reply
Old Nov 16, 2002 | 01:59 PM
  #39  
CornerWorker's Avatar
Banned
 
Joined: Jul 2002
Posts: 42
Likes: 0
From: portland
Default

snafu is a good name!
Reply
Old Nov 16, 2002 | 03:20 PM
  #40  
Chazmo's Avatar
Gold Member (Premium)
20 Year Member
Liked
Loved
 
Joined: Jun 2002
Posts: 42,315
Likes: 45
From: Central Massachusetts
Default

is that McVeigh crap!

"I see the flat tax wouldn't apply to you."

SNAFU and FUBAR are my best friends! (You can tell how constructively my co-workers think of me).
Reply



All times are GMT -8. The time now is 01:15 PM.