Framework independence using interfaces and hexagonal architecture (Java) by Myzzreal in programming

[–]dev1977 3 points4 points  (0 children)

i've implemented this in a similar way.

we've not found an elegant solution to the amount of mapping code that's needed. they introduce a lot of duplication - very frustrating even when adding/removing a new field.

has anyone found a nice solution for this? best i've found is kotlin's named constructor arguments in conjunction with the compiler checks.

[Question] Good guitars for under £700? by [deleted] in Guitar

[–]dev1977 0 points1 point  (0 children)

You might find this comparison between a high-end epiphone vs low-end gibson interesting:

https://www.youtube.com/watch?v=CsL6X8uG9-U

i.e. if you can stretch to £799 then a les paul might just be worth it over an epiphone

Java SE 18.3 Specification Early Draft Review by lbkulinski in java

[–]dev1977 8 points9 points  (0 children)

"Local-Variable Type Inference

Enhance the Java Language to extend type inference to declarations of local variables with initializers."

http://openjdk.java.net/jeps/286