API Programming Series #1

What are the cons?

I guess I went a bit overboard in praising the API. Because, for all its advantages, API programming does have some critical disadvantages.

  • First of all there is the learning curve. An equivalent of our simple MsgBox function has parameters that would require the services of a qualified astrologer to make sense of, if you are a newbie.
  • It is much less forgiving of programmer errors and it is child's play to crash your application or your system with a malformed API call. And certain API calls when (im) properly used can even render your system unbootable or worse.
  • Then, true to Microsoft tradition some API calls do not work as advertised.
  • [Editors Note]If you eventually start programming with the .net framework, api calls become a legacy; API is windows specific, and - believe it or not - the .NET framework is intended to be platform independant[/Editors Note]


You might also like...



Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Some people, when confronted with a problem, think "I know, I’ll use regular expressions." Now they have two problems.” - Jamie Zawinski