Profile cover photo
Profile photo
Rahul Revo
Rahul's posts

Post has attachment
LruCache in Java
Java collections has LinkedHashMap which is a combination of a HashMap and a linked list which allows for predictable iteration order. There are two options for iteration - Based on insertion order, or based on Access order. Now to create a Least Recently U...

Post has attachment
Habits and Marketting

"How often people speak of art and science as though they were two entirely different things, with no interconnection. An artist is emotional, they think, and uses only his intuition; he sees all at once and has no need of reason. A scientist is cold, they think, and uses only his reason; he argues carefully step by step, and needs no imagination. That is all wrong. The true artist is quite rational as well as imaginative and knows what he is doing; if he does not, his art suffers. The true scientist is quite imaginative as well as rational, and sometimes leaps to solutions where reason can follow only slowly; if he does not, his science suffers." - Isaac Asimov

Programming = Art && Science

Post has attachment

Post has attachment
Wait while more posts are being loaded