PreviewsPreviewsPreviewsPreviewsPreviewsPreviewsPreviewsPreviews

Latest Headlines

Sponsored Ads:





By God, Could You Please Clean Up your Code

Posted by Qwerty in Featured, Off Topic Rant, PC News on July 19th, 2007

Email This Post Email This Post


How many times have you upgraded your hardware in the last 5 years? Was it really needed? If software makers would do the job correctly you would not “Have To” upgrade as often as most do. Gone are the days of having or trying to make your source code efficient and small, trying to fit it on a floppy or better yet One CD. Why would we do that now we can use a DVD (or more) there is no need to give the Code a smaller footprint.

The more lines of code make the hardware requirements even larger. Take a look at any MS Windows OS after Win95, it was all built on the same Base Code structure. They have not built an OS from the ground up since Win95 and even that was a Hack job of WinNT. Every release of the OS gets larger and larger but it does not necessarily get better, bigger yes, but better? …. Hmmm I will let you work that one out.

It’s not like you can’t do more with less. Take a look at Menuet OS for the PC written entirely in 32/64 bit assembly language. Menuet OS is not made from or based on any operating system. It was designed to remove the extra layers between different parts of the OS, which complicate programming and create bugs.

  • Fits on a single floppy
  • Pre-emptive multitasking, multithreading, ring-3 protection
  • Responsive GUI with resolutions up to 1280×1024, 16 million colors
  • IDE: Editor/Macro Assembler for applications
  • TCP/IP stack with Loop back & Ethernet drivers
  • Network applications include ftp/http/mp3 servers
  • Free-form application windows
  • Hard real-time data fetch

Web sites and scripts are getting the same way now days, bloated with too many lines of code. I have seen some PHP scripts that when cleaned up have reduced the script from over 1800 lines down about half to 980. Everybody wants to use Flash and more high resolution graphics files. Some sites have gotten so large that even with broadband they are starting to load slower.

Gone are the days of building a program and coding it by hand. Say hello to prepackaged WYSIWYG editors that build to code for you. Who knows if they have taken the time to make the code more efficient?

I can see it now, 5 years down the road you might hear this in the office “I have this great PowerPoint presentation do you have three DVD’s I could use?”

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Tags: , , , , , , , ,



Related Post







 

No Comments Yet - You can be the first to comment!

Leave a comment »


You must be logged in to post a comment.