Carl
Vaseem Mohammed wrote:intendation should not be something I should be concerned as a first programmer.
I remember writing BASIC before that and it wasn't a structured language then.Junilu Lacar wrote:. . . when structured programming was The Thing. . . . like Pascal or BASIC . . . .
Agree.. . . any number of threads around here where that (=correct indentation) would have made a significant difference . . .
Text in () is my text.
But some people take a very long time to go from procedural programming to OOP (=object‑orietned programming).S Fox wrote:. . . for a beginner i think the best language would be C . . . you avoid needing to learn OOP right off the bat . . . .
Campbell Ritchie wrote:Have you seen Joel Spolsky's ideas about teaching programming? He says you should make things difficult so as to weed out the “can't”s from the “can”s. . . . it is just as difficult to get one's head round OO (=object‑orientation) . . .
Let's think about it. Let's imagine you are trying to read a text file containing numbers, do some calculations with those numbers and write them to a new file.All the loops will work. The only really bad name for a variable is x. the resources are closed (actually, there is a risk of not closing the resources), and you are handling the exception, which probably won't be thrown in the first place. Actually there is a risk of throwing an exception, because you might have misspelt the name of the input file, so it is a lot better to use a file chooser to find your file.Elaine Byrne wrote:. . . Although I think I get the object-oriented idea, . . . can you give a correct-incorrect example . . .

Vaseem Mohammed wrote:... the intendation should not be something I should be concerned as a first programmer.
Dustin Wright wrote:What mathematical skills must I possess to become a successful, EMPLOYABLE programmer?
Dustin Wright wrote:Is your book a tool to help me acquire this skill?
Campbell Ritchie wrote:... Let's imagine you are trying to read a text file containing numbers ....
That's a pleasureElaine Byrne wrote:. . . Thanks, Campbell

