Archive for the ‘programming’ Category

h1

VB gets pwn3d as C# takes over

July 1, 2008

This is madness. Coming from the nightmare of Classic ASP, many VB programmers seamlessly moved to VB.NET. If you have done the switch, you know that it is bitter sweet.

On one hand, you now have the rich environment of Visual Studio to create powerful applications that meet today’s standards. On the other, you have to get used to vast amount of libraries and namespaces available within the .NET Framework. The differences between Classic ASP and .NET are immense.

That sucks. Here I thought I was big stuff with my Classic ASP; then I make the upgrade to .NET and inherit a butt-load of new things that I have to learn. Of course, I am always up to the challenge; however, now that everyone is going crazy about C#, where do all the VB programmers go? Will this madness ever end?

Don’t get me wrong, I am all for learning about new technologies and languages; being in this field, you have to be or you’re out of work. What I don’t like, and think is pointless to do, is learn something  you are never going to apply. What is the point of reading a manual of a product if you don’t even own it or intend on using it? The same goes (for me) with C#. If I only intend on developing and crafting my talent in VB, why bother with C#? Both libraries are so rich that it takes time and dedication to truly “master” your programming ability.

Yeah, I know they have a lot of similarities, however when you are brainstorming for solutions to a web app, you usually visualize it in the language you feel most comfortable with.

Joe Stagner at Microsoft recently wrote about this crisis. I personally think it sucks. I mean, I know that in the end, it’s all about personal programming preference, but if employers prefer that you develop in C#, who are we to say anything?

And what does this mean for our future with Microsoft languages? OK, so now VB is going out of style, who is to say that someday C# won’t go out of style too?! What are geeks supposed to do?

I’ll tell you what we should do: cut the crap and pick up a book on both languages. If you don’t, the geek next to you will and take your salary right out of your pocket without even buying you a drink.

h1

isolate it, then put it together

June 17, 2008

When brainstorming a web project, everyone has theories (and everyone thinks their theories will work). When trying to figure out how to develop an intense complex application, try  and isolate your them by creating prototypes. As it progresses, start slowly piecing them together so they’ll all get along.

There have been plenty of times where I swore something would come out the way I intended. I roll around an idea in my head for hours, confident that once I start my code it will all work out perfectly. I usually get most of the best work when I’m trying to go to sleep. I visualize how I want something to run and see what I can do to improve on what I already (physically; in my code) have.

By trying to create your version of what you think may work, isolate your theory by creating simplified prototype. This can be fairly simple if you break apart your ideas carefully.

Once all is said and done, stitch your code together and watch your ideas come to life.

h1

this post is about nothing

June 3, 2008

Nothing is a very important concept in programming.

Nothing is just as important as something because it is the absence of something. When something is equal to nothing, would you still consider it as something? When writing a program, you may have to write a typical if-else logical block that checks for nothing. For example:

If thisPostText = “” Then
Read = True
Else
Read = False
End If

The interesting thing about nothing, is that it can be described in many ways.
For example:

  • null
  • Nothing
  • “”
  • False
  • 0

The best thing about nothing is that it doesn’t really exist. However, logically, it’s always there; just like this post.

h1

Happy Friday Video: C++ Stylistics

March 7, 2008

Google tech talks. Subscribe now bitches.

h1

more with less

February 20, 2008

Every programmer wants their code to run as fast as possible with as little processing imaginable; this takes some time to figure out. Writing out some good logic can sometimes be pretty easy. In fact, usually when a programmer has a task to complete, they have 3/4 of it already done in their mind. Then, when we’re ready to start typing, and after a few tries, your lovely logic comes to life.

Usually the first attempt isn’t that great. Code can always be shorter then when it was originally written. It’s a pain sometimes to simplify things. Like Einstein said, “Everything should be as simple as it is, but not simpler”; easier said than done genius. 

There are tons of programming devices that can make your code a little easier on the eyes, as well as processor power. Take advantage. There are loops, arrays, functions, (to name a few) that can help you get your 14 lines down to 4. Experiment with alternate solutions and try and simplify.

I don’t mean to get all sentimental on you, but this can really apply to any life situation. Simple doesn’t always mean something lacks complexity. Often times the most simplest ideas are the most confusing to really understand. Shorter code = better programming; it’s that simple.

“If I had more time, I would have written a shorter letter.” – Blaise Pascal

h1

my new obsession; jQuery

October 11, 2007

So it’s been around for awhile (Jan. 06 to be exact). I LOVE IT. It’s basically the love child of AJAX and JavaScript. You can do so many cool things with it. I’m still getting to know the language, but from what I’ve seen so far I’m very impressed.

The Internet is ever expanding and everyday developers are coming out with technology that smacks you in the face and doesn’t bother apologizing. Here I thought that animating on the web was (Adobe’s) Flash domain. Nope. With jQuery, animation is (somewhat) simple. You can’t necessarily do everything that Flash can do, but it does allow for less processing on the client side. You don’t even need a plug-in to run the scripts. This is wonderful. See for yourself:

http://interface.eyecon.ro/demos
http://jquery.com/