ĐTĐăng Tú·Oct 4, 201813Should 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]); ...EMAEmil and 2 more commented
ĐTĐăng Tú·Sep 20, 201814Is 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...FCMFFlorian and 3 more commented