News for hackers. Stuff that matters.
Re:Show HN: Fo: An experimental language which adds generics... by jjoonathan on Tuesday June 12, 2018 @05:52PM (#17298410)

    void do_stuff(Integer[] integers) {
        ....
    }
    
    do_stuff(new String[]{"1", "2", "3"})
    
    Compiler: whoops, you passed an array of strings when the API called for an array of integers.

There are no comments on this comment yet.