Portable life

•September 5, 2008 • Leave a Comment

The first post at new blog is here, take a look!

sharpreflections.net

•September 5, 2008 • Leave a Comment

Finally I have a domain, with a new blog, it’s here: http://blog.sharpreflections.net. I’m trying to managing a true redirection but I don’t know if it’s possible yet.

How I got Started in Software Development

•July 30, 2008 • 1 Comment

I had the great pleasure of having been tagged by Adrian. So… it’s my turn:

How old were you when you started programming?

In 1994, when I was 16 and I was at the high school. But I must say also that at the age of about 10 year a “played”  with BASIC on a Laser 500, something similar to a Commodre 64.

How did you get started in programming?

… in those days I learned Turbo Pascal, and I used it to solve not too complex math and physics problems.

What was your first language?

As I said, the very first language was Pascal. But, as a professional, I consider my first language to be Visual Basic 6. It is for sure the language that made me falling in love with programming.

What was the first real program you wrote?

At the end of a one year programming training I build a RSE – really simple ERP ;-) – for demo purposes. A WinForm application over an MS Access database. Presentation Layer e Business Logic were mixed up in the Visual Basic 6 forms, but I think here I wrote my first Data Layer.

What languages have you used since you started programming?

In order Basic, Turno Pascal, C++, Visual Basic 6, Java, PHP, ASP, JavaScript, VB Script, C#, Visual Basic .Net, Python.

What was your first professional programming gig?

In Brain Force, the company I’m still working for. 6 years ago.

If you knew then what you know now, would you have started programming?

I love programming: it consume a lot of resources but gives back a lot of satisfaction. But I would have choosen something else.

If there is one thing you learned along the way that you would tell new developers, what would it be?

Start from the theory and with the doc. Ever. Ever!! And pay attention to who wrote what you read.

What’s the most fun you’ve ever had … programming?

An ORM. I’m really proud of it.

Now, let’s tag someone else…

The final truth about OOP

•April 14, 2008 • 9 Comments

My guess is that object-oriented programming will be in the 1980s what structured programming will be in 1970s. Everyone will be in favor of it. Every manufacturer will promote his products as supporting it. Every manager will pay lip service to it. Every programmer will practice it (differently). And no one will know just what it is.

T. Rentsch

The more I read these words, the more I’m convinced this is one of the more accurate prediction I’ve heard about in programming. I feel it so… real.

via Booch, Grady. Object-Oriented Analysis and Design with Applications, Second Edition. Boston: Addison-Wesley, 1993. Link.
via West, David. Object Thinking. Redmon: Microsft Press, 2003. Link.

Quiz #3

•February 27, 2008 • 10 Comments

Take the following snippet:

public class Foo
{
  // add code
  public static int MethodOne() { return 0; }
  public static string MethodTwo() { return string.Empty; }
}

public class Program
{
  public static void Main()
  {
    try { Foo.MethodOne(); }
    catch (Exception ex) { Console.WriteLine(ex.Message); }
    
    try { Foo.MethodTwo(); }
    catch (Exception ex) { Console.WriteLine(ex.Message); }    
  }
}

and add the code necessary (you cannot modify in any way MethodOne and MethodTwo) to make both method invocation throw an exception.

Two Bites Are Better Than One

•January 18, 2008 • 4 Comments

This amazing AD was published in 1978 30 years ago, just one year before I was born. From a technology point of view I’m a dinosaur…

Two Bites Are Better Than One.

Source: 10 Incredible old computer ads.

Shouldn’t downlaoding be easy?

•October 23, 2007 • 5 Comments

It’s 2 days I’m trying to get Visual Studio 2008 beta 2, a true pain.

Both the two download manager proposed as plug-ins by msdn site (an ActiveX for IE and a Java applet for firefox) don’t work. From two different computers, so is not my problem. I suspect the reason is the web server replying with a 302 HTTP code (temporally moved) to the first request, but I’m not sure.

Ok, I said to my self. It’s time to get a download manager. And I started surfing Softpedia looking for something freeware. The first I tried was VisualVGet. The maximum speed I was able to obtain over 12Mbits DSL line was 5Kb/s. I tried to tweak it a little bit, but nothing happened. Uhm… I need the beta 2 before the final version is released…

Then I remembered of GetRight, I used it a lot in the past. Isn’t free, but the trial period should be enough, I thought. Quickly downloaded and installed. But never been able to use it. The only thing I was able to do was seeing the process getright.exe starting, and shortly terminating. No windows, no alert. No messages in event viewer. A software I will never buy.

Finally, again via Softpedia, I found FDM (Free Download Manager). That is what a program of this kind should be: easy. I learned to use it in about 30 seconds, configured in 15 and, first of all, downloaded Visual Studio in a couple of hour, having the download speed at 350/400 Kb/s, as expected. And… if not clear from the name, it’s free!

 
Follow

Get every new post delivered to your Inbox.