I actually already aware about static site generator far years ago, and already used once, Jekyll. And then, I need to learn another then I try some other static site generator. One can consider this as wasting time, but, I don’t know. This might give me some experience by changing blog engine all the time.
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 hardwares
;
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.
Hampir setiap kali kita membangun aplikasi, kita membutuhkan file konfigurasi. File konfigurasi untuk menyimpan data yang configurable disesuaikan dengan environment aplikasi. Contoh data koneksi database, data credential API dan sebagainya. Berbeda orang atau tim, maka berbeda pula format file konfigurasi nya.
Pada Sistem Relational Database (RDBMS), pengguna dapat melakukan pencarian data dengan menggunakan SQL. Tetapi terdapat keterbatasan. Pencarian hanya terbatas pada text yang terdapat pada kolom tabel saja juga ada keterbatasan lainnya juga.
Baru sempat baca lebih lanjut tentang error handling di Promise Javascript. Agak ketinggalan sih, karena ini masalah sudah ada dari 2 tahun-an lalu, tapi gak apa, baru fokus ke Javascript setahun terakhir, dan anyway agak susah juga cari artikel yang bahas ini pake Bahasa Indonesia jadi saya tulis aja disini.