Day 10: Function is a functional interface that takes an input and gives an output. so functions can be chained.

Function is a functional interface that takes an input and gives an output. so functions can be chained.

July 6, 2021 · 1 min

Day 9: Functional interface

Functional interface

July 5, 2021 · 1 min

Day 8: I always liked string interpolation in JS. Now i found out about Javas MessageFormat's format method which lets us in its way use string interpolation.

I always liked string interpolation in JS. Now i found out about Javas MessageFormat’s format method which lets us in its way use string interpolation.

July 3, 2021 · 1 min

Day 7: Today i found out that string declared with "" are placed in string constant pool while with new keyword its in heap. String.intern() return string if defined in string pool otherwise creates the string and then returns it.

Today i found out that string declared with "" are placed in string constant pool while with new keyword its in heap. String.intern() return string if defined in string pool otherwise creates the string and then returns it.

July 2, 2021 · 1 min

Day 6: For Loop vs Foreach Loop Performance, and Why My First Benchmark Was Misleading

The original quick timing test was a learning snapshot, not evidence that for loops are faster than foreach loops. This update explains the benchmark flaws and points to JMH.

July 1, 2021 · 2 min