League of Legends Community

League of Legends Community > League of Legends > General Discussion
@Hohums - You are a programmer, right?

First Riot Post
 
Comment below rating threshold, click here to show it.
mofokas ?? Senior Member
This user has accepted the summoners code, click for more information
06-05-2012

Hohums, does you or Riot other programmers using Getters and Setters for private class data's? Ty

 
Comment below rating threshold, click here to show it.
XGSleepWalker ?? Member
This user has accepted the summoners code, click for more information
06-05-2012

Quote:
Originally Posted by Hohums View Post
Interns are students from universities. They complete some of their studies at Riot. Sometimes we hire them after their period of study.
And what are the conditions for an apply?

 
Comment below rating threshold, click here to show it.
Tibore ?? Senior Member
This user has referred a friend to League of Legends, click for more information This user has accepted the summoners code, click for more information
07-05-2012

@Hohums http://9gag.com/gag/4088277 =P

 
Comment below rating threshold, click here to show it.
XGSleepWalker ?? Member
This user has accepted the summoners code, click for more information
09-05-2012

*bump

 
Comment below rating threshold, click here to show it.
GUUUNZAAH ?? Member
This user has referred a friend to League of Legends, click for more information This user has accepted the summoners code, click for more information
09-05-2012

Im only 15 but i've already started studying Programming in school, in a special course for programming, i'm currently learning Visual Basic, i'm still on my 1st year but i'm liking it a lot, programming is my favorite subject.
I'm thinking about going to university and after finishing getting out of my country(Portugal) since we dont have good games companies to work in.
What is the best course to follow in university since i want to work in a gaming company ?
And is it worth all this work just to do what i wanted since im 10 years old? (Programming games)
And after university do i stand any chance to get in a gaming company? Or i really need experience before? Or it depends on my skills and on my work?

 
Comment below rating threshold, click here to show it.
XGSleepWalker ?? Member
This user has accepted the summoners code, click for more information
09-05-2012

Quote:
Originally Posted by GUUUNZAAH View Post
Im only 15 but i've already started studying Programming in school, in a special course for programming, i'm currently learning Visual Basic, i'm still on my 1st year but i'm liking it a lot, programming is my favorite subject.
I'm thinking about going to university and after finishing getting out of my country(Portugal) since we dont have good games companies to work in.
What is the best course to follow in university since i want to work in a gaming company ?
And is it worth all this work just to do what i wanted since im 10 years old? (Programming games)
And after university do i stand any chance to get in a gaming company? Or i really need experience before? Or it depends on my skills and on my work?

Well, I'm also in the same profissional course, and I already learned enough to answer you that.

Quote:
Originally Posted by GUUUNZAAH View Post
What is the best course to follow in university since i want to work in a gaming company ?
You have several names, based on the same disciplines. I sincerely advise you these:

- Ciência de Computadores in Universidade do Porto
- Ciências da Computação in Universidade do Minho
- Engenharia de Computadores e Telemática in Universidade de Aveiro


I have the same age that you have, and i'm on the same course.
I'm currently trying to decide between one of these.
Tell me if you figure something out of this.

 
Comment below rating threshold, click here to show it.
mofokas ?? Senior Member
This user has accepted the summoners code, click for more information
10-05-2012

Hohums answer please

 
Comment below rating threshold, click here to show it.
XGSleepWalker ?? Member
This user has accepted the summoners code, click for more information
11-05-2012

*bump

 
Comment below rating threshold, click here to show it.
mofokas ?? Senior Member
This user has accepted the summoners code, click for more information
12-05-2012

I just wanted to see what will answer on:
Does programmers use Getters and Setters" :P

 
Comment below rating threshold, click here to show it.
brohums brohums's Avatar ?? Software Engineer
This user has accepted the summoners code, click for more information
35 of 40 Riot Posts
15-05-2012

Quote:
Originally Posted by mofokas View Post
Hohums, does you or Riot other programmers using Getters and Setters for private class data's? Ty
Sometimes although it's something we try to avoid it when possible. I'd advise all non-programmers to stop reading here...

Of course the statements below are going to be controversial however IMHO:

If a class is all getter's and setters... it probably should just be a POD (Plain old Data type)... that is, the class is not really performing any operations and doesn't protect it's data. So it should all be public in that case.

However making things private is important IMHO because it minimizes the interface and the chances of things that can go wrong. Everything that goes through the interface can be verified and there is less chance of someone messing with your variables from the outside. It also allows you to replace the guts of a class without affecting any other file (in many cases).

What happens when you have something that is half class and half POD? Well in these cases I'd consider breaking that into a class and a POD... as it probably too big anyway.

In some cases such as optimization you might need to break class conversions ie such as putting each object member property in it's own array. However generally you have to make a decision about whether a particular piece of code needs to be hyper-optimized or maintainable.

More on this view: http://www.artima.com/intv/goldilocks.html