Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
what is best in optimizer pipeline
value numbering
code motion
peepholing
loop idiom recognition
legalization
thread gassing
op banning
View Results
 
  • Locked thread
The MUMPSorceress
Jan 6, 2012


^SHTPSTS

Gary’s Answer

JewKiller 3000 posted:

you should try java, it will teach you how to actually program and get a real legitimate job

Or write lines of code so long they wrap thrice

Adbot
ADBOT LOVES YOU

The MUMPSorceress
Jan 6, 2012


^SHTPSTS

Gary’s Answer
Like seriously, give me a type def operator java

The MUMPSorceress
Jan 6, 2012


^SHTPSTS

Gary’s Answer

JewKiller 3000 posted:

if you feel the need for typedef you probably need to make a class

It's more like when you end up with ExtensibleFoo<BarResult, String, BazContainer<Baz>> myExtFoo = ThingReturner<and the rest>() ;

I wish I could typedef the type there.

The MUMPSorceress
Jan 6, 2012


^SHTPSTS

Gary’s Answer

Poopernickel posted:

C++'s auto works p good here

Java hypothetically had the <> operator but this scenario it doesn't work for. I don't know if I'd want var or auto for this as I'd one the lhs to still carry some meaning, but being able to do like


Java code:

@alias
MyFooMess = //that whole messy lhs 

Would be awesome.

  • Locked thread