Game Rating (No ending time set) |
| Excellent |
|
16% |
[ 1 ] |
| Good |
|
83% |
[ 5 ] |
| Average |
|
0% |
[ 0 ] |
| Terrible |
|
0% |
[ 0 ] |
|
| Total Votes : 6 |
|
| Author |
Message |
Mr. Gruntsworthy

|
Posted: Thu Nov 30, 2006 4:05 pm Post subject: (No subject) |
|
|
| Okay, i was wrong, much as i suspected... yes, i remember reading somethign in my game design text book about threads. |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
Clayton

|
Posted: Thu Nov 30, 2006 4:25 pm Post subject: (No subject) |
|
|
uberwalla wrote: Raugrist wrote: not quite
in both languages, the code is executed line by line (actaully, in all languages lol)
id have to say "not quite" back to you.
java goes all at once not line by line. if it went line by line then u wouldnt be able to have procedures at the very end of the program and have them execute at the top. in java they can be anywhere so its not totally line by line, yet at same time it is. its argueable lets leave it at that.
sure it is, its just like forwarding a procedure in turing. Just because turing has the limitation of not being able to call a method without said method coming before the other code doesn't mean other languages can overcome that. |
|
|
|
|
 |
Raugrist

|
Posted: Thu Nov 30, 2006 4:29 pm Post subject: (No subject) |
|
|
uberwalla wrote: Raugrist wrote: not quite
in both languages, the code is executed line by line (actaully, in all languages lol)
id have to say "not quite" back to you.
java goes all at once not line by line. if it went line by line then u wouldnt be able to have procedures at the very end of the program and have them execute at the top.
um..... what r you basing this on?
uberwalla wrote: in java they can be anywhere so its not totally line by line, yet at same time it is.
java is line by line. c++ is line by line. turing is line by line. just because the prog can jump from what the line its executing to another part of the code doesn't mean its happening all at once.
... or did uwant to prove otherwise
uberwalla wrote: its argueable lets leave it at that.
yussir good deal  |
|
|
|
|
 |
xHoly-Divinity
|
Posted: Thu Nov 30, 2006 4:54 pm Post subject: (No subject) |
|
|
| It's called 'procedural programming' if I am not mistaken... means that it executes the program 'line by line.' The other type of programming is object oriented... Java has the ability to do both. Personally, I haven't done any object oriented, so I'm not very familiary with it |
|
|
|
|
 |
Silent Avenger

|
Posted: Thu Nov 30, 2006 5:39 pm Post subject: (No subject) |
|
|
| You should try OOP xHoly-Divinity, it's actually quite easy. In some cases OOP does execute in a procedural manner depending on how you make your program. |
|
|
|
|
 |
rdrake

|
Posted: Thu Nov 30, 2006 6:50 pm Post subject: (No subject) |
|
|
xHoly-Divinity wrote: It's called 'procedural programming' if I am not mistaken... means that it executes the program 'line by line.' The other type of programming is object oriented... Java has the ability to do both. Personally, I haven't done any object oriented, so I'm not very familiary with it Ruby is fully object oriented. Does it flow line-by-line? The correct answer is yes.
Even languages with the goto keyword do go line-by-line, they just don't flow very well when that keyword is misused. |
|
|
|
|
 |
[Gandalf]

|
Posted: Thu Nov 30, 2006 7:33 pm Post subject: (No subject) |
|
|
All languages are eventually converted to some kind of machine code, which is linear.  |
|
|
|
|
 |
uberwalla

|
Posted: Thu Nov 30, 2006 8:02 pm Post subject: (No subject) |
|
|
i believe its binary not machine  |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
[Gandalf]

|
Posted: Thu Nov 30, 2006 8:08 pm Post subject: (No subject) |
|
|
uberwalla wrote: i believe its binary not machine 
Machine code is written in binary... Binary is not a programming language by any means, though. |
|
|
|
|
 |
uberwalla

|
Posted: Thu Nov 30, 2006 8:35 pm Post subject: (No subject) |
|
|
| i know its not but its the correct term for the type of code it reads to run the stuff |
|
|
|
|
 |
xHoly-Divinity
|
Posted: Thu Nov 30, 2006 8:53 pm Post subject: (No subject) |
|
|
I never understood the difference between OOP and procedural...
Procedural is strictly line-by-line? and oop u can do both line-by-line and use objects to 'goto'? |
|
|
|
|
 |
[Gandalf]

|
Posted: Thu Nov 30, 2006 9:17 pm Post subject: (No subject) |
|
|
uberwalla wrote: i know its not but its the correct term for the type of code it reads to run the stuff
No, the correct term would be machine code. Binary is a number system, machine code is the binary representation of low level instructions. Why don't you stop arguing and spamming and look it up for yourself?
xHoly-Divinity wrote: I never understood the difference between OOP and procedural...
Procedural is strictly line-by-line? and oop u can do both line-by-line and use objects to 'goto'?
Not exactly... OOP is a huge topic, which wtd gives a general introduction to here. |
|
|
|
|
 |
Clayton

|
Posted: Thu Nov 30, 2006 10:19 pm Post subject: (No subject) |
|
|
As well, if you are ambitious and feel up to it, there is a 3 part tutorial on OOP in the Turing Walkthrough written by Cervantes (just to give you an idea on how big the subject is ) |
|
|
|
|
 |
Mr. Gruntsworthy

|
Posted: Thu Nov 30, 2006 11:51 pm Post subject: (No subject) |
|
|
| i was told that turing is just a teaching language, and that C++ and Java (among others) are a better choice for real life programming. |
|
|
|
|
 |
Silent Avenger

|
Posted: Thu Nov 30, 2006 11:55 pm Post subject: (No subject) |
|
|
| You are right Mr. Gruntsworthy. Turing is just a teaching language which shows the fundamentals of programming. Of course C++ and Java are better for real life because that is what is primarily used by most actual developers. |
|
|
|
|
 |
|