Quantcast
Community Discussion: Blog by doctor insidious | Getting back to work and all that (NVGR)Destructoid
Getting back to work and all that (NVGR) - Destructoid

DestructoidJapanatorTomopopFlixist





click to hide banner header
About
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;
}
Player Profile
Follow me:
doctor insidious's sites
Badges
Following (12)  


Take note, most of this won't make sense to you if you haven't read any of my previous blogs.

Well, Wondercon's tomorrow. It's actually today, but no one ever goes on a Friday, plus I have school, so I'm going tomorrow. I'm pretty psyched.
But that is not what I wanted to talk about, no, I wanted to talk about something much different.
God I'm tired. I guess school does that too you.
(I don't want to talk about that either).
As some of you know, I am, or was, programming a game engine. I think the last post I did on it was a while back, and in that post I showed you a bit of the language I was creating.
As good at programming as I may have sounded in that article, I was shit at it, and because of that I have scrapped that project and I am now, under the sponsorship of the school (the class I am in now's main homework assignment is pretty much "do what ever you want"), I am working on it again. The previous language I had written was horrible, it used a stack of 1000 variables, the syntax was unbearable, and I didn't expect anyone to use it. I didn't even know how to use malloc, much less pointers. The new language I am creating (a very large amount is done), in contrast, is very, very, good (excuse my humility). No, it's not that good, but it does employ some very fucking clever shit for OOP and arrays, which I will tell you about as soon as it's implemented, is garbage collected, and supports multithreading. Anyway, here is a sample piece of code for you, one that I will probably spend 10 minutes on. All for you. Lucky bastards.

# In file main.rua This is a comment.
useLib("C_library.so");
defunc addFive(* def aPointer)
{
abcd(= aPointer + aPointer 5);
}
defunc returnAddFive(def aLocalVar)
{
abcdreturn (+ aLocalVar 5);
}

(= def notInAFunc (* rand() 100));

addFive(notInAFunc);
if (|| (&& (!= notInAFun 5) (> 3 notInAFunc)) (== notInAFunc 2.667)
{
abcdprint("What?");
}

And there are else statements and whatever. God I'm tired.



Is this blog awesome? Vote it up!





Comments not appearing? Anti-virus apps like Avast or some browser extensions can cause this.
Easy fix: Add   [*].disqus.com   to your software's white list. Tada! Happy comments time again.

Did you know? You can now get daily or weekly email notifications when humans reply to your comments.


Back to Top




All content is yours to recycle through our Creative Commons License permitting non-commercial sharing requiring attribution. Our communities are obsessed with videoGames, movies, anime, and toys.

Living the dream since March 16, 2006

Advertising on destructoid is available: Please contact them to learn more