Replying to @dkrizic
@dkrizic You just build a function distance(p1, p2) without feeling guilty. Not that you couldn't do that in Java, but you typically don't.
2
1
@stilkov Ok, now I get you, but like @rotnroll666 I do not feel guilty adding Point#distance, I don't know how to do it better in Java
1
@dkrizic @rotnroll666 That's my point: what's idiomatic in Java doesn't necessarily make sense.
2
@stilkov @dkrizic I understand that functional programming solves a lot problems but i don't get why this is a particular good example.
2
@rotnroll666 @dkrizic My point was that once you get used to writing free functions, being forced to use objects everywhere feels just wrong
2
2
@stilkov @dkrizic Ok… Understood. public abstract class Utils {} ;)
1
2
@rotnroll666 @stilkov I wanted to laugh, but I have seen complete applications on static methods… I stopped laughing
2
1
@dkrizic @stilkov Good PL/SQL developers doing Java for the first time…
1
@rotnroll666 @stilkov PL/SQL, 1st line persistence, 2nd line business logic, 3rd line presentation (HTML), shudder
2
1
@rotnroll666 @stilkov "Everything in one place"
1
1
Replying to @dkrizic
@dkrizic @rotnroll666 I'm sure Oracle offers a way to run JSPs in the database

Sep 12, 2013 · 8:53 AM UTC

1
1
Replying to @stilkov
@stilkov @dkrizic sort of. It's called Apex ;)
1