![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Hobbyist Programmer
Join Date: Jun 2006
Location: at my computer desk
Posts: 138
Rep Power: 3
![]() |
new approach to learning programming...should i give it a go?
i found this new book that takes a 'different' approach to programming....award winning, best teacher of the year Aminash Kak teaches C++ and Java simultaneously, saying u learn more and its more efficient, also given code in one language make a prog. that does same thing in the other helps you be mroe independent than other books with copyin code...its at my local library and i checked it out. it is ok but assumes u know c....uhh i dont know c so its pretty rough start, dunno if i should just go back to java and then python/c++
ALSO i want to know about game programming, i went to gamedev and got game maker made a good game with levels saving and profiles (graphics were not good but everything else was) are there any projects where i can join in as the guy who just does the easy redundant work no one else wants to do? and it needs to be easy but yeah im lookin for some real experience |
|
|
|
|
|
#2 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
They'll probably wonder if you're going to get angry, walk away, and leave 'em in the lurch
.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#3 |
|
Hobbyist Programmer
Join Date: Oct 2005
Location: Ohio
Posts: 177
Rep Power: 0
![]() |
You can join game projects at SourceForge. C, C++, PHP are all good languages but the real trick to being a good programmer is not knowing a specific languages but knowing how to work with what you have. To be a decent programmer I would probably start with JavaScript if I were you. There is no need to have a compiler and the language is fairly simple and you can have fun with it.
|
|
|
|
|
|
#4 |
|
Hobbyist Programmer
Join Date: Jun 2006
Location: at my computer desk
Posts: 138
Rep Power: 3
![]() |
thats interesting no one has told me that before, almost every1 said c++ first everything else will b ez...
i chose to learn JAVA first cause it needs notepad commandprompt and jdk and is pretty simple....i know HTML and a little JavaScript but they arent really programming theyre scripting...i could learn more JavaScript though |
|
|
|
|
|
#5 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Javascript, though it is a scripting language, is definitely programming. HTML is not. You may be confusing the term, "programming", with "compiled to native code", I don't know.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#6 |
|
Programming Guru
![]() Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5
![]() |
I've always felt that programming is a subject independant of the language that implements it. Perhaps teaching C++ and Java in tandem helps the student see this better. Personally, I wouldn't recomment C++ as a first language; I feel it's relatively high complexity distracts the student from the more important principles they should be learning.
Javascript is an interesting suggestion, but I've always found that it's rather difficult to debug, myself. I haven't found a Javascript debugger that's as good as the ones I find in popular IDEs, such as Eclipse, and I haven't seen an interactive interpretor for Javascript that's as good as the one in Python. I'd go with Python myself, but that's my answer for everything ![]() |
|
|
|
|
|
#7 |
|
Professional Programmer
|
Javascript confuses the Hell outta me. More often than not, I have to copy and paste a couple of different tutorials, edit the variables, change some of the functions, and then kind of keep changing stuff until something works, without really understanding it. I wouldn't suggest using it as a starter language. I would stick to the more "mainstream" C, C++. or even C# over Javascript (though that's my own personal opinion)
|
|
|
|
|
|
#8 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Please don't take my post #5 as recommending Javascript as a learning language. I was merely correcting the statement that "it isn't really a programming language." I don't find it confusing, but I'm not a big fan of weakly typed languages. I like to know that 1 + 1 is 2 (not 11) without having to break out the parseInt function every other line. That's just personal outlook (and probably old-fogeydom), of course.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#9 | |
|
Programmer
Join Date: Jun 2006
Location: New York
Posts: 43
Rep Power: 0
![]() |
Quote:
__________________
It's not complex if you know what you're doing... |
|
|
|
|
|
|
#10 | |
|
Programming Guru
![]() Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5
![]() |
Quote:
C++: #include <iostream>
#include <vector>
using namespace std;
int main() {
vector<string> names;
names.push_back("Bob")
names.push_back("Fred")
for (vector<string>::iterator iter = names.begin();
iter != names.end();
iter++)
{
cout << *iter << endl;
}
return 0;
}names = ["Bob", "Fred"]
for name in names:
print name |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|