Skip to content

Instantly share code, notes, and snippets.

View leeweiminsg's full-sized avatar
🎯
Focusing

Lee Wei Min leeweiminsg

🎯
Focusing
View GitHub Profile
@leeweiminsg
leeweiminsg / ChangeMajor.java
Created January 17, 2022 05:13
CS3223 - No JDBC
package tests;
import simpledb.tx.Transaction;
import simpledb.plan.Planner;
import simpledb.server.SimpleDB;
/* This is a version of the StudentMajor program that
* accesses the SimpleDB classes directly (instead of
* connecting to it as a JDBC client).
*
@leeweiminsg
leeweiminsg / clean_code_cheatsheet.md
Last active June 22, 2020 12:11
Clean Code Cheatsheet

Clean Code Cheatsheet

Clean code:

  • High ratio of reading to writing code
  • Leave code cleaner then when you found it

Names:

  • Reveal intention