123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|662|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Off Topic -> Jay-code!

Sat, 06 Apr 2013, 18:38
Jayenkai
I voted closed, because nobody ever wants to see my code!! EVER!!!!

-=-=-
''Load, Next List!''
Sat, 06 Apr 2013, 22:00
dna
I remember some years ago that three persons wanted to see the source code of one of your programs.

-=-=-
DNA
Sun, 07 Apr 2013, 00:55
spinal
I was particularly interested in the scoring code in spike

-=-=-
Check out my excellent homepage!
Sun, 07 Apr 2013, 01:05
Jayenkai
For the record, I didn't mean the content of my code. I meant its chaotic nature!

-=-=-
''Load, Next List!''
Sun, 07 Apr 2013, 10:25
steve_ancell
Jayenkai I voted closed, because nobody ever wants to see my code!! EVER!!!!

The codez man!, giv' us da codez!.
Sun, 07 Apr 2013, 10:27
steve_ancell
Jayenkai For the record, I didn't mean the content of my code. I meant its chaotic nature!

My Tetris game was chaos, nothing in there was planned. The code was just one big kludge. LOL
Sun, 07 Apr 2013, 10:28
Jayenkai
For example JayCode, See Here..

-=-=-
''Load, Next List!''
Sun, 07 Apr 2013, 12:12
Dabz
I'm in the "If it works... f*** it!!!" camp too!

I once put some code up at the bb.com forums, it was for a bit of simple path finding, if I remember, I got about 3-4 comments on how unoptimized it was, one posted "ewwwwwww"...

And do you know what, after prompting these god-like coders on how they would do it (I'm always up to learning a better way)... Not one of the buggers posted!

Dabz

-=-=-
Intel Core i5 6400 2.7GHz, NVIDIA GeForce GTX 1070 (8GB), 8Gig DDR4 RAM, 256GB SSD, 1TB HDD, Windows 10 64bit
Sun, 07 Apr 2013, 12:56
rockford
I code to get something to work. If it works, jobs a good-un. I believe in readability on my code, not beautification.

I don't comment my code as much nowadays, but I do ensure all functions and variables are suitably named, based on what they do or what they are for. Because I use a fairly standard coding approach on each of my apps I can go back to old code and understand exactly what it does.

I've seen professional code and honestly, it looks like shit - but really, it's not meant to be seen, so who cares.
Sun, 07 Apr 2013, 15:31
Afr0
I've seen professional code and honestly, it looks like shit - but really, it's not meant to be seen, so who cares.


What kind of code was this? Who worked on it? How many worked on it?
If it looked like shit, they didn't do their job. Obviously, everyne does 4AM code, but professional code is usually worked on by more than one person, and so needs to be understood by more than one person.

For an excellent example of professional code that was worked on by at least two people, check out this.

Example:



Please keep in mind that I take no responsibility for the copyright of the above code. If the company in question cared, they'd ask the person responsible for the "leak" to remove it.

-=-=-
Afr0 Games

Project Dollhouse on Github - Please fork!