Small blog of different stuff

Posted by death on Sept. 23, 2012, 9:09 p.m.

Going to split this into different paragraphs as i've got a few things from different topics to say.

Programming:

F*** yeah! I got a 93 on my C programming test. It's the first test in my programming course on C (or Xcode for Mac). So it was pretty easy but still. man it's surprising how all the concepts we're being taught i already know so well. GML has actually helped me understand programming way more than i thought. Still C syntax is scary… what a ridiculously strict way to code.

Human behavior:

One thing that i've noticed while posting at the GMC's religious topics, is just how dangerous human belief can be. People blindly follow things that are illogical, cannot be proven, have no evidence for and that have no possible benefit for practicing. Now modernly religion isn't as extreme as it used to be but it's brought about some of the worst events in all of the world's history.

I can't believe that people used to think that slavery was okay. It's just terrible to think about. Almost everyone thought it was okay to beat someone and force them to work to death with no pay. It's amazing a few good-hearted and smart humans were able to create a big enough movement to change the world! it's almost a miracle if you think about it. It's difficult as hell to convince somebody once the belief has settled in.

Look at Hitler, how the hell was someone able to convince a whole nation that killing all the Jews would be a good thing to do? It's horrifying what humans are capable of and it's equally horrifying just how stupid humans can get. Following blindly to their own death. that's what i see being a soldier on Hitler's side was like.

Comp project:

haven't been working on it. I got a big ass biology exam to study for. this shit is complicated as hell and cramming all this knowledge in is hard. It's too much useless information. i love learning concepts and interesting things about biology but schools try their best to bore you with memorizing how many electrons can be in the valence shell of x element. or other shit like … see? i already forgot!

It seems the human brain quickly dumps information it doesn't find useful or interesting. one reason why i hate the education system. learn a bunch of stuff that has nothing to do with your major and that won't be useful to you or interesting for you.

anyway after the test on Tuesday i'll get back to the project. Should start working on more rooms i guess. the map system is going to be a pain with that side-scrolling style i have going.

Comments

Rob 12 years, 3 months ago

Quote: death
you really do confuse me. your previous post was almost fully defending that it's not cryptic at all and is very clean and easy. now you're comparing it to suicide?

I was defending C and saying it's simple, and then I was saying that C++ is a giant clusterfuck bent on ravaging your tender anus if you fuck something up.

It's also no more cryptic than the operators used in languages like Java/GML/etc. ! for negation? ?: for ternary conditionals? | for bitwise OR? How are those any more or less cryptic?

Quote: Cyrus
C lets you shoot yourself in the foot. Rob, finish the rest please.

And C++ lets you blow your entire leg off while trying to shoot yourself in the foot.

or

[quote=http://www.m5p.com/~pravn/foot.html]

C

You shoot yourself in the foot.

C++

You accidentally create a dozen instances of yourself and shoot them all in the foot. Providing emergency medical care is impossible since you can't tell which are bitwise copies and which are just pointing at others and saying, "That's me over there."

death 12 years, 3 months ago

hmm normally i hear "C++ is easier than C" so now i have no idea what to believe… not that i care, i'm still going to learn both anyway.

JuurianChi 12 years, 3 months ago

The analogy is that both will kill you, but C++ is better at killing you than C will ever be.

huh.

Paradox.

Juju 12 years, 3 months ago

Learning anything other than Game Maker is a waste of time, you can even make your own OS in Game Maker. I'm making a MMORPG so I'd know about these things. Visit my really active forum on http://www.geocities.com/~DigimonBallZ2003RPG/index.html

Rob 12 years, 3 months ago

Quote:
hmm normally i hear "C++ is easier than C" so now i have no idea what to believe… not that i care, i'm still going to learn both anyway.

Oh, it's easier to do the same thing in most cases. But there are so many more features of C++ to screw you over if you mess up. I mean, dealing with strings in C vs C++…. I'd rather chop off my own testicles than do extensive string-managing in C. It's harder to mess up in C++, but when you do, you really mess up due to the added complexity.

Although I guess C isn't too friendly when you mess up either, since all you usually get is "lol segfault".

Castypher 12 years, 3 months ago

*whooooosh*

lol@edit

F1ak3r 12 years, 3 months ago

We recently finished doing C++ in my CompSci course.

Quote: Lecturer
C++ combines the worst things about C with the worst things about object orientated programming.
Still use it over Java though.

It's basically a load of OO stuff stapled onto C. So you get to use proper C++ strings instead of C's arrays of characters, but you still have those around and sometimes I tear my hair out because of how stupid it is to have two types of strings.

Cesque 12 years, 3 months ago

As a semi-non-programmer, I view C as C++ except with classes, and complicated enough not to let me compile a copy-pasted "hello world" code example.

Quote:
It's amazing a few good-hearted and smart humans were able to create a big enough movement to change the world! it's almost a miracle if you think about it.

I don't think it happened anywhere near like that.

Anyway, what I find creepy is how many ridiculous and scary idea are actually recent developments. American slavery? 17th century. Racism? 18th century.* Islamic terrorism? 19th century.

* Racism in the modern sense. To an ancient Roman, there were no "white" or "black" or "yellow" people, anyone who wasn't born Roman or Greek was a stinking barbarian, no further distinctions necessary.

Rob 12 years, 3 months ago

Quote: Cesque
As a semi-non-programmer, I view C as C++ except with classes, and complicated enough not to let me compile a copy-pasted "hello world" code example.

#include <iostream>

int main()
{
     std::cout << "Hello, World!";
     return 0;
}

vs

#include <stdio.h>

int main()
{
       printf("Hello, World!");
       return 0;
}

Note: the C will compile in C++ anyways, just include <cstdio>

sirxemic 12 years, 3 months ago

Ah. C. The language that lets you do this.

#define _ -F<00||--F-OO--;
int F=00,OO=00;main(){F_OO();printf("%1.3f\n",4.*-F/OO/OO);}F_OO()
{
            _-_-_-_
       _-_-_-_-_-_-_-_-_
    _-_-_-_-_-_-_-_-_-_-_-_
  _-_-_-_-_-_-_-_-_-_-_-_-_-_
 _-_-_-_-_-_-_-_-_-_-_-_-_-_-_
 _-_-_-_-_-_-_-_-_-_-_-_-_-_-_
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
 _-_-_-_-_-_-_-_-_-_-_-_-_-_-_
 _-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  _-_-_-_-_-_-_-_-_-_-_-_-_-_
    _-_-_-_-_-_-_-_-_-_-_-_
        _-_-_-_-_-_-_-_
            _-_-_-_
}