I code in nodejs daily, end then comes everybody learn Go, maybe because most of decacorn start up company in my neighborhood uses Go, then here I am, learn Go as well. Not to mention that in fact we should always learn new(any)thing to survive, and Why should you learn Go ? mentions its something that fit future hardware architecture, nothing to lose to learn Go by the way.
Let’s say, I have this kind of list of Mongodb documents, named
The challange is to keep eveerythings fine, not break single thing while we do change things to be like what we need. I know there is some best practice already out there. This is only documentary notes. Who knows I need this again in the future.
I really like Guard Clause, it makes me easier to read coding flow. Ya, you might want to google it “Guard Clause”, is a pattern to write code. You’ll end up on this link: Replace Nested Conditional with Guard Clauses - Refactoring. If you don’t use it or even don’t know it yet, I suggest you to learn and use it and share to your team. You all will love it.
Baru tau kalo ada yang namanya prinsip EAFP dalam pemrograman. EAFP Principle as you might can google it, it is a principle or pattern to write code in python. Pretty sure we can use it in other programming language as well.
I learnt a lot of interesting things. This has been a few months, since I started to read about search engine, particularly Solr. I need it because of the requirement at work, but I am really happy to do that. That was fun. So these are what I’ve got so far.