Topic: A question for coders

Ive been wondering, what does code look like? and is it hard to learn how to write it?

First strike, playing from day one: SirKillsalot30

Resident Metal Gear Solid fan

2 (edited by herbanator3 2007-12-31 19:56:14)

Re: A question for coders

in my opinion, code is a bunch of crazy little marks stuck in a notepad-like thingy and compiled to make a program tongue I think it takes some good determination to learn and you need some good references. (stuff on the internet isn't nearly as good as stuff like books)

#!/usr/bin/python
# Filename : helloworld.py
print 'Hello World'

Thats the classic "hello world" Its in python though big_smile (i dont know much of anything.. i want to learn, but my references are so limited..

but yeah, thats sorta how code looks like, i dont know if its a good example, but i hope it gave you a good idea tongue

_________________________________________
Join the FS xfire group! http://xfire.com/clans/FSCG/

Re: A question for coders

depends on what level of code you want to look at.
Everything is boiled down to 4-bit words called nibbles.  ex . 0101
Pairs of nibbles form bytes, and is the basic unit.  1010 0101
From there if you take binary combinations of these you produce hex. 6F02  (hexadecimal is 0-9 A-F )
Mostly programs are written in a higher level laguage farther up the food chain , in C++. 

#include<iostream.h>

And all your macro-languages like used in games is just script like C scripts that are almost readable. ( like posted in the post above mine ) That one was obviously a snippet of code from a python script.

hope that covers whatever language level you wanted to look at ...

"The victorious win the battle, then go out to fight ... while the defeated go out to fight, then try to win the battle.   -SunTzu
"The only difference between a capitalist and a communist is that the communist hates competition!" -Circuit

http://www.coolanddry.net/ceilingcat.png

Re: A question for coders

So line noise like that is what makes things in game happen?

First strike, playing from day one: SirKillsalot30

Resident Metal Gear Solid fan

Re: A question for coders

Stardestroyersarecool wrote:

So line noise like that is what makes things in game happen?

well sort of, i think .con files have a big influence on ingame stuff too.

_________________________________________
Join the FS xfire group! http://xfire.com/clans/FSCG/

6 (edited by Luke SkyRaper 2007-12-31 22:41:05)

Re: A question for coders

it all looks like line noise bud , it just depends on how mentally Fked up you are in order to digest it efficiently. I chip along like a caveman making his wheel when I program.  Some people can write good programs like taking a dump. But the better you are , the stranger you are.

"The victorious win the battle, then go out to fight ... while the defeated go out to fight, then try to win the battle.   -SunTzu
"The only difference between a capitalist and a communist is that the communist hates competition!" -Circuit

http://www.coolanddry.net/ceilingcat.png

Re: A question for coders

Luke SkyRaper wrote:

hope that covers whatever language level you wanted to look at ...

I think he wanted to know what the coding for BF mods looks like.

XFire - lastremainingscreenname, In Game Name - FSTest| inund8[FSL]
http://www.inund8.com/lmaolmao.gif
"Thats today? and is this an april fools?" - Stardestroyersarecool, on getting owned