Eric J Ma's Website

Form and Function

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.

split screens

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.


Cite this blog post:
@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!

learn anything --with ai --feb 2027 → 5 days · in person · a small cohort → feb 14-20, 2027 · learn-anything.nonlinearlabs.ai