d2jsp
Log InRegister
d2jsp Forums > Other Games > Archived Games > Heroes of Newerth > General Hon Chat
Prev1238423852386238723883161Next
Add Reply New Topic New Poll
Member
Posts: 61,418
Joined: Nov 21 2006
Gold: Locked
Jan 10 2012 10:10pm
Quote (garbo @ 10 Jan 2012 22:09)
c++


no i already know java, i doubt i will need c++
Member
Posts: 16,993
Joined: Sep 18 2010
Gold: 28,044.60
Jan 10 2012 10:15pm
Quote (Ectasy @ Jan 11 2012 05:10am)
no i already know java, i doubt i will need c++


definitely wrong there son. most industry level stuff is at least partially in C/C++. language is tougher and alot more confusing, but imo can be alot more useful. you have the freedom to redeclare variable types just by using typedef, can use structs, can create classes / ojbect from within a class by using advanced structs, can actually access/allocate / modify memory yourself (very useful for advanced shit which needs efficient management), can actually access a variable IN MEMORY instead of "hurr durr java manages everything for me and takes away my freedom to manipulate lower level components" etc. oh and you have header files which are really fucking useful if you know how to use them

also, i'd say PHP is better all-around. but if you know java javascript is really really easy

This post was edited by sMACKTRiCKz on Jan 10 2012 10:17pm
Member
Posts: 61,418
Joined: Nov 21 2006
Gold: Locked
Jan 10 2012 10:16pm
Quote (sMACKTRiCKz @ 10 Jan 2012 22:15)
definitely wrong there son. most industry level stuff is at least partially in C/C++. language is tougher and alot more confusing, but imo can be alot more useful. you have the freedom to redeclare variable types just by using typedef, can use structs, can create classes / ojbect from within a class by using advanced structs, etc.

also, i'd say PHP is better all-around. but if you know java javascript is really really easy


aren't there just as many opportunities for java positions as C++ ones?
you can use structs and inner classes in java?
but i get your point

This post was edited by Ectasy on Jan 10 2012 10:18pm
Member
Posts: 16,993
Joined: Sep 18 2010
Gold: 28,044.60
Jan 10 2012 10:19pm
Quote (Ectasy @ Jan 11 2012 05:16am)
aren't there just as many opportunities for java positions as C++ ones?
you can use structs and inner classes in java?


not really sure about the industry that much since i'm probably not going into it. all i know is every job i've worked was like "hey here are some books on C++ learn it okay?". C++ just offers you complete control but is very fragile if you fuck shit up. misallocate memory / unlock or lock threads at wrong time / fuck up pointers and get seg faults and you're pretty much screwed. not to mention using "volatile" variables and having threads execute in the wrong order and then your runtime becomes like 34534543543x of what its meant to be and your program crashes. bad memories.

as for structs, i mean you can create a new class within a class in java, but structs are kinda different, they can just store a few variables / values / other structs and are really versatile

This post was edited by sMACKTRiCKz on Jan 10 2012 10:20pm
Member
Posts: 61,418
Joined: Nov 21 2006
Gold: Locked
Jan 10 2012 10:21pm
Quote (sMACKTRiCKz @ 10 Jan 2012 22:19)
not really sure about the industry that much since i'm probably not going into it. all i know is every job i've worked was like "hey here are some books on C++ learn it okay?". C++ just offers you complete control but is very fragile if you fuck shit up. misallocate memory / unlock or lock threads at wrong time / fuck up pointers and get seg faults and you're pretty much screwed

as for structs, i mean you can create a new class within a class in java, but structs are kinda different, they can just store a few variables / values / other structs and are really versatile


oh i see
i'm not too worried about picking up a new language for a job because it shouldnt be too hard to get.
only thing i'm worried about is what i will actually be asked to do with the language and not be too sure to do it
my computer science course was retardedly easy.. the midterm was literally like a payroll program, so i didn't really get a good bearing on programming from it

isn't struct essentially an abstract class? i dunno, i might be wrong since i only fiddled with c++ for an hour
Member
Posts: 3,456
Joined: Oct 14 2007
Gold: 690.00
Jan 10 2012 10:24pm
http://www.gamereplays.org/heroesofnewerth/portals.php?show=news&news_id=855842


Gamereplays making a mentoring system for those who want to join in....
Member
Posts: 29,230
Joined: Dec 9 2006
Gold: 50,910.38
Jan 10 2012 10:26pm
Itt nerds gone wild.
Member
Posts: 16,993
Joined: Sep 18 2010
Gold: 28,044.60
Jan 10 2012 10:30pm
Quote (Ectasy @ Jan 11 2012 05:21am)
oh i see
i'm not too worried about picking up a new language for a job because it shouldnt be too hard to get.
only thing i'm worried about is what i will actually be asked to do with the language and not be too sure to do it
my computer science course was retardedly easy.. the midterm was literally like a payroll program, so i didn't really get a good bearing on programming from it

isn't struct essentially an abstract class? i dunno, i might be wrong since i only fiddled with c++ for an hour


no a struct doesn't need to be like a class at all. it CAN be since in c++ you can declare functions and member varialbes and all that shit within a struct. but it can also be something really simple like

struct bad_players_struct {
int WLR;
int KDR:
int numTimesLostToSmacktrickz;
} ectasy, garbo, dude150

then you basically have 3 members of the structure whose values you can edit just by doing something like

ectasy.WLR = 32;
ectasy.KDR = 0;
ectasy.numTimesLostToSmacktrickz = 4294967296 //maximum value for integer


its alot easier than making an entire new class then making 3 ojbects out of it then settings their instance variables. also whats really nice is you can cast structs to (void) type so you can pass them to functions really easy. like for example if you havea function which takes a void pointer (like most thread functions do), you can just do

thread_function( (void*) ectasy)

then you pass all this data to a thread in a nice "capsule" and no data corruption can occur and you can just get all the values and use inside thread operations



its really tough to explain this shit from a java perspective to be honest but they're useful, believe me






Member
Posts: 27,069
Joined: Sep 12 2008
Gold: 0.00
Jan 10 2012 11:17pm
ez roop kids get mad np
Member
Posts: 6,251
Joined: Sep 27 2008
Gold: 0.00
Jan 11 2012 12:10am
what build do you guys use on nomad? i know alot of u probably hate the hero but whats the best ganker/semi carry build

also on dm is it just

boots/chalice/sols/shield breaker?

ty
Go Back To Heroes of Newerth Topic List
Prev1238423852386238723883161Next
Add Reply New Topic New Poll