Armenian Knowledge Base  

Go Back   Armenian Knowledge Base > Technical sections > Languages, Compilers, Interpreters > C/C++
Register

Reply
 
LinkBack Thread Tools
Old 13.01.2005, 11:30   #1
Младенец
 
Join Date: 01 2005
Location: pakistan
Age: 32
Posts: 1
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Default operator overloading makes my class look ugly ?

But operator overloading makes my class look ugly; isn't it supposed to make my code clearer? Do you agree with this statement?'
Reply With Quote
Old 13.01.2005, 12:45   #2
the mochinger
 
Hans Andersen's Avatar
 
Join Date: 02 2002
Location: Paranoid Android, @10:50
Age: 38
Posts: 1,894
Downloads: 2
Uploads: 0
Reputation: 204 | 4
Default

class code - yes, somewhat
the remaining code - makes beautiful, well, at least easier to read

gl
Reply With Quote
Old 13.01.2005, 12:51   #3
Грустно...
 
Agregat's Avatar
 
Join Date: 08 2002
Location: Там, где всегда идут дожди
Age: 35
Posts: 21,717
Downloads: 2
Uploads: 0
Reputation: 250 | 7
Default

it does not make class look ugly.
Reply With Quote
Old 24.01.2005, 16:50   #4
Дошкольник
 
Join Date: 08 2004
Location: Oxford
Age: 38
Posts: 141
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Default

I think it makes it look cute and elegant, still confusing, that's why it's abolished in Java...
Reply With Quote
Old 24.01.2005, 23:18   #5
Академик
 
W_z_rd's Avatar
 
Join Date: 08 2002
Location: Yerevan, Armenia
Age: 45
Posts: 4,854
Downloads: 1
Uploads: 0
Reputation: 225 | 3
Default

Never did on me....
Reply With Quote
Old 25.01.2005, 06:51   #6
the mochinger
 
Hans Andersen's Avatar
 
Join Date: 02 2002
Location: Paranoid Android, @10:50
Age: 38
Posts: 1,894
Downloads: 2
Uploads: 0
Reputation: 204 | 4
Default

Quote:
Originally Posted by W_z_rd
Never did on me....
strange... lack of experience?... naah, i no think so. so why?
Reply With Quote
Old 25.01.2005, 10:52   #7
Академик
 
W_z_rd's Avatar
 
Join Date: 08 2002
Location: Yerevan, Armenia
Age: 45
Posts: 4,854
Downloads: 1
Uploads: 0
Reputation: 225 | 3
Default

How do I now ? Give an example.

P.S. "i no think so" -> "I don't think so". Do you intentionally distort English ?
Reply With Quote
Sponsored Links
Reply

Thread Tools


На правах рекламы:
реклама

All times are GMT. The time now is 20:22.


Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.