Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Exposure to different subjects is good, but there are better, cleaner languages to use for introducing concepts of programming such as variables, functions, algorithms, and data structures without taking up students' attention with syntax and boilerplate that has nothing to do with the lesson being taught.

Compare these hello world programs for instance:

Java:

    public class HelloWorld {
         public static void main(String[] args) {
              System.out.println("Hello, world!");
         }
    }
Python:

    print "Hello, world!"
Ruby:

    puts 'Hello, world!'


Showing a contrived example for a selected case doesn't show the benefit of a language.

In that case, why not teach Basic? Its hello world is just, print "Hello World"




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: