News for hackers. Stuff that matters.
Re:Why I love Common Lisp and hate Java (2012) by jayd16 on Saturday November 03, 2018 @10:52PM (#18373842)
>Not allowing free functions is really just a poor design choice.

I don't see why. The verbosity is pretty minimal and you enforce the availability of a privacy scope you wouldn't have had. ie private static methods and members that your public statics can use.

Although, pure functions are nice if you can't trust the code you're calling won't surprise you.

Re:Why I love Common Lisp and hate Java (2012) by tasuki on Sunday November 04, 2018 @03:20AM (#18374856)
I think this has to do with naming. Naming is generally hard, with free functions you must name the function, in Java you must also name the class.

If you could show some examples of single method interfaces whose naming makes sense, I'd be delighted!

Re:Why I love Common Lisp and hate Java (2012) by jayd16 on Sunday November 04, 2018 @08:47PM (#18379216)
>If you could show some examples of single method interfaces whose naming makes sense, I'd be delighted!

IDisposable with a single Dispose() method?

Re:Why I love Common Lisp and hate Java (2012) by tasuki on Monday November 05, 2018 @07:04AM (#18381641)
Fair point, though I'd smack you for IDisposable :) Why not just Disposable?