Hacker News new | ask | show | jobs
by mtdewcmu 3278 days ago
Ask the person to implement "Hello world" and then count the lines of code, number of classes, inheritance depth, number of external dependencies, etc.
2 comments

    $ perl -wle "print 'hello world'"

    $ echo "hello world"

  "Hello World"

  echo -e "#include <stdio.h>\nvoid main() {printf(\"Hello world\\\n\");}" | gcc -o ./foo -xc - && ./foo && rm foo
(=<`#9]~6ZY32Vx/4Rs+0No-&Jk)"Fh}|Bcy?`=*z]Kw%oG4UUS0/@-ejc(:'8dc

  echo "Hello world!" > hello.php
  php hello.php
Thats plain java-cism there.