Follow us: social_twitter_button_blue_16social_facebook_button_blue_16

Deskew Blog

Programming, music, software and hardware!
Tags >> Delphi

Object Pascal is a wonderful programming language! It is easy to read and understand while giving you a full array of modern object oriented language features.  Strings are easy to work with, constructors are virtual, functions can be nested - these are only some of the goodies that come with the language.

I am by no means "religious" when it comes to languages though. It all depends on the project that one works on. The framework that one works with is much more important than the language itself in my opinion.

Object Pascal got popularized by the development environment called Delphi. It was initially created by Borland. If you programmed in the 80's or early 90's - chances are - you used Turbo Pascal (procedural Pascal) which was Borland's best product at the time. They later evolved the idea of IDE into a modern language and framework.


Symmetry in coding style

Posted by: dhj in Software Development

Tagged in: pascal , indentation , Delphi , coding style

dhj

Symmetry is good. Any scientist worth his or her salt will tell you that there are many clues and insights to be found by looking for symmetry.

And yet, when it comes to writing code, most developers are either not paying any attention, don't care, or (if I may be optimistic) haven't thought about the benefits of leveraging symmetry as a driver for good coding style.

Of course, there is plenty of debate about what constitutes good coding style. Unfortunately, it's my sense that most people don't really think too much about the issue and simply adopt  whatever style to which they have previously been exposed. That's why we end up with the bizarre asymetrical style inherited from the C world, i.e,