13ĐTĐăng TúShould I avoid nest code as much as possible?Pretending I have a code like this:(Yes, it is my code. But let just never mind its function) // Triple nest!!! class DB { static fetch(db, getRecord) { for (var i = 0; i < db.length; i++) { getRecord(db[i]); ...Oct 4, 2018EMA
14ĐTĐăng TúIs my code clean enough?I'm practicing writing C++ on HackerRank and try makin' a good, clean code. So, is my code clean enough? #include <iostream> #include <cstdio> using namespace std; string number [9] { "one", "two", "three", "four", "five", "s...Sep 20, 2018FCMF