Yes, but different languages often require different thinking. in C, you could create subroutines, in early versions of BASIC you cannot
BC, I wish to correct you on that statement. It is misleading and pointless. One needs to understand sub routine as an idea regardless of the syntax of a language. If early BASIC did not have subroutines, then neither did C.
The concept of a subroutine can be made even in the most primitive programming environment. In this thread the idea that the language controls you thinking has been overstated.
A criticism of early programming language is lack of local variables. Classic C is that category. Yet the concept can, and has, been used even in assembly language. You have to thin k outside of the box.
The programmer can discipline himself to think of his programing method as having local variables and reusable code and an and abstract idea idea that does not depend on the limits of the language.
The worst example I can think of from my own experience is machine code for the 1802, an 8bit CPU once made by RCA that has a 65 536 byte address space.(1024 times 64 = 65 536.) The programmer had to crate his own stack mechanism and discipline himself to place things on the stack and take them off. The CPU was a close to a RISC type and you have to create your own abstract layer at the machine code level. That kind of programming you would do in a quit place with a cup of coffee -
and you mind.NOOB wants to learn! is the theme here. Reducing this to
which programming language is best, does not fully address his needs.
My formal training was in COBOL on a IBM 360. I never even saw the machine. None of my programs ever worked. After that, I was learning a very early version of Microsoft BASIC and studied that and wrote two games that whee later published in the now default Personal Computing magazine.
But long before that, I had done a lot of heavy reading about computers, but not just about computer languages. My college days were just one semester. I had to work full time. At home I learned 8080 assembly language from a very brief article by Bill Gates. On an Altair I built.
This post is longer that what I like to do, I make too many spelling errors. Bit if the OP understands what I mean, that is all the matters. Every hing he can learn can help him in the future with any challenge he may face.
Nicolas Wirth wrote a language called Pascal. Rather that recommend learning Pascal. I would recommend learning about Nicolas Wirth. And find out why he named it Pascal.
OP, Please read:
http://en.wikipedia.org/wiki/Niklaus_WirthAnd tell use what you think about the information found there.