|
Programming and Assembly Language Please read this Topic's rules!! |
![]() |
| LinkBack | Thread Tools | Rate Thread |
| ||||
Oh, geez. There are literally HUNDREDS and HUNDREDS of books written on object oriented programming, and dozens of computer languages written specifically for it, not to mention dozens of others with OOP extensions. There are a number of different ways to write software. The most common categories are:
Note that NO practical and useful program I am aware of implements any one of these paradigms completely, and most programmers develop a programming style that blends the approaches as appropriate. Some languages tend to inherently favor one programming style over another: assembly has very little inherent structure and so lends itself to sequential programming; with some modest effort it can be used for procedural programming and even structured programming but it requires some discipline on the part of the programmer since assembly has no concept of local scope; EVERYTHING is a global. C is an example of a language that can be used for either sequential or procedural programming, and C actually makes structured programming relatively easy as it supports the concept of local scope (variables created in one function are not visible in another). Pascal and Modula 2 are other examples of procedural languages. C++ is an extension of C with OOP primitives called classes (indeed, the first versions were known as "C with classes"). C# is a C++ derivative and so inherits much of that functionality, although being a .NET language it is less functional than C++. Java is another language that is a C++ derivative. It is worth noting that just because a language is considered procedural doesn't mean that you can't write object oriented code in it; it just means that the language itself doesn't support such concepts. By the same token, using an object oriented language doesn't mean that you can't write procedural programs; it just makes writing object oriented programs easier than a language that isn't designed for it. It should also be noted that the type of programming language used doesn't make one's coding style good or bad; I have seen very elegantly designed assembly language programs, and I have seen some really horrid object oriented programs. An OOP language can make it easier to build a well designed program, but ultimately bad code is the fault of the programmer, not the language used. There are lots and LOTS of tutorials on the web: object oriented programming tutorial - Google Search However, this one seems like a good place to start: Object Oriented Programming Tutorial Last edited by Gizmo; 24th February, 2009 at 06:49 PM. |
| ||||
Wow, thanks Gizmo. I'm sure you spent at least an hour writing this. A lot of keywords there too. The only code I know are HTML and Actionscripting (Flash), are either of these considered object oriented programming? I've read that actionscripting is....
__________________ Booman Mint 17.3 64-bit Wine 2.0 PlayOnLinux 4.2.10 Linux Guides: PC Games Linux Beginners Tips Linux Games List Mack Truck Dungeon Of Fire Spray Booth Tutorial |
| ||||
oh, and where does C# fit? because most windows games are made with it...
__________________ Booman Mint 17.3 64-bit Wine 2.0 PlayOnLinux 4.2.10 Linux Guides: PC Games Linux Beginners Tips Linux Games List Mack Truck Dungeon Of Fire Spray Booth Tutorial |
| ||||
Thanks Gizmo, thats kinda what I thought... I purchased a book on C# because I wanted to learn how to write code for games in Visual Basic Express. I would love to learn how to code so it could benefit my use of computers and entertainment in games.
__________________ Booman Mint 17.3 64-bit Wine 2.0 PlayOnLinux 4.2.10 Linux Guides: PC Games Linux Beginners Tips Linux Games List Mack Truck Dungeon Of Fire Spray Booth Tutorial |
| ||||
I would love to learn how to make games in C#, but right now I spend most of my time working to pay the bills and my extra time serving at Church. Some day I'll start going through tutorials and learning each step, one at a time. I have always wanted to mod PC games, create my own games and make flash online games. Since I love playing them I figure it would be good to make-em.
__________________ Booman Mint 17.3 64-bit Wine 2.0 PlayOnLinux 4.2.10 Linux Guides: PC Games Linux Beginners Tips Linux Games List Mack Truck Dungeon Of Fire Spray Booth Tutorial |
| ||||
Actually, I did. I installed XNA and Visual Basic Express and all the other components to get it working. Like Direct X SDK... All of the installations were quite complex, but I downloaded a few games and looked at their code. I even tried a tutorial and found that knowing the basics of C# would help immensly. Thats a HUGE overtaking I'm not ready for right now. I have not written it off completely either. I found that its better to wait a few years and then there will be plenty of tutorials for every situation.
__________________ Booman Mint 17.3 64-bit Wine 2.0 PlayOnLinux 4.2.10 Linux Guides: PC Games Linux Beginners Tips Linux Games List Mack Truck Dungeon Of Fire Spray Booth Tutorial |
| ||||
then you already have an advantage... Check out Visual Basic Express at Microsoft... There are plenty of tutorials and free games that you can see how they made it. Obviously, when you have time, of course...
__________________ Booman Mint 17.3 64-bit Wine 2.0 PlayOnLinux 4.2.10 Linux Guides: PC Games Linux Beginners Tips Linux Games List Mack Truck Dungeon Of Fire Spray Booth Tutorial |
![]() |
Tags |
programming |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Rate This Thread | |
| |
![]() | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
My introduction | ccperf721p | Random Nonsense! | 18 | 29th June, 2007 04:21 AM |
First introduction of GDDR4: Radeon X1950XTX | Gizmo | Graphics and Sound cards; Speakers and other Peripherals | 13 | 7th August, 2006 02:06 PM |
Help with PHP 4 object oriented | Wolf2000me | Programming and Assembly Language | 3 | 11th May, 2006 03:26 PM |
Hello all, an introduction is in order....... | lgattone | ThunderRd's AOA FOLDING@HOME Team | 6 | 31st August, 2003 06:24 PM |
Money's no object - so what RAM for 8RDA+ | Blackmyst | EPoX MotherBoards | 19 | 9th March, 2003 11:56 PM |