Comment Groups

Date Tags software

Sometimes normal leading comments just aren't enough, instead a visual method of grouping blocks of code together is needed. The following pattern seems to work very well:

<comment-symbol>{-- <group-text> --
<code-here>
<comment-symbol>----}

Here is an example in C:

/*{-- Some grouped variables. --*/
/* Maintains foo-y stuff. */
int foo = 1;
/* Maintains bar-y stuff. */
int bar = 2;
/*----}*/

Here is an example in Python:

#{-- Some cool code here. --
foo = 1
bar = 2
#----}

Multi-line example in JavaScript:

//{-- Big long explanation of a …
more ...

Thoughts On Script Naming

For a while now, I have had the mindset that any high-level operation related to a software project should be captured as an OS-native script kept either in the repo's root directory or an appropriate subdirectory. For example, the following scripts are located in the root directory of my blog repo:

  • _Build_HTML.bat
  • _Cleanup.bat
  • _Deploy_SSH.bat
  • _Run_Test_Server.bat

A few things worth noting about the filenames alone:

  • The scripts are Windows-native batch files since …
more ...

Four Technologies for 2014

Date Tags software

Technology moves fast. Really fast. The following are some software technologies that I will be keeping an eye on in 2014:

  1. Docker - Brilliant container manager.
  2. Rust - Promising systems language.
  3. Emscripten - Mind-bending JavaScript compiler.
  4. D3.js - Beautiful data visualization.

While these technologies are not necessarily new, my prior experience with them is limited.

more ...

Hi, I am Jeff Rimko!
A computer engineer and software developer in the greater Pittsburgh, Pennsylvania area.