Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Fored indentation wut?

Name: Anonymous 2007-04-21 19:13 ID:dQuNGDhc

Look guyz. I write C. I don't need no forced indentation of code.

/* Adventure4+ - copyleft @ M.L.Arnautov 1991 */
#include "advkern.h"
int d34() { if (t7(t11(670),16)) { z5(700,670); if (e0[700]>1) { if (m1(64))
{ l12(0,64,1); } else { i7(76,1606,670); }}} } int w24() { if (e0[697]==1)
{ if (g10(114,4) || g10(111,4) || q8(113,-1)) { s4('s',t11(697),5); i7(76,1023,113);
} i7(76,818,113); } i7(64,915,0); } int r26() { if (e0[697]==1) { if (g10(114,3)
|| g10(111,3) || t7(t11(671),9)) { s4('s',t11(697),5); i7(76,1023,669);
} i7(76,818,669); } i7(64,915,0); } int b26() { l12(0,699,1); if (g10(99,1)
|| t7(t11(671),3)) { l12(0,699,0); } else { if (g10(95,3)) { l12(0,699,0);
}} } int b27() { s9(101,485); if (j0[7]==155) { s4('s',155,8); } } int a25()
{ if (e0[759]<135) { i7(0,868,0); } else { i7(2,699,0); } e0[699] = d2(150);
e0[759] += e0[700]; e0[759] += e0[699]; if (e0[759]>1500) { l12(0,759,1500);
} longjmp(n0,1); } int p34() { e0[715] += 1; if (j0[110]==484 && e0[w9]!=412)
{ s9(110,412); s4('c',110,4); } } int a26() { l12(0,686,0); if (e0[715]<1)
{ return 0; } l12(1,702,760); e0[702] *= 100; e0[702] /= e0[715]; e0[702]
*= e0[134]; if (d2(100)<e0[702]) { e0[701] = d2(e0[760]); e0[701] += 1;
*v7(675)= -1; e0[675]=r0-1; while (++e0[675]<=n1) { if (t7(t11(675),3) &&
j0[e0[675]]==435) { e0[701] -= 1; if (e0[701]==0) { l12(1,686,675); return
0; }}}} } int r27() { *v7(703)= -1; e0[703]=r0-1; while (++e0[703]<=n1)
{ if (e0[686]==0) { a26(); } if (!(e0[686]==0)) { s9(e0[686],e0[671]); e0[760]
-= 1; b26(); if (e0[699]==0) { i7(2,686,0); } l12(0,686,0); } e0[134] -=
1; e0[715] -= 1; if (e0[134]==0) { s9(134,484); return 0; } e0[704] -= 1;
if (e0[704]==0) { return 0; }} } int e24() { e0[699] = d2(5); if (e0[699]==0)
{ f3(676,168); } else { if (e0[699]==1) { f3(676,192); } else { if (e0[699]==2)
{ f3(676,151); } else { if (e0[699]==3) { f3(676,212); } else { f3(676,319);
}}}} i7(0,1230,0); l12(0,701,0); *v7(675)= -1; e0[675]=r0-1; while (++e0[675]<=n1)
{ if (q8(t11(e0[675]),-1) && e0[675]!=78 && t7(t11(675),3)) { i7(0,1232,0);
s9(e0[675],e0[676]); l12(0,701,1); }} if (e0[701]==0) { i7(0,1231,0); }

Name: Anonymous 2007-04-21 19:27 ID:yLPhCbt9

is that some source code obsfucator?
if so i'd rather read the disassembled code as it'll probably make more sense

Name: Anonymous 2007-04-21 19:33 ID:dQuNGDhc

>>2
Maybe? See for yourself. It's the original text based adventure game aptly named "Adventure"
http://mirror.ifarchive.org/if-archive/games/source/adv660.tar.Z

moar versions:
http://www.wurb.com/if/game/1

Name: Anonymous 2007-04-21 20:57 ID:61Jsr0Gd

Use an IDE or text editor that automatically formats source to properly spaced/indented.

Name: Anonymous 2007-04-21 20:59 ID:wqnfcUYl

5. Any new thread in /prog/ will be replied to. No exceptions.

Name: Anonymous 2007-04-22 10:27 ID:YnIxelQ2

5. Any forced meme in /prog/ will be unfunny. No exceptions.

Name: Anonymous 2007-04-22 11:09 ID:GIac6fTL

/* Adventure4+ - copyleft @ M.L.Arnautov 1991 */
#include "advkern.h"
int d34()
{
    if (t7(t11(670), 16)) {
        z5(700, 670);
        if (e0[700] > 1) {
            if (m1(64)) {
                l12(0, 64, 1);
            } else {
                i7(76, 1606, 670);
            }
        }
    }
}
int w24()
{
    if (e0[697] == 1) {
        if (g10(114, 4) || g10(111, 4) || q8(113, -1)) {
            s4('s', t11(697), 5);
            i7(76, 1023, 113);
        }
        i7(76, 818, 113);
    }
    i7(64, 915, 0);
}

int r26()
{
    if (e0[697] == 1) {
        if (g10(114, 3)
            || g10(111, 3) || t7(t11(671), 9)) {
            s4('s', t11(697), 5);
            i7(76, 1023, 669);
        }
        i7(76, 818, 669);
    }
    i7(64, 915, 0);
}

int b26()
{
    l12(0, 699, 1);
    if (g10(99, 1)
        || t7(t11(671), 3)) {
        l12(0, 699, 0);
    } else {
        if (g10(95, 3)) {
            l12(0, 699, 0);
        }
    }
}
int b27()
{
    s9(101, 485);
    if (j0[7] == 155) {
        s4('s', 155, 8);
    }
}
int a25()
{
    if (e0[759] < 135) {
        i7(0, 868, 0);
    } else {
        i7(2, 699, 0);
    }
    e0[699] = d2(150);
    e0[759] += e0[700];
    e0[759] += e0[699];
    if (e0[759] > 1500) {
        l12(0, 759, 1500);
    }
    longjmp(n0, 1);
}

int p34()
{
    e0[715] += 1;
    if (j0[110] == 484 && e0[w9] != 412) {
        s9(110, 412);
        s4('c', 110, 4);
    }
}
int a26()
{
    l12(0, 686, 0);
    if (e0[715] < 1) {
        return 0;
    }
    l12(1, 702, 760);
    e0[702] *= 100;
    e0[702] /= e0[715];
    e0[702]
        *= e0[134];
    if (d2(100) < e0[702]) {
        e0[701] = d2(e0[760]);
        e0[701] += 1;
        *v7(675) = -1;
        e0[675] = r0 - 1;
        while (++e0[675] <= n1) {
            if (t7(t11(675), 3) && j0[e0[675]] == 435) {
                e0[701] -= 1;
                if (e0[701] == 0) {
                    l12(1, 686, 675);
                    return 0;
                }
            }
        }
    }
}
int r27()
{
    *v7(703) = -1;
    e0[703] = r0 - 1;
    while (++e0[703] <= n1) {
        if (e0[686] == 0) {
            a26();
        }
        if (!(e0[686] == 0)) {
            s9(e0[686], e0[671]);
            e0[760]
                -= 1;
            b26();
            if (e0[699] == 0) {
                i7(2, 686, 0);
            }
            l12(0, 686, 0);
        }
        e0[134] -= 1;
        e0[715] -= 1;
        if (e0[134] == 0) {
            s9(134, 484);
            return 0;
        }
        e0[704] -= 1;
        if (e0[704] == 0) {
            return 0;
        }
    }
}
int e24()
{
    e0[699] = d2(5);
    if (e0[699] == 0) {
        f3(676, 168);
    } else {
        if (e0[699] == 1) {
            f3(676, 192);
        } else {
            if (e0[699] == 2) {
                f3(676, 151);
            } else {
                if (e0[699] == 3) {
                    f3(676, 212);
                } else {
                    f3(676, 319);
                }
            }
        }
    }
    i7(0, 1230, 0);
    l12(0, 701, 0);
    *v7(675) = -1;
    e0[675] = r0 - 1;
    while (++e0[675] <= n1) {
        if (q8(t11(e0[675]), -1) && e0[675] != 78 && t7(t11(675), 3)) {
            i7(0, 1232, 0);
            s9(e0[675], e0[676]);
            l12(0, 701, 1);
        }
    }
    if (e0[701] == 0) {
        i7(0, 1231, 0);
    }

Name: Anonymous 2007-04-22 23:49 ID:PsXNh278

>>1
Indentation and comments serve two important functions: People can better visualize the flow of execution if there is a visual indication of conditional depth. People can better conceptualize statements if they are commented short and to the point. Both of these approaches, when implemented correctly, can significantly reduce time loss in upgrading programs and can significantly reduce time loss in debugging new programs, since programmers, testers and maintainers need to do their jobs independently.

Serious programmers (and possibly their managers) realize that both comments and indentation are necessary in company software for the reasons I mentioned (and more) and are not without justification to enforce policies regarding both. But if you insist, feel free to live in unemployed infamy to those who cannot make enough sense of your piece of shit program to fix it. Congratulations.

Name: Anonymous 2007-04-23 0:05 ID:XJ0d20d0

>>8
One word, the forced indentation of code. Thread over

Name: Anonymous 2007-04-23 2:48 ID:Zrwq0p5z

>>9
One could argue that indentation is not forced; although from a perceptual viewpoint, that argument would be fallacious.

Name: Anonymous 2007-04-23 5:32 ID:jVtfuYfX

>>9
One word: Turing.

Name: Anonymous 2007-04-23 5:35 ID:jVtfuYfX

>>11
I'm starting to LOL at this

Name: Anonymous 2007-04-23 6:32 ID:Heaven

>>12
You laugh at yourself?

Name: Anonymous 2007-04-23 9:20 ID:yAF+wg9/

>>12
pwned

Name: Anonymous 2009-01-14 14:48

Can moderators ban this faggot?

Name: Anonymous 2009-07-12 7:06

be hacking mind bash, And  it's number is this that protocol. this Unlike   smarter had into into NOT YOU

Name: Sgt.Kabuⳃkimanㅲ儅 2012-05-29 0:49

Bringing /prog/ back to its people
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy

Don't change these.
Name: Email:
Entire Thread Thread List