faul_sname comments on Checking for the Programming Gear - Less Wrong

5 Post author: MBlume 08 September 2012 08:38PM

You are viewing a comment permalink. View the original post to see all comments and the full post content.

Comments (53)

You are viewing a single comment's thread. Show more comments above.

Comment author: jaibot 08 September 2012 09:36:36PM 15 points [-]

Not HTML! Not HTML! In addition to the obvious shortcoming of not being a programming language, HTML is confusing and often vague. Start with python, ruby, or a lisp.

Comment author: faul_sname 09 September 2012 04:10:58AM 3 points [-]

or a lisp.

Not Lisp! Not Lisp! It's a great language, but it has no syntax.

I second Python.

Comment author: fiddlemath 09 September 2012 06:19:48PM 1 point [-]

it has no syntax.

I've usually heard that as the reason to give Lisp to a new programmer. You don't want them thinking about fine details of syntax; you want them thinking about manipulations of formal systems. Add further syntax only when syntax helps, instead of hinders.

What's the argument for preferring a more syntax-ful language?

Comment author: Kindly 09 September 2012 06:38:20PM 2 points [-]

I would object to Lisp because it has scary parentheses everywhere. It might be intimidating to a novice.

In fact, I also think Python is good, precisely because there's not too much syntax, especially at the beginning.

Comment author: fubarobfusco 12 September 2012 06:30:17PM -1 points [-]

People can always find things in surface syntax to object to. Python's whitespace is pretty unpopular with people who think all "normal" languages have to have curly braces — as well as with some folks who grew up with Fortran and think that significant whitespace equals dinosaurity.

The interesting thing about Lisp is not its surface syntax, but the relationship between code and data. The textual syntax of Lisp is a way of expressing data structures; Lisp code is defined in terms of trees, not text. Most languages don't make the syntax tree of the code available to the programmer; it's hidden away as internal data structures within the compiler.

Comment author: Kindly 12 September 2012 06:43:31PM 1 point [-]

True, and that makes it a good language to be familiar with, I'm just not convinced it's a good language to start with.