Crappy programmers

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

LOL, I believe Zen-Cart is based on the osCommerce Source code.
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

astions... Ive been thinking about it, and I think I really would like to help you with the commerce solution. I need to finish up a few personal projects, but that sounds like it would be an excellent way to build up my skills and also get a commerce solution that fits my needs (without a bunch of bloat)
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

Rock on dude Image
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

:lol: nice
GM
Forum Contributor
Posts: 365
Joined: Wed Apr 26, 2006 4:19 am
Location: Italy

Post by GM »

The Ninja Space Goat wrote:That isn't what I'm talking about... let me post some of the code I have to deal with hang on...
Fair enough - that's pretty awful :)
User avatar
AKA Panama Jack
Forum Regular
Posts: 878
Joined: Mon Nov 14, 2005 4:21 pm

Post by AKA Panama Jack »

Now that is why you need to use a Template Engine. :D It would make following the code so much easier. :D

(makes a quick glance down at my signature)
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

I'm using smarty right now... I took a quick look at template lite once, but I don't remember exactly what advantages it had over smarty (other than obviously it's lite weight)
User avatar
kbrown3074
Forum Contributor
Posts: 119
Joined: Thu Jul 20, 2006 1:36 pm

Post by kbrown3074 »

I've had to rework/re-engineer too many old legacy crap programs to count for my company. Myself and a co-worker converted an old crap fox pro dos program to a php web app that took a good 4 months just to decode the old <span style='color:blue' title='I&#39;m naughty, are you naughty?'>smurf</span>. The worst part about it was that there wasnt any client documentation so we had to reverse engineer the beotch just to figure out what it did.
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

Worst thing I have had to fix was to rebuild a large database schema using only the ASP source code, and convert it to PHP at the same time. The client canceled the web site, 3 months later wanted it back. By then the database had been deleted but there we found a backup copy of the web site. That was NOT fun.
nickvd
DevNet Resident
Posts: 1027
Joined: Thu Mar 10, 2005 5:27 pm
Location: Southern Ontario
Contact:

Post by nickvd »

The Ninja Space Goat wrote:astions... Ive been thinking about it, and I think I really would like to help you with the commerce solution. I need to finish up a few personal projects, but that sounds like it would be an excellent way to build up my skills and also get a commerce solution that fits my needs (without a bunch of bloat)

I would love to help as well.. I've been struggling far too long to get used to zencart's monolithic configuration options and asinine templating system. All my clients want, is a simple cart with categories/images and shipping/tax calculations done properly (zencart IS great in this area, if configured correctly). There is a project that is in closed beta called cssCart, but I havn't heard anything from them regarding a open beta or a release in quite some time.

My time is a little sparse right now, but if we can get a bunch of regulars here working on it, I know we can come up with a winner.

(sorry for the OT post ;) but i really want to get away from zc)
User avatar
MrPotatoes
Forum Regular
Posts: 617
Joined: Wed May 24, 2006 6:42 am

Post by MrPotatoes »

astions wrote:LOL, I believe Zen-Cart is based on the osCommerce Source code.
it is. but it's nicer and less gay. but it's still horribly bloat and terribly slow. the worst part is that no matter how they try to talk it up it's still the absolute worst looking code i've ever seen in my life. ever. bleh. and the code is just not organized in a fashion that i would do but that's my own preferance

secondly, the forums are ok but they could be alot better IMO
GM
Forum Contributor
Posts: 365
Joined: Wed Apr 26, 2006 4:19 am
Location: Italy

Post by GM »

In my old job as a Domino Developer, I had to go through the code written for our HR system, written by external contractors from India. I have never seen such convoluted logic in my life...

Here's an example (language is LotusScript - think VB script with database interaction)

Code: Select all

view = db.GetView("People");
doc = view.GetFirstDocument();

While Not doc Is Nothing
    If Not(doc.UserName(0) <> "Admin" And doc.UserName(0) <> "Tester") Then
        // do Admin / Tester stuff
    Else 
        // do normal stuff
    End If
Wend
The scripts were full of logical nightmares like that: If Not something Not Equal something else Then

It took me and a colleague 6 months to understand what some of the scripts did.
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

Since I started writting classes I look at my old code and think ack :x
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

Post by shiznatix »

astions wrote:Since I started writting classes I look at my old code and think ack :x
happens to me every 6 months or so.
bvrao
Forum Newbie
Posts: 2
Joined: Fri Aug 04, 2006 4:32 am

dfvbdfgdfgdg

Post by bvrao »

infolock wrote:TNSG: dude, you pretty much described my first year here at my job.. Legacy code that just isn't suitable to touch. I would recommend the phrase "Rewrite it and forget it ever happend".

Otherwise, you are going to find it will take longer to debug it than it would have taken to just rewrite/redesign the bugger.
[/url]
Post Reply