written by Eric J. Ma on 2016-06-13
When writing code, itβs often a great idea to write tests in parallel. Today I experienced how important it is to have a split window. I write code on my left pane, and I can immediately set up the corresponding test on the right pane. Just as such.

I used to not write my tests immediately, and Iβm right now suffering that technical debt in parts of my code. That was before learning that Sublime Text 3 allows me to do split window panes (with the shortcut key Cmd+1/2/3/4/5). Now that I know it, writing tests in parallel with my code is much easier. Form indeed informs function.
@article{
ericmjl-2016-form-and-function,
author = {Eric J. Ma},
title = {Form and Function},
year = {2016},
month = {06},
day = {13},
howpublished = {\url{https://ericmjl.github.io}},
journal = {Eric J. Ma's Blog},
url = {https://ericmjl.github.io/blog/2016/6/13/form-and-function},
}
I send out a newsletter with tips and tools for data scientists. Come check it out at Substack.
# TODO(eric): learn how to learn anything. feb 2027.
If you would like to sponsor the coffee that goes into making my posts, please consider GitHub Sponsors!