Comment

Comment by bobbylarrybobby

Python has pseudo interfaces via the typing module. Julia really has nothing resembling interfaces -- you just have to keep in your head all the methods that are expected to exist for a given type. The closest thing are abstract classes, which are used exclusively for dispatch, but you can only have a single superclass so they don't compose like interfaces do.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton