Any advice?

A place for general discussions about anything and everything.

Any advice?

Postby haloman » Thu Oct 06, 2011 4:45 pm

Im in a programming class learning VB.NET. Basic shit. But, can any real programmers give a "newbie" some tips/info? I've already written my first program. I have screen shots if i need to post them to see.
Finishing the fight... one Confetti blast headshot at a time
User avatar
haloman
 
Joined: Wed Oct 06, 2010 6:45 pm
Location: Planet Reach. Oh wait... thats right...

Re: Any advice?

Postby GolanTrevize » Thu Oct 06, 2011 5:11 pm

What kind of "tips" do you want?
Current project: Dark moon (Artists needed)
User avatar
GolanTrevize
 
Joined: Wed Jul 20, 2011 3:32 pm

Re: Any advice?

Postby haloman » Thu Oct 06, 2011 5:55 pm

Suppose i should have been a bit more specific. Basicly advice for writing code, commands, scripts, strings, that kind of stuff. Make sense?
Finishing the fight... one Confetti blast headshot at a time
User avatar
haloman
 
Joined: Wed Oct 06, 2010 6:45 pm
Location: Planet Reach. Oh wait... thats right...

Re: Any advice?

Postby yea_well_FUCK_YOU » Fri Oct 07, 2011 11:16 am

my tip, subroutines are easier than full new routines, and always use a spell check when writing important code, when you have 12000 lines, its pretty damn hard to figure out what you misspelled
Skullfucking. Any questions?
User avatar
yea_well_FUCK_YOU
 
Joined: Wed Jun 01, 2011 4:10 am
Location: in the land of porn and kids games... the internet!

Re: Any advice?

Postby BlueLight » Fri Oct 07, 2011 11:33 am

Comment //My dad is sorta pissed at a company his company outsourced to because they converted a program with out leaving any comments so it's near impossible to update it.

If you have to do something 2 or more times than you will likely should be using a object oriented practice.

Try to keep if staments low but some times you need them.

If your running in to a lot of simple if statements like (if I < 10) simple in a row, change it to case statements. perfect expample would be in a game picking the size of the resolution.

THE API IS YOUR FRIEND!!!... I think i can get that bigger?

Preplan everything and write comments for the preplaned objects.
User avatar
BlueLight
Gangs n' Whores Developer
 
Joined: Sat Jun 04, 2011 8:23 am


Return to General



Who is online

Users browsing this forum: No registered users