Quantcast
Destructoid - doctor insidious's Community Blog




About Me
Hi, my name is Matt, but you can call me doctor insidious, because that is much more awesome.
My top ten games:
10. SBCG4AP
9. Sam and Max
8. Gears 2
7. Tap Tap Revenge
6. We <3 Katamari
5. Castle Crashers
4. Persona 3
3. Braid
2. Crayon Physics
1. Cave Story

I am one of the few people who actually know how to program in this world. And by program I mean know how to use pointers.

#include <stdio.h>

#define COCKS 0

int main (int argc, char **argv)
{
printf("Hi I'm doctor insidious\n"
"This is the most useless program I have ever seen\n");
return COCKS;
}
Gamer Profile
3DS friend code:
Steam:
Battle:
PSN:
Mii:
Gamertag:
Following (12)
Chad Concelmo
Hamza CTZ Aziz
Jim Sterling
mix
Mr Gilder
Niero
Occams electric toothbrush
randombullseye
seigfreid
shipero
Tray Ben
TSuereth
Programming Advice #1
doctor insidious | 12:45 PM on 01.04.2010 13 comments


I am bored. Sitting here in the middle of class, you would expect I'd have something to preoccupy myself with.
I don't. This class is called "Intro to Java", and it's the only programming class I was able to take freshman year. From what you've read in my blog so far, would you consider me a "beginner" programmer? God I hope not, I've worked to fucking hard for that.
Anyway, this brings me to the meat of my blog. I came up with an adage for you aspiring programmers, and I liked it. I decided that I'd come up with more and share them with you, like a weekly/monthly thing. So anyway, here's the first one (I really hope I didn't subconsciously steal this from someone):
"Assume the users wants to do everything and nothing and has no idea how."
This compact statement tells of the importance of three things:
-Memory management
-Program protection
-User interface

He wants to do everything, memory management:
Most newbie programmers don't really consider how important this is. He will allocate a block of memory and say "This is how much input you can enter" (creating a character array). This would be like if the people who made Open Office decided that one can only type up to 1,000 pages, and that was it. Sure not a lot of people want to write a book that long, but there are still people who want to.
case in point...


He wants to do nothing, program protection:
This is pretty obvious. Remember, when you are writing a program, don't forget: Error checking, Error checking, Error checking, Error checking, Error checking. What is error checking? Well, say you write a program that gets a random integer and divides it by an integer taken from input (why? No idea). You could right your program seemingly perfectly, but in the end, what if the user enters the number zero?
you can't divide by zero!


How the hell?... user interface:
Don't let other people tell you otherwise: If you have a great program with terrible user interface, you are only doing have the job. Programs should be easy to start and get into, or at least include a manual. What would it be like if when you started up a video game you had to press the A and B button to move through the menu and press down the left analogue stick to select the menu item. While all of you people would be kinda interested messing around with it, I'd be in another room, KILLING MYSELF.
This is good UI (thank god for emacs):


So I hope all you beginning programmers were interested a little bit. I certainly like the quote.
One last thing, how did the word "noggertits" (see last blog) become popular (kind off not really)?! I'm a go and drink some hard cider.



Is this post awesome? Vote it up!

1

Those who have fapped:  Elsa  


Post a comment! You can also post a photo below:

Comment with Facebook





Click connect and comment instantly!

Comment with Dtoid





New? SIGN UP - it takes 5 seconds

10 comments | showing # 1 to 10
prev next

Elsa's Avatar - Comment posted on 01/04/2010 13:37
Elsa
Quite a different blog from your noggertits blog! I'm not a programmer, but this was still an interesting read.
Zyrshnikashnu's Avatar - Comment posted on 01/04/2010 16:00
Zyrshnikashnu
Fuck yeah, emacs.

Your semester seems to have started awfully early. I don't go back for another week yet.
Nic128's Avatar - Comment posted on 01/04/2010 16:01
Nic128
What the user/client cares about : appearances.

"Hey, good job, the website is pretty." As long as it works, we get ignored. XD
Shadowstew's Avatar - Comment posted on 01/04/2010 17:31
Shadowstew
haha emacs, good times.
Occams electric toothbrush's Avatar - Comment posted on 01/04/2010 17:33
Occams electric toothbrush
I didn't read your blog but please believe I will always cherish this moment.
doctor insidious's Avatar - Comment posted on 01/04/2010 18:36
doctor insidious
@Zyrshnikashnu
We just got back from winter break, we still have about 2 weeks before the semester ends. Also, are you in college? I ask because I'm not but my sister has a week left.

@Nic128
The only reason KDE is still used.
Zyrshnikashnu's Avatar - Comment posted on 01/04/2010 18:38
Zyrshnikashnu
Ah, high school, then? We didn't have any programming courses in my high school. I had to teach myself by writing IRC bots in Perl. :P
doctor insidious's Avatar - Comment posted on 01/04/2010 19:23
doctor insidious
Wow, that's actually really awesome. I kinda wish that my up bringing in Comp Sci was more roguish like yours instead of me fiddling around with programming then a guy handing me SICP.
TSuereth's Avatar - Comment posted on 01/04/2010 21:58
TSuereth
Two words: side projects. Only way I stayed awake in high school was by sketching flowcharts and pseudocode in my notebook. But it sounds like you have this covered already.
doctor insidious's Avatar - Comment posted on 01/04/2010 23:13
doctor insidious
Yah, I do that a ton. Really great why to sketch your ideas out before the actual coding!
prev next

Comment with Facebook





Click connect and comment instantly!

Comment with Dtoid





New? SIGN UP - it takes 5 seconds

Comments policy

Destructoid is an open discussion community. You don't need to "audition" to post a comment - just speak your mind. We respect differing opinions on the site, so have at it. Be smart, funny, insightful, clueless, or cute -- but back it up with substance. Keep your cool, keep it fun. We only ask that you act respectfully and above all: don't be a troll and ruin it for everyone else. Don't bring down gamers or we'll, you know, gently shoot you in the face and stuff you into a flaming mailbox. Each comment is your opportuntity to make this community awesomer. Is that even a word?

Avoiding the banhammer only requires common sense: spamming, trolling, racism, NSFW stuff, and other forms of sucking will not be tolerated. If anyone is griefing please report abuse. Be good. Don't suck!