News for hackers. Stuff that matters.
Re:What Made OO Be Successful by cousin_it on Sunday January 04, 2015 @04:50PM (#8836005)
At least in Java, no one's stopping you:

    import static com.whatever.LinearAlgebra.multiply;

    ...

    multiply(matrix, vector);
I think it's a worthwhile tradeoff to make source files serve as the unit of namespacing and encapsulation. You lose some flexibility, but large programs become easier to read, and new programmers have fewer random conventions to learn.

There are no comments on this comment yet.