I suppose I better learn one of them gay OO business oriented to be able to code inane custom apps for some corporate...
I come from the C demoscene school, so using OO and especially using stuff like .NET or JVM to me is like pulling my eyes out with a spoon; but the world changes nobody cares about pure performance anymore it seems. I gotta go with the flow...
So, which is the lesser of two evils for someone like me?
C# or Java?
(or any other you might suggest)
C#|.NET is about anal slavery
Java is about LOC
C is about premature bitfucking
groovy is about whatever
slojure is about awesome
Name:
Anonymous2009-11-11 7:23
If you're anything like me you'll probably like java better, OP.
Name:
Anonymous2009-11-11 7:27
If you're anything like a competent programmer, you'll prefer C# to Java but nearly anything else to either.
Since you sound like kind of an idiot, try Java.
>>13
Without function prolog and ending, function calls would perform exactly the same as goto statements. Which makes me wonder, why do compilers still bother to save the registers, move the base pointer and so forth if they could just do away with it completely. It's not like anyone's still writing custom assembly to mess up the registers.
Name:
Anonymous2009-11-11 9:34
>>14
I don't think you have fully thought what just said through.
>>19
Trolls should at least make some sense to work properly. Thus, it is you who is depriving yourself of peace while you troll.
Name:
Anonymous2009-11-11 11:53
>>17
I personally would like to return to another process somewhere, with CoW.
>>1
Without further qualifying factors, I would suggest C#. On the other hand, embedded programming is kind of a big deal and Android uses a less terrible than most Java implementation. (If you're just looking to branch out, get into embedded stuff. Though I'd personally avoid Android.)
>>9
This. CLOS is pretty nice for OO, but OP seems to want something liked by the ENTERPRISE, so I'd go with C#, but Java isn't that much different from it.
Name:
Anonymous2009-11-11 12:29
>>11
I don't know enough about Ambient-Orientation to argue your statement.
>>16
The program is just chilling, running normally, when suddenly a 42 appears somewhere and it doesn't know what the heck.
I hate dealing with code written by people like OP. The faggots who name all their variables like cryptic registers and document nothing. They have huge swaths of copy and pasted code from their "performance tweaking", a lot of it commented out so they can revert to other implementations later if necessary (they just don't want to delete it). Nearly all their functions are declared inline.
I have to go over your shit code, turn it into something manageable by multiple people (there's OOP for you), and then document your shit.
You can always spot poor programmers pretty quickly. They are tied to a particular language. They hate one or more languages. Why? They don't understand it. They assume what they know is superior.
Go suck some cocks, man. Suck a mean fat one.
Name:
Anonymous2009-11-12 9:43
>>33
I lol'd, though I must ask you this: do you really think people hate PHP adn Java because they don't understand them? I'll leave Sepples out because it's possible that no one understands it.
lol evidently you've never coded LISP. (not (= LISP many-parens)). That's just the visual aspect which anybody and their dog can spot in a snippet of code. LISP is about far more than the visual look of its syntax. It's more about the way it parses and handles that syntax. Just because both java and LISP use the '(' character in their source code does not bring them any closer together.
Also, I'm looking forward to a future where computers are so powerful you can get away with coding LISP as a reasonable systems language. (That is if we don't descend into medieval anarchy and club each other's brains out over the last remaining foodscraps)
>>50
I originally wrote an ridiculous chain of if-else blocks, assuming Go was too hip to goto. But I didn't want to be too harsh, so I checked the spec and it was there, with error handling as the implied purpose.
edit: it seems I broke the rules, though, since the first goto skips across a variable declaration. Which means I would need an explicit var s bufio.Writer; before that.
Also you can finally use break and continue with label parameters to jump more than one block out.
// Set the texture's stretching properties
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
while (quit == 0) {
while (SDL_PollEvent(&event)) {
if (event.type == SDL_QUIT) {
quit = 1;
}
if (event.type = SDL_KEYDOWN) {
switch (event.key.keysym.sym) {
case SDLK_LEFT:
z += 0.2f;
break;
case SDLK_RIGHT:
z -= 0.2f;
break;
>>59
I don't know why that code makes me feel nostalgic.
Name:
Anonymous2009-11-13 18:05
>>61
The executable version of this is a 26 mb download. It makes a nice video and all, but it's not very impressive from a technical standpoint.
>>60
Suppose I've written something like this. Now what do I do? OP, how did you get into the demoscene?
Name:
Anonymous2009-11-13 18:13
>>59
Built this and put in a 512x512 checkerboard image for back.bmp. I get a black screen. What am I doing wrong? Also, where does this code come from?
Name:
Anonymous2009-11-13 18:43
>>66
Press the left arrow key to move backwards from this huge ass red rectangle. You can use the right arrow keys to move further towards it.