Staredit Network Profile-Scene MNeox basic
Profile for MNeox
Options
Send me a Message
Find my Posts
Find my Topics

Last visitors
None.

Account Information
Joined: Aug 28 2007, 5:47 pm
Last Active: Aug 6 2011, 6:48 am
Status: Offline
Display Name: MNeox

Statistics
Activity: 326
Posts: 370
Posts Per Day: 0.13
Topics: 20
Minerals: 0

Contact Information
E-Mail: Lewl coming soon // No spambots

Battle.net
Starcraft I: Not Given.
Starcraft II: Not Given.


Signature
None.
[04:35 pm]
Mini Moose 2707 -- And no garbage collection
[04:26 pm]
Dem0n -- stop using languages with manual memory allocation :wob:
[04:15 pm]
Mini Moose 2707 -- IT DOESN'T HAVE TO BE LIKE THIS. WAKE UP SHEEPLE!!
[04:15 pm]
Mini Moose 2707 -- Anyway, overloading a+b for my class is great, but really I want people to be able to a+b+c+d+... If that's allocated dynamically with new and returned by reference, who cleans up the temporaries? Who keeps the list of all the temporaries that creates? If it's returned by value, I hope you like running copy constructors.
[03:49 pm]
Mini Moose 2707 -- Look at that intuitive and sane syntax for defining operator overloads on post and pre increment.
[03:48 pm]
Mini Moose 2707 -- Iter operator++ (int); // p++
[03:48 pm]
Mini Moose 2707 -- Iter& operator++ (); // ++p
[03:48 pm]
Mini Moose 2707 -- jjf28
jjf28 shouted: operator overloading is quite a sane tool (strings work very nicely with it for example), people sometimes abuse it in their APIs though
The STL is a sane example, what a surprise. Unfortunately, nothing forces it to be used sanely. It's very possible to end up in the middle of a poorly-managed large scale collaborative project where the meaning of "+" spreads over three source files written by other people who happened to have very different intuition from you on what "+" should mean for that class.
[03:31 pm]
Generalpie -- I'll wait until it leaves EA before buying it
Please log in to shout.


Members Online: Mini Moose 2707, Roy, Dem0n