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. Other Discussions
  3. The Weird and The Wonderful
  4. We need more ITT Tech programmers

We need more ITT Tech programmers

Scheduled Pinned Locked Moved The Weird and The Wonderful
c++delphidatabasedockerdata-structures
22 Posts 15 Posters 9 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.
  • P PIEBALDconsult

    Ugh, my wife was the director of placement at an ITT Tech a bunch of years ago (late 90s). One day she came home and said I "had to" look at this great website one of the graduates had created for his employer. It was all jpg images! That's what they were being taught. I couldn't read a word of it. Dreadful dreadful dreadful. Then again, the C code I wrote when just out of college has warts all its own. New programmers really have to work under the supervision of experienced developers.

    B Offline
    B Offline
    BillW33
    wrote on last edited by
    #21

    PIEBALDconsult wrote:

    Then again, the C code I wrote when just out of college has warts all its own. New programmers really have to work under the supervision of experienced developers.

    I have to agree. No matter how smart a person is they need to work with someone who really knows the business. That is why in the old days trades had apprentices and journeymen that were taught by masters of their craft. Nowdays, anyone with a couple programming classes thinks they are a programmer. Bill W

    1 Reply Last reply
    0
    • G gongchengshi

      I inherited a Borland Win32 application that has over 60 global variables interspersed throughout it. Many of the globals are multilevel struct instantiations. Nearly every class definition has a line similar to this after it: "extern PACKAGE TTree *Tree;" The actual declarations of these variables are either in the code for the "about page", above the program's "main" function, or in "globals.cpp" There is a file called "structs.h" which contains the definitions for every struct used in the application. structs that have to do with the database, visual controls, file contents, etc are all in the same file. The file is 6,000 lines long. There is a file called "globals.h" that is 3,000 lines long that is nothing but #defines. The #defines are related to, you guessed it: database, individual visual controls, different file formats, and other processing specific code. The file is included in every .cpp file. Very few of the #defines have meaning in more two .cpp files. 8 of the 28 .cpp files in the project are over 10,000 lines long. The longest is 14,433 lines. Most of the code in these mammoths has nothing to do with what the file name would have you think they are doing. Instead of using one of the hundred different XML processing libraries out there, this guy decides to write his own in order to make a way of saving data. The produced files aren't even valid XML so I can't replace it with a more efficient XML processor. I have to maintain his version of XML syntax for backward compatibility. There isn't a single pass by reference in the entire application. It is all pointers. There is no function polymorphism being performed. There are a ton of functions with parameters that specify the kind of data being handled with switch-cases that handle different kinds of data. Every struct declaration looks like this: "struct CALIB_STRUCT Calib;" Always all caps, always has the "struct" keyword, and always ends with "_STRUCT". There is no real naming scheme. Sometimes constants are all caps, sometimes they aren't, sometimes they are structs. He declares every variable that could possibly be used by the function at the top of the function. This includes those huge structs that never get used. Get this guy a copy of the C++ standard please! Many functions are over 500 lines long. Thank goodness for split-screened editors. The only container that is used are statically defined arrays (usually of structs) even when there is no way to know how many elements will be

      B Offline
      B Offline
      BillW33
      wrote on last edited by
      #22

      I used to work at a place where many of those things were done and no one saw anything wrong with it. I switched to a better job. ;) Bill W

      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