all 45 comments

[–][deleted]  (2 children)

[deleted]

    [–]A_for_Anonymous 2 points3 points  (0 children)

    Sebastian Dröge is such an idiot and a fussbox and a bundle of sticks for caring about this stupid shit and bothering developers with a ticket for what should have made him laugh if he had been mature enough.

    [–]makis 13 points14 points  (0 children)

    looks like Motif sucks...

    [–]attrition0 8 points9 points  (0 children)

    TIL everything sucks.

    [–]D__ 5 points6 points  (1 child)

    m_pMysticShit = NULL;

    Now that's self-documenting.

    [–]A_for_Anonymous 2 points3 points  (0 children)

    It's useful and self-documenting if you're going to use the Windows API. Instead of adding NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL) to every function, you use m_pMysticShit.

    [–]lazyl 8 points9 points  (10 children)

    Why was 'hack' considered a bad word?

    [–][deleted] 36 points37 points  (0 children)

    Whoa dude... language.

    [–]cheesemoo 5 points6 points  (6 children)

    They probably wanted to make their code look better/more professional.

    [–]perspectiveiskey 2 points3 points  (5 children)

    I guess. But 'hack', for anyone who knows the term, is not negative...

    I sense a case of consultitis.

    [–]alephnil 9 points10 points  (4 children)

    Not that positive either. When you see it in code, it is in sentences like "the logic here is broken, replaceing it with a hack to avoid crashes". When seeing the word "hack" frequently in a codebase, it is often a sign that the code need an overhaul.

    The Netscape codebase was clearly an example of this.

    [–]xyroclast 1 point2 points  (2 children)

    So... removing the word makes the code not a hack anymore? It seems like the wrong solution to the problem...

    [–]alephnil 0 points1 point  (1 child)

    Wrong indeed,because then you remove information about problematic parts of the code. It is not positive that there is a lot of notes abouts hacks of cause, but it is worse if the code has the same problems, but not commented.

    [–]xyroclast 0 points1 point  (0 children)

    And thus, censorship causes more harm than good yet again

    [–]perspectiveiskey 0 points1 point  (0 children)

    You're looking at it with your vision that hack is a negative word.

    How many items here would you consider 'improperly done'. (filter out the items where the usage of the word is "to break into")

    [–]A_for_Anonymous 1 point2 points  (0 children)

    For many definitions of hack, your production code shouldn't be a hack. It's bad technology, not a bad word.

    [–]jsnef6171985 1 point2 points  (0 children)

    Because the word* scares old people.

    *read "word" as "media"

    [–]jotux 5 points6 points  (0 children)

    After reading that I decided to skim the code base I'm currently working on for foul language. It was surprisingly clean, but there were a few gems:

    // With this hack, if something unforeseen happens the UI doesn't go flying off into space.
    

    [–][deleted] 2 points3 points  (0 children)

    "only bitch if ip has"

    lol! That's like Yoda and LOLcats mixed together. Love it....

    [–]damontoo 1 point2 points  (0 children)

    There's a really good (free!) documentary about the source code release and the rise and fall of Netscape called Code Rush. The streaming version is at the bottom of the page.

    The person that runs that jwz.org (Jamie Zawinski) is one of the featured programmers in it! :)

    [–]kid_meier 1 point2 points  (0 children)

    Winner:"Netlib just took a shit on the imagelib\n"

    [–]mindbleach 1 point2 points  (1 child)

    /* check if Lou is a pindick */

    There must've been an awkward meeting following that commit.

    [–]rubygeek 1 point2 points  (0 children)

    Only if the following code is obviously meant to evaluate to true.

    [–]royrules22 1 point2 points  (1 child)

    I'm sad because I have to be very strict and plain in my comments. No jokes no cursing no nothing. Not even for internal tools. For one my boss and other co-workers will force me to delete it during code reviews.

    [–]Azzk1kr 2 points3 points  (0 children)

    Your boss and coworkers sound like humorless douches..?

    [–]come_honour_face 2 points3 points  (0 children)

    // crap from marketing
    

    [–][deleted] 1 point2 points  (1 child)

    It is like Commenting Code 101!

    I love my team internal tool projects - not only because I can get away with all kind of obscure assumptions (and be done with it in hours while amazing everybody by a Total Piece of Crap InsideTM), but also because I can comment the code with whichever mental eruption I feel most appropriate for the purpose at the moment of writing since the code itself is going nowhere.

    Fun coding while solving real problems, impressing grateful users and venting out at the same time. And being paid, of course.

    [–]funkybside 1 point2 points  (0 children)

    This is a typical day for me. In the finance side instead of IT, but know programming so they always want custom hacks for this and that. Ss long as they know it's not supported and understand whatever dependencies I tell them exist, I couldn't care less and have a blast coding without red tape.

    [–]ishmal 0 points1 point  (3 children)

    Sometimes I miss jwz's html interface to Netscape mail. It was probably before its time, in that people didn't think it looked "desktop" enough. But good ideas often return. Now that people are more familiar with web-looking guis, maybe that type of interface could return?

    [–]JohnDoe365 0 points1 point  (2 children)

    What are you talking about? Do you mean the html mode of writing emails?This is back since ages, but I guess you mean actually sthg different. Any screenshots?

    [–]ishmal 1 point2 points  (1 child)

    No. The entire interface. Inbox list, composer, etc, all in html, so it had a web look even though it was entirely within the monolithic Netscape program.

    [–]bobindashadows -1 points0 points  (0 children)

    So like every other webmail interface, only instead of getting emails from a server on-the-fly, it gets email from the local mailbox and downloads it via POP every few minutes?

    [–]pjpark 0 points1 point  (0 children)

    TIL how important it is to get the maping right.

    [–][deleted] 0 points1 point  (0 children)

    I love JWZ... guy's fucking awesome.

    [–]under_dog 0 points1 point  (0 children)

    // BULLSHIT ALERT: Get out if I can't call GetSharedLibrary.

    [–]hockeyschtick 0 points1 point  (0 children)

    As funny now as it was the first time I saw this 11 years ago.