Programming I VB.NET

Miscellaneous. No spam or advertisements, constructive discussion encouraged.
User avatar
Keon
Developer
Posts:662
Joined:Thu Dec 06, 2012 7:09 pm
Affiliation:Inactive
IGN:ducky215
Re: Programming I VB.NET

Post by Keon » Thu Jan 24, 2013 5:56 pm

Image
- I can be reached as ducky215 on minecraft forums -

Chairman_Tiel
Rear Admiral
Rear Admiral
Posts:1890
Joined:Sat Dec 01, 2012 9:39 am
Affiliation:GLORIOUS REPUBLIC

Re: Programming I VB.NET

Post by Chairman_Tiel » Thu Jan 24, 2013 6:41 pm

I'm going to assume Tunnel's a giant baby, then, if he's going to get his butt whooped by that.

Or a pony. Either or.
[spoiler]Image[/spoiler]

User avatar
hyperlite
Lieutenant
Lieutenant
Posts:360
Joined:Thu Dec 06, 2012 3:46 pm

Re: Programming I VB.NET

Post by hyperlite » Thu Jan 24, 2013 7:17 pm

Keon wrote:
Spoiler:
Image

This is before fr0st got that face-lift and yellow contacts.
Spoiler:

User avatar
Tunnelthunder
Ensign
Ensign
Posts:259
Joined:Wed Dec 05, 2012 10:33 pm
Affiliation:Insomniacs
IGN:Tunnelthunder

Re: Programming I VB.NET

Post by Tunnelthunder » Thu Jan 24, 2013 9:52 pm

I hope I don't loose a fight to anything that much smaller and weaker than me.... It would suck to say "First man killed by an aye-aye" on my grave, too.

User avatar
Keon
Developer
Posts:662
Joined:Thu Dec 06, 2012 7:09 pm
Affiliation:Inactive
IGN:ducky215

Re: Programming I VB.NET

Post by Keon » Fri Jan 25, 2013 10:08 am

"Here lies tunnelthunder: First to get eaten alive by Fr0stbyte124. fr0stbyte125 is a different matter.
- I can be reached as ducky215 on minecraft forums -

User avatar
Dux_Tell31
Midshipman
Midshipman
Posts:100
Joined:Thu Dec 06, 2012 12:22 pm
Affiliation:Tellrim
IGN:tell31

Re: Programming I VB.NET

Post by Dux_Tell31 » Tue Feb 05, 2013 2:52 pm

UPDATE

So every day now, I've been hoping from the boredom of listening to the teacher lecture over and over again. That we'll get to start hacking away at the keyboard. My wish has come true, at least to a degree. In the attached document was my class work for today, its no more than copying and pasting (no critical thinking). So take a look!
http://www.mediafire.com/view/?eawidtd8lf8caos

Also for people who aren't familiar with Visual Basic, I have uploaded the video that my teacher used to introduce me to VB, so "enjoy" this as well.
http://youtu.be/m2sD8s_qMcY
"This is Minecraft, sir. We don't make physics, we ruin them." -Fr0stbyte124
"We are made of the elements out in space, in essense we are the universe discovering itself" -Neil Degrasse Tyson

User avatar
fr0stbyte124
Developer
Posts:727
Joined:Fri Dec 07, 2012 3:39 am
Affiliation:Aye-Aye

Re: Programming I VB.NET

Post by fr0stbyte124 » Tue Feb 05, 2013 2:59 pm

Well, they don't leave much to chance, do they?

User avatar
Dux_Tell31
Midshipman
Midshipman
Posts:100
Joined:Thu Dec 06, 2012 12:22 pm
Affiliation:Tellrim
IGN:tell31

Re: Programming I VB.NET

Post by Dux_Tell31 » Tue Feb 05, 2013 3:09 pm

fr0stbyte124 wrote:Well, they don't leave much to chance, do they?
What do you mean by that?
"This is Minecraft, sir. We don't make physics, we ruin them." -Fr0stbyte124
"We are made of the elements out in space, in essense we are the universe discovering itself" -Neil Degrasse Tyson

User avatar
fr0stbyte124
Developer
Posts:727
Joined:Fri Dec 07, 2012 3:39 am
Affiliation:Aye-Aye

Re: Programming I VB.NET

Post by fr0stbyte124 » Tue Feb 05, 2013 3:35 pm

They give you the layout, the names of the controls, what specifically to do for every event. I get that it's an introduction the language and Visual Studio, but I would normally expect a programming class to include at least a little problem solving.

But maybe that will be later. This class only started last month, right?

User avatar
Dux_Tell31
Midshipman
Midshipman
Posts:100
Joined:Thu Dec 06, 2012 12:22 pm
Affiliation:Tellrim
IGN:tell31

Re: Programming I VB.NET

Post by Dux_Tell31 » Tue Feb 05, 2013 3:51 pm

fr0stbyte124 wrote:They give you the layout, the names of the controls, what specifically to do for every event. I get that it's an introduction the language and Visual Studio, but I would normally expect a programming class to include at least a little problem solving.

But maybe that will be later. This class only started last month, right?
Thats correct, I've also had to remind myself constantly, that this curriculum is people who have absolutely no experience with computers, :o if that gives some context to the class.
"This is Minecraft, sir. We don't make physics, we ruin them." -Fr0stbyte124
"We are made of the elements out in space, in essense we are the universe discovering itself" -Neil Degrasse Tyson

User avatar
Keon
Developer
Posts:662
Joined:Thu Dec 06, 2012 7:09 pm
Affiliation:Inactive
IGN:ducky215

Re: Programming I VB.NET

Post by Keon » Tue Feb 05, 2013 5:36 pm

Welcome to class. Here is how to sit down in a chair. I will now demonstrate. Please find a chair and sit down. VERY GOOD!
- I can be reached as ducky215 on minecraft forums -

User avatar
Dux_Tell31
Midshipman
Midshipman
Posts:100
Joined:Thu Dec 06, 2012 12:22 pm
Affiliation:Tellrim
IGN:tell31

Re: Programming I VB.NET

Post by Dux_Tell31 » Thu Feb 07, 2013 5:31 pm

Amped up the sucker level in class today, we started the "super hard" unit on variables.
"This is Minecraft, sir. We don't make physics, we ruin them." -Fr0stbyte124
"We are made of the elements out in space, in essense we are the universe discovering itself" -Neil Degrasse Tyson

User avatar
hyperlite
Lieutenant
Lieutenant
Posts:360
Joined:Thu Dec 06, 2012 3:46 pm

Re: Programming I VB.NET

Post by hyperlite » Thu Feb 07, 2013 5:35 pm

If you already know everything in this class why take it?

Are you going to continue?
Spoiler:

User avatar
Dux_Tell31
Midshipman
Midshipman
Posts:100
Joined:Thu Dec 06, 2012 12:22 pm
Affiliation:Tellrim
IGN:tell31

Re: Programming I VB.NET

Post by Dux_Tell31 » Thu Feb 07, 2013 5:42 pm

hyperlite wrote:If you already know everything in this class why take it?

Are you going to continue?
Because I don't know everything, just close to everything. The concepts I understand perfectly, unlike many of my classmates. The things I have trouble with are the vocab, and a few syntax things. Like memorizing this blasted Hungarian Notation System.

Also this a pre-requiset course for other, more useful programming classes.
"This is Minecraft, sir. We don't make physics, we ruin them." -Fr0stbyte124
"We are made of the elements out in space, in essense we are the universe discovering itself" -Neil Degrasse Tyson

User avatar
fr0stbyte124
Developer
Posts:727
Joined:Fri Dec 07, 2012 3:39 am
Affiliation:Aye-Aye

Re: Programming I VB.NET

Post by fr0stbyte124 » Thu Feb 07, 2013 5:45 pm

Short version:

ByVal: variable is cloned, original remains untouched.
ByRef: reference to orignal is passed, original will be modified.

Primitives (bright blue type) default to ByVal.
Class objects (teal type) default to ByRef.

Lamda expressions destroy the entire concept of ByVal/ByRef and I pray you never have to use them.

C equivalent, for the curious:

int a = item (val)
int* a = &item (ref, literally a 4 byte memory address)
int a = *(&item) (val at ref)


Edit:
Why do you need to know Hungarian notation?

Post Reply