3 ms·
For learning programming concepts and everything I started out with java (OO language). (I still love java I just don't feel like OO is the only languages to g
by wisienkas 12y ago
For learning programming concepts and everything I started out with java (OO language).
(I still love java I just don't feel like OO is the only languages to get things done)
Java(2.5 years experience) is fairly easy and it has great IDE support etc.
And the template thing in OO with a house has a floor and a roof and 4 walls etc. is fine.
But can't you do the same in C (which I have recently started to learn quite intensely)? I know you have to do a little more code but it isn't that much really and C gives you great control over anything really, you can also have it organized into files and such in C just as fine at you would have done in java.
- If I'm complete off please tell me
- rbrogan 12y agoThat is correct, in the abstract. There can be programs written in both C and Java that do the same thing. The question is then: if people are writing programs in Java, what is the cause, what is making that happen?
- jghn 12y agoPresumably the cause is that their boss told them to use Java. Now why did their boss tell them that ... Often these decisions have all sorts of legacy issues involved which don't make the real reasons all that clear cut - and if one were to really dig back the initial answer is likely "because that's what people say we're supposed to use"
- diego_moita 12y agoI went the opposite path, from C to OO languages, including Java. Yes, you can do the same in C, in fact a lot of people did it intuitively before OO became mainstream. Many of the techinques that make OO design work so nice (encapsulation, loose coupling, strong cohesion) were called simply "modularization" back then. The advantage of modern OO languages of today is that the techniques are explicit, clear on the language design, they don't depend only on the programmers discipline. Also, they bring a lot of other features hard to implement in C: garbage collection, reflection that provides sleek frameworks and tools for refactoring, etc.