You're looking at Less Wrong's discussion board. This includes all posts, including those that haven't been promoted to the front page yet. For more information, see About Less Wrong.

bogus comments on More intuitive programming languages - Less Wrong Discussion

4 Post author: A4FB53AC 15 April 2012 11:35AM

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

Comments (89)

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

Comment author: bogus 15 April 2012 06:23:56PM *  3 points [-]

Problem is, there are too many languages that make programming of simple programs easier, and programming of complex programs more difficult.

Agreed. But this problem can be avoided by embedding such domain-specific languages inside a general-purpose language. Then writing simple programs (for some definition of "simple") is still fairly easy, because the DSL can be implemented with a one-time cost in complexity. However, coding complex programs is still feasible.

Visual representations of programs are interesting in their own right, because they allow reasoning about some program properties in very intuitive ways (depending on the representation, this may be syntax, data flow, control flow, data representation, etc.). However, it is probably the case that there is no single "best" visual representation for programs, and thus no such thing as a one-size-fits-all "visual programming language".

Comment author: Viliam_Bur 16 April 2012 08:12:14AM 0 points [-]

this problem can be avoided by embedding such domain-specific languages inside a general-purpose language.

Or by making a really convenient library for a general-purpose language. Although the language puts some limits on how convenient the library can be.

But I suspect one probably makes more money selling a new programming language than selling a library.

Comment author: loup-vaillant 16 April 2012 11:18:04AM 1 point [-]

Or by making a really convenient DSL factory. The only use for your "general purpose" language would be to write DSLs. A bit extreme, but it shows some promise. Current results suggest this approach uses 3 orders of magnitude less code than current systems —possibly even less.