Created
June 1, 2016 18:55
-
-
Save h0tk3y/f3b2da73078a9a9c4ff2fb0f1f867f0e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| StackOverflow: | |
| Really good: | |
| http://stackoverflow.com/questions/37394266/how-can-i-force-calls-to-some-constructors-functions-to-use-named-arguments | |
| Really nice hack with Nothing type. | |
| http://stackoverflow.com/questions/5007357/java-generics-bridge-method | |
| Good explanation with enough links for further reading provided. | |
| http://stackoverflow.com/questions/313584/what-is-the-concept-of-erasure-in-generics-in-java?lq=1 | |
| Good concept explanation, enough examples and links to further reading. | |
| Misleading: | |
| http://stackoverflow.com/questions/342052/how-to-increment-a-java-string-through-all-the-possibilities/ | |
| Accepted answer is non-universal and ugly solution. | |
| http://stackoverflow.com/questions/35173887/how-to-convert-arraylist-of-strings-to-char-array/35174209#35174209 | |
| Accepted answer uses toString() of a List to solve the problem. | |
| Hard to choose best answer: | |
| http://stackoverflow.com/questions/15590675/converting-char-array-to-list-in-java/34055302#34055302 | |
| Many decent solutions, use of Guava and Java 8 Streams. There's even an ad-hoc workaround for the problem in question. | |
| Google: | |
| Hard to find: | |
| antlr3 non-greedy lexer | |
| Nothing about how to make it non-greedy, i.e. prevent it from consuming characters when a shorter sequence matches. | |
| Eventually found: http://stackoverflow.com/questions/10136324/antlr-lexer-rule-consumes-characters-even-if-not-matched | |
| java easy xml mapping | |
| Probably jackson-dataformat-xml should also be listed since it's a really compact solution | |
| Eventually found: https://github.com/FasterXML/jackson-dataformat-xml | |
| hibernate bad performance on large classes | |
| Nothing found about FetchMode.JOIN performance on classes with several collections fetched from DB. | |
| Eventually found: http://www.solidsyntax.be/2013/10/17/fetching-collections-hibernate/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment