Javarevisited
javarevisited.blogspot.com · Personal blog · on HN since 2011
Javin Paul's Java-focused blog with interview questions, programming tips, book lists, and design principle articles.
What HN saysHN links it for Java interview and multithreading articles, though one commenter calls a submission blogspam and the author also appears promoting posts.
21HN people shared it
4linked it in comments
173stories submitted
667story points
3 years agolast shared
2011people per year2026
Most-shared posts
- 1Articles Every Programmer Should Read2 people · 256 points · first shared 2014 · 66 comments on HN
- 2Books to Prepare Programming/Coding Interviews2 people · 10 points · first shared 2016 · 1 comments on HN
- 3Programming language and their Creators2 people · 4 points · first shared 2015 · discussion on HN
- 4Top 20 String Algorithm Questions from Coding Interviews2 people · 3 points · first shared 2015 · 1 comments on HN
- 5Tips to Improve Programming Skills and Become a Better Programmer, Developer2 people · 3 points · first shared 2018 · discussion on HN
- 6Object Oriented Design principles Java programmers should know1 people · 63 points · first shared 2013 · 57 comments on HN
- 7How to Swap two numbers without temp variable in Java1 people · 34 points · first shared 2013 · 53 comments on HN
- 8Good Programmer vs. Average Programmer1 people · 18 points · first shared 2015 · discussion on HN
- 9CyclicBarrier Example in Java - Use case1 people · 13 points · first shared 2012 · 3 comments on HN
- 10How HashMap works in Java1 people · 7 points · first shared 2011 · 3 comments on HN
- 115 Websites to Learn SQL Online for FREE1 people · 6 points · first shared 2015 · discussion on HN
- 1210 Examples of Lsof Commands in Unix and Linux1 people · 6 points · first shared 2016 · discussion on HN
- 13Top 50 Programmer Phone Interview Questions with Answers1 people · 6 points · first shared 2015 · discussion on HN
- 14Javarevisited: Top 20 Amazon and Google Programming Interview Questions1 people · 5 points · first shared 2016 · discussion on HN
- 159 Things about null in Java1 people · 5 points · first shared 2014 · discussion on HN
What HN people wrote when they linked it
javinpaul · 2015-07-30
IMHO, the most important element of code review is to verify whether developer has thought through or not? whether his code can stand test of time or not, and this is where experience of code reviewer comes into picture. I have shared my 2 cents here http://javarevisited.blogspot.sg/2011/09/code-review-checklist-best-pr…
mrkeen · 2020-09-01
> I'm starting to think that every thread about FP is pretty much identical on HN
Spot on.
Where is Haskell actually used? No I meant apart from Facebook and Uber and Klarna.
> Just go and get hyped when the next minor FP feature gets integrated into your favourite language
We already have immutability in Java - why, the designers themselves made Strings immutable [1]
We said goodbye to nulls in Java [2] but in case you really don't like nulls you can also say goodbye to them by switching from Java to Kotlin, which doesn't have them [3] but also does [4].
If you want to cut down on some boilerplate (without moving to Kotlin), you can try type inference in Java [5]:
> For example, consider the following variable declaration:
Map<String, List<String>> myMap = new HashMap<String, List<String>>();
> You can substitute the parameterized type of the constructor with an empty set of type parameters (<>):
Map<String, List<String>> myMap = new HashMap<>();
Go got rid of Generics which made programming so much simpler. I can't wait for its new Generics feature though.
But if you really need that functional stuff - the best thing writing Java code is that it runs on the JVM, so you can code in Scala instead. And if that argument doesn't make you want to code in Java I don't know what will.
[1] https://javarevisited.blogspot.com/2010/10/why-string-is-immutable-or-…
[2]…
aw3c2 · 2011-08-14
blogspam, actual url is http://javarevisited.blogspot.com/2011/07/java-multi-threading-intervi…
javabuddy · 2011-02-11
This is really a good news buddy though doesn't seem practical such as charging in cents :)
Javin
[url="http://javarevisited.blogspot.com/2011/01/difference-between-fix-42-vs… title="Difference between FIX4.2 vs FIX4.4"]Difference between FIX4.2 vs FIX4.4[/url]