News for hackers. Stuff that matters.
Re:Java Verbal Expressions by PaulHoule on Wednesday November 25, 2020 @11:19AM (#25210805)
That kind of thing works even better in Java because the static type system enforces it.

In particular generic methods don't have the problem of type erasure that affect generic classes so many things you would want to do with types "just work".

Almost everybody is afraid of it, but $ works just fine as an identifier and can be used to make a DSL that looks like jQuery in Java.

Maybe someday i will write a class like:

   class("some.namespace.MyClass").method(...)

There are no comments on this comment yet.