Hacker News new | past | comments | ask | show | jobs | submit login

University's job is to expose students to variety of subjects even if they don't like it. It's part of the education.



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"




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

Search: