Some Interesting Ideas

I am writing this post before I start my third day because having spoken to many veterans of APL I have learnt some interesting ideas:

  • The first idea being keep it simple. Bernard taught us that generally one line should have no more than 5 significant operations in it. This makes the code easier to read and maintain.
  • The concept that good APL code is 3 things; maintainable, easy to understand and clear to write.
  • Another APL programmer pitched the idea to me that APL code can be described as being elegant.
  • There are many ways to solve a problem however some are more elegant than others.
  • It is also better to have very clear spaced out code that is possibly not the most efficient as opposed to a complex one line statement that is very complex however more efficient.
  • The objective is to find the correct balance.

With all this in mind it’s time to start day 3…

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s