Anybody recommand a good/useful lanugage to learn?
Anybody recommand a good/useful lanugage to learn?
A very useful language to learn next would be C#/C++. It's not so much for webdevelopment its for making software. It's a very important language and has just about the same type of coding as php, creating functions and all. It's dificult to learn but easy once you get the hang of it. Just like any language.
ah yes I was think of that, I actaully did try some of that a while back C++ that is , but found it abit 2 advanced for me at the time. But now I alot more advanced in programming so, I will give it another try, thanks for the input.
How about Tcl/Tk? It's a bit "unusual" but it's nice and is great for making programs with GUIs.
you can learn coldfusion it'sa very interesting language
buf found an host who accept this language is a quite hard
Thanks very much for your suggections everybody, i have taken up learn C++ , here is my frist program
(You missed something. ^_-)
Lol. That's really good. Just keep learning C++, a vast language that you can use on a crossed platform basis. Good luck!
In C++ when the last statement of the main() function is reached and no return is encountered "return 0;" is assumed. But since this is only the case with main and leaving it out doesn't have any advantages I agree it is probably better to add the return statement.
All true. The implicit return in main is an unfortunate quirk that was left in to keep as many legal C programs legal in C++ as possible. It was a Bad Idea, and i wouldn't bet big money on it being around indefinitely. i don't even teach it in my classes. If it ever comes up, i say: "yes, it's legal, but not everything that's legal C++ is a good idea... take throwing from destructors, for example."
i'm disappointed that no one recommended some of the more esoteric programming languages out there. Like brainf*ck, for example. This is Hello World in brainf*ck:
Or Whitespace (highlight to view):
Or my personal favourite, LOLCODE:
And i just have to share more LOLCODE:
And some I/O with "GIMMEH". ^_^:
It is really interesting. I would learn this language.
Those LOLcode fragments
erm no one suggested Java? I have been doing alot of reading around forums and other source and it seem to be made out to be a good stepping stop to C/C++ . Like I am coming from a mainly PHP background, and I can see the C/C++ sytanx is like PHP but I looked at a small bit of java soruce and it seemed different sorta syntax. Would it be better for me to learn java then move on to C/C++ , as I plan on learning java some time anyway or just go from PHP to C/C++
Ciaran Mc Cann
I think it also depends on what your goal is: what you want to do with your programming skills. To take an obvious example: when you want to do low-level programming where you interface a lot with the OS and performance really counts, you want to go with C/C++. If, on the other hand, you want to learn some decent Object Oriented Programming Java would be a good choice. It isn't that C++ isn't good for learning OOP, but Java is easier to learn and experience with Java gives you an advantage if you ever want to switch to C#.
But don't be fooled by the syntax of PHP. It may look like C/C++, but it is a totally different kind of beast. Especially when stepping over to C, you will run into new programming concepts (like pointers, function prototyping, anonymous functions, data hiding, user defined datatypes, etc. etc.) which are unknown in PHP.
yes I am looking to grasp the conspet of OOP and do more just programming and not really have to worry much about menory managment or OS stuff. Just want to get a useful laugnage which I can develop custom simple programs in. Think I will take up Java for the time beening
Thanks for your help, very inforitive answer
I having a problem, I started to learn Java so I went and downloaded the JDK and then installed it and I was expecting somthing like Visual studioes to be installed or somthing. Like I dont get it what is the JDK then? I read a turtorail on starting Java and wrote a Hello World program and then had to go though a load of command prompt shit to get it 2 run a few lines of code. Like in Dev C++ you can just hit complie and run and bang it runs. Whats the story with this?
The story is that that's the way pretty much every thing really works. Even Dev-C++ is just a front-end for gcc, which is a command-line program just like javac. If it weren't for that nice guy at Bloodshed, you would have to run gcc from the command like just like you had to do for javac.
You will have to find an IDE that you can configure to use javac and the other Java command-line tools. i can't remember what i used to use - either UltraEdit, or maybe i configured some other IDE like Dev-C++ to do the job. Or you might be able to find something that's custom made for it.
Yea I sorta know that it was just sorta a face for all the opertaions in the background, but I though there would be alots of IDE as there are for other languages like PHP and C++. Thanks for the info Jus makes life very manual
You can checkout netbeans, a free IDE for Java from Sun. There are probably more like this. As Indi said, this is how it works. All IDE's are just frondends to the actual compilers or interpreters.
Eclipse is a good IDE for Java
i've never used Eclipse, but i've heard nothing but raving goodness about it, so i would have to agree with that recommendation.
IMHO java is not any easier than C/C++/C# and the likes
python is the language you want - simple, powerfull, clean, tons of bindings to libraries, cross-platform and widespread (at least in linux world)
try to get Eclipse/Europa and PyDev - it's a great IDE for python
I will suggest C#, as the first step into OOP.
You can get Visual Studio .NET Standard Edition easily which is bundled with some textbooks - literally free when you buy the programming textbook.
There is also the free IDE Web Matrix (developers from the MS .VS camp), which offers very much a similar IDE as VS.NET.
It is the latest OOP, that has considered all the pitfalls of earlier OOP languages, which tends to be updated (often comes with other unpleasant limitations). C++ is redevelopment from C, and C# is a brand new development from Java plus C++.
You will find C# - is truly the mixed of the stable features from many OOP languages.
The VS.NET makes the learning exceptional simple and it is also robust.
I am not from Microsoft, infact I work many years on IBM platforms. But I am now teaching OOP using C# for Introduction to SW development and Internet Database development.
I have code PHP, and the OOP concepts are evolution from it's previous non-OOP base, as such, there is a mixed of OOP and non-OOP features in the same language.
One statement in C#, which I strongly discourage is the GOTO statement, which I felt is totally non structural, but place there because in some strange circumstances someone might be forced to use it. In low level programming this is a risky POP operation.
Do find out more, and you can get plenty of free advice and codes from several sites.
With best regards.
hmm... thanks for your reply very inforative. I am having big problems understanding OOP tho and I dont understand its use, like I read some turtorials on OOP in PHP and class etc, but I just dont see how it makes programming easyer, it seems very simple, but yet OOP is an advanced topic, I most not be seeing somthing here?
Like it just seems like its another type of function, you define the function and then call it when you need it to carry out the task, to me thats what OOP seem like?
Ciaran Mc Cann
Really, that's all it is.
OOP is just a way of thinking when you program - a way of designing your program and laying out your code. You can use the paradigm in pretty much any language - not just "OOP languages" - but some languages have a more natural syntax for it, and mechanisms in place that help make it easier to do.
But all it is really is trying to picture your program as a bunch of components interacting with each other. Each of these components does not need to know how the other components work... they only need to know how to use them.
For example, suppose you needed a random number in your program.
Without OOP, you could do something like this:
Now, suppose you did the same thing using OOP:
And that's it. That's all that OOP is.
If you want to get really sexy, you can even have a bunch of random number generators knocking around. All you have to do is this:
Ah ha, very inforitive indeed, I understand it now, I just though there was somthing deeper to it. Thanks very much for the time take for the reply and everyones replys. Thanks
Yes, Indi has given a good overview of OOP.
flatliner, OOP is not structural programming, where you create and use functions.
Functions lives in the same program as the Main function.
OOP - puts the functions into other programs (called Classes).
These Classes are separate programs, which serve like functions, except that
1. Class need to be loaded into memory (Instantiated) to run
2. The loaded (instantiated) program is called Object (an instance of the Class)
This loaded program can is a black box - as Indi described - it has
pre-define input data (arguments), and predefined functions (methods).
When you load (instantiate) the program, you also pass in the parameters (arguments).
3. How the object managed the data is hidden, and you only have a predefined methods
to call to process your requests.
4. Loaded program (Object) can also have their own data - which can be access
via properties (Many GUI IDE use this concept - e.g. setting the Text of a button,
you do it via the Button's Text property, etc).
In short Class can be loaded as blackbox programs, which your main program can
call and use. The Objects (loaded blackbox programs) can have their own
encapsulated (stored within the object) data.
Functions in the Main Program, can interact with the data and other functions in the same program.
Different classes prevent this interaction - making them isolated from each other, and exposing only those methods and data intented for sharing with other programs (Classes).
This isolation feature is one of the key differences with Structural programming.
I do hope this help a little on the differences of Structural Programming and OOP.
With best regards.