Notes on Pass by Reference, Pass by Value

Some notes (excerpts from other people) on the differences between pass by reference and pass by value, and how this affects objects get passed in C++ and Java. This is a question that confused me for a long time with lots of bad answers on stack overflow out there.

Continue reading

Posted in Uncategorized | Leave a comment

Python Unit Test Notes

Here are some notes I make about Python Unit Test

Continue reading

Posted in Tools, Uncategorized | Leave a comment

How to use Google Sparse Hash

Notes on how to use the Google Sparse Hash, hopefully a much better hash map than STL unordered_map. 🙂

Continue reading

Posted in Tools, Uncategorized | Leave a comment

Visitor Pattern Notes

I have been working on building a new domain-specific programming language for graph applications. In the process, I am building a compiler, and really learned the importance of visitor patter. Here is a post summarizing some of the things I learned on visitor pattern.

Continue reading

Posted in Uncategorized | Leave a comment

SQL Alchemy Notes

This is some notes when I was playing with SQL Alchemy in Python.

Continue reading

Posted in Uncategorized | Leave a comment

CLion Notes

Here are some of my notes on using Clion. In general, I would say it is a pretty good IDE. However, I do find some issues that took me a while to figure out. Here are some notes and tips on using CLion.

Continue reading

Posted in Uncategorized | Leave a comment

C++ style notes (notes from Google C++ style guide)

Here are some of my notes taken from the C++ style guide from Google. It is a huge document, here I am trying to create a quick summary of ones that I find are more useful.

Continue reading

Posted in Uncategorized | Leave a comment