Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
.... if used properlyMarks256 said:assemby is EXTREAMLY fast. The fastest programming language out there.
_nox_ said:c is nice to read, very logical, very well designed, and generates quite short assembly code after compilation.
what !? example, please.C is very difficult to read, and can be impossible.
example ?C is very illogical.
Much better than Basic...C is very poorly designed, and encourages bad programming practices.
C is only difficult to read if the author of the program is lazy, has bad planning skills or doesn't quite know what he's doing. If you're willing to spend the time, plan your projects properly and put comments where they're needed then I find that C programs can be very well laid out and easy to understand. In contrast, I often find it difficult to understand someone elses Assembly program even when they have taken the time to lay out and comment it properly!Nigel Goodwin said:Interesting ideas?.
But more like:
C is very difficult to read, and can be impossible.
C is very illogical.
C is very poorly designed, and encourages bad programming practices.
C generally generates quite small code after compilation.
This was why Pascal was always the language of choice at University!.
Nigel Goodwin said:Interesting ideas?.
But more like:
C is very difficult to read, and can be impossible.
C is very illogical.
C is very poorly designed, and encourages bad programming practices.
C generally generates quite small code after compilation.
This was why Pascal was always the language of choice at University!.
dknguyen said:Actually, C is more logical to read- just don't treat it like an English novel which you can kind of do with. Pascal is the one that promotes bad programming practices because it lets you get away with so many inconsistencies such in your code like capitalization, among other things.
C requires more discipline than Pascal (and most other languages). If you don't have that discipline when you code in C, it's not C's fault- it was the fault of the less strict language you learned before.
C doesn't let you get away with bad programming practices, Pascal does- so logically, Pascal promotes bad practices more than C does.
But if you REALLY want the elimination of bad programming practices (such as never making any errors anywhere), go with Assembler!).
Nigel Goodwin said:C on the other hand allows you to write incredibly poor code, that can be completely impossible to understand, even for the person who wrote it.
dknguyen said:I am not sure what you mean by Pascal forcing you to have good code means, but I learned C first so I never had those problems. As for understanding code? Use comments. It's just good programming practice.
ThermalRunaway said:Another advantage with learning Assembly first which I forgot to mention is that Assembly FORCES you to understand what it going on at the hardware level, which is a HUGE advantage when you come to design a project.
philba said:you cast/diddle a pointer to look