Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. The worst source code

The worst source code

Scheduled Pinned Locked Moved The Lounge
23 Posts 15 Posters 3 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Tom Deketelaere

    Pete O'Hanlon wrote:

    younger generations of coders don't want to learn how to do this

    It so happens that in the past few months I had to look at code from some of my co-workers. I can only confirm that statement. I know I'm considered somewhat of a weird programmer in my company cause I keep going on about performance and will try and squeeze every milliseconde out of my code but the things I'v seen here are just terrifying. - Code that uses 16+ gig ram (for a very simple request) - Code that takes 10+ min to run (to get 200k records) - Horrific linq statements that just screams inefficient. - ... The attention for detail seems to be gone with younger programmers (or less experienced one's), the response I get when I tell them their program can use up to 50% less ram is usually 'we'll just add a few gigs of ram to the server if it's a problem', makes me shiver every time. And yes I know that from your view point I'm probably in that 'younger generation' :) (I'm 30 :) ) perhaps that's what makes me weird ;P

    L Offline
    L Offline
    Lost User
    wrote on last edited by
    #21

    Looks like we work in the same company.

    1 Reply Last reply
    0
    • M Markus 811

      Somewhere I read this in a signature: The worst source code, that you can come across, is the code you wrote on your own one year ago. I just remember this, because I'm sitting in front of some part of my own code that is three or four years old. X| Ok, to see it positive: I learned a lot in the past years.

      M Offline
      M Offline
      Mark_Wallace
      wrote on last edited by
      #22

      Markus-811 wrote:

      The worst source code, that you can come across, is the code you wrote on your own one year ago.

      Both of the commas in the sentence are incorrect. If the guy writes code with as many syntax errors, I can well believe his statement.

      I wanna be a eunuchs developer! Pass me a bread knife!

      1 Reply Last reply
      0
      • G Gary R Wheeler

        Pfft. I'm still maintaining code I wrote over ten years ago. My worst pain point with it is I was still using K&R braces back then.

        Software Zen: delete this;

        M Offline
        M Offline
        Markus 811
        wrote on last edited by
        #23

        Gary R. Wheeler wrote:

        My worst pain point with it is I was still using K&R braces back then

        Kernighan and Ritchie?! Oh, that is a rather old notation. But if it has a readable architecture/structure, this can still make some fun. But my coding style changed from hacking to something more sophisticated.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups