Thursday, July 30, 2009

What programming language has the easiest to understand source code?

I'm interested in programming language design, but have yet to find a language that I can fully or even mostly understand how it works. Preferrably an interpreted language, but a compiled one would also be interesting.

What programming language has the easiest to understand source code?
Well-written Perl programs will read almost like English. (I say well-written because I do not think that cryptic one-liners - which are always held up as "Perl programs" - are well-written).





Python programs are a good bet simply because of Python's design philosophy: do each thing in one particular way. This leads to almost every Python program doing specific operations in nearly the same way, making it quite easy to understand any particular Python program once you understand Python, period.
Reply:C language.
Reply:Javascript and Visual Basic are two of the easiest to learn. Nither are very powerfull but should suffice for a beginner.





Javascript(NOT JAVA) is great because it requires Zero software; IE is all you need. If you don't like, your not out a buck.
Reply:LOGO was a very easy one. Pre GUI BASIC was cool
Reply:If you want to make games without coding, go to the following site and download FPS Creator trial version.
Reply:Unfortunately, any programming language can be used to write poor, difficult to read code more easily than it can be used to write good code. I believe the quote is "Hell is other people's code".





As far as interperated languages go, I have a pretty easy time of parsing through PHP code, but I have been working in it for a few years now.





PERL makes it very easy to write bad code, same for JavaScript.





The C family of languages is a toss up (see my first paragraph), and Java is convoluted unless written well.





I can't comment on any others as I don't have much experience with them.





If you are talking compiler source code, that is probably in assembly (if you are lucky its in C).


No comments:

Post a Comment