News for hackers. Stuff that matters.
Re:Show HN: Detecting the Programming Language of Code Using... by leoh on Monday July 18, 2016 @03:22PM (#12117455)
Interesting case:

    x = [1,2,3]
    x << 4
> haskell: 0.94, ruby: 0.03, swift: 0.01

    x = [1,2,3]
    x << 4
    puts x
> ruby: 0.89, haskell: 0.10, swift: 0.00
Re:Show HN: Detecting the Programming Language of Code Using... by pprogrammer on Monday July 18, 2016 @03:39PM (#12117577)
puts is probably much more informative than <<