You became a programmer anarchist. What are some conventions that you don't want to follow along?

Started by
26 comments, last by RLS0812 11 years, 6 months ago
Stop using data structures. Instead, just make a function that takes a bajillion arguments. Example:


// Used to be:
const Image combine(const Image& image1, const Image& image2)
{
...
}

// So now it's:
void combine(const char* buf1, int width1, int height1, int pixelFormat1, const char* buf2, int width2, int height2, int pixelFormat2, char* outBuf, int& outWidth, int& outHeight, int& outPixelFormat)
{
...
}


I'm not entirely sure what the point of this thread is, so this is me guessing like I'm playing along.
[size=2][ I was ninja'd 71 times before I stopped counting a long time ago ] [ f.k.a. MikeTacular ] [ My Blog ] [ SWFer: Gaplessly looped MP3s in your Flash games ]
Advertisement
How about you upload a virus that's sorta like in Superman 3. Just be sure and watch the decimal places, or you might have a sudden attack of conscience and start working in construction.
You became a programmer anarchist[/quote]Does n0t co/\/\put3... ZAP GLITCH ZAP ZAP BUG KILL ZAP

Previously "Krohm"

P.S. Anachism != chaos, deliberate rebellion against rules.
Anarchism == rejection of central authority/acknowledgement of individual authority and voluntary rule abidance with no monopoly on power.

Anarchist programmers would probably still voluntarily adhere to decent guidelines (because they're beneficial to projects), but anyone would be free to participate in the guideline forming process, or democratically propose an alternative set of guidelines, instead of some arbitrary manager forcing the decisions down the hierarchy a la dictatorship style.

Valve is basically an anarchist games company.

Fucking Hungarian notation will kill me. Fuck that, and fuck that to hell. Underscores are also pain in the ass.

private:
int _omg;
int __uberomg;

int some_stupid_calculation = __uberomg + _omg * __uberomg / __uberomg + __othervar + __more_private_variable + __underscore;




double underscores make me sad :(

[quote name='alnite' timestamp='1349382031' post='4986871']
Fucking Hungarian notation will kill me. Fuck that, and fuck that to hell. Underscores are also pain in the ass.

private:
int _omg;
int __uberomg;

int some_stupid_calculation = __uberomg + _omg * __uberomg / __uberomg + __othervar + __more_private_variable + __underscore;




double underscores make me sad sad.png
[/quote]
You shouldn't even be using double underscores (anywhere). Unless you're implementing C++, in which case, have fun sucka!
[size=2][ I was ninja'd 71 times before I stopped counting a long time ago ] [ f.k.a. MikeTacular ] [ My Blog ] [ SWFer: Gaplessly looped MP3s in your Flash games ]
I pretty much try to follow standard conventions like a sheep.

Terminology etc is often 'reworded', for example "reflection", almost anything that requires the use of that word gets reworded in basic words. "Iterate" became "cycle" because well why not ;) and I never use the word compile, its "build" to me. Small things I guess no real complaints yet.

I have been questioned on why I have my own set of unique tokens though but honestly TODO: just isnt good enough for everything.

For XAML bindings, class names have 'Interface' at the end, and Mode is always explicitly declared
There is always programming everything on one line ( most languages, you can do this ), or using a very over complex language such as BrainF###.

If you don't want to learn an overly complex language, why not simplifying everything by using an outdated language such as FORTH ?

I cannot remember the books I've read any more than the meals I have eaten; even so, they have made me.

~ Ralph Waldo Emerson

This topic is closed to new replies.

Advertisement