Everything2
Near Matches
Ignore Exact
Full Text
Everything2

Projects that use C techniques and call it C++ make me ill

created by Sequiturion

(idea) by Sequiturion (7.3 y) (print)   ?   (I like it!) Sun Apr 01 2001 at 3:27:31

Did you ever start a new job and find yourself assigned to dig out and destroy bugs in a very large and quite complicated software project?

I did and what I found when I began rooting through the code in Microsoft Visual Studio was a stinky stew of classes that are nothing more than structs (everything made public), global functions that should have been members and member functions that should have been static. Object oriented design and programming is present in places and horribly, conspicuously absent everywhere else. See:using public variables in c++ classes

It really aggravates me have to try to make this frankenstein creation into a humanoid capable of functioning effectively. Especially when this same project has reached the point of having to ship! It's got to be going out the door in 2 days.

Oh, and by the way, this project is for use in a hospital operating room. They will use it to calculate the quantity and precise position of small radioactive seeds to be places inside peoples vital organs.

Did I forget to mention that I get a salary for this and am expected to work overtime?


(idea) by DrPizza (5.4 y) (print)   ?   (I like it!) Mon Feb 10 2003 at 9:42:43

Typically the people who write such programs refer to the languages they know as C/C++. Essentially, they end up writing C code -- badly -- that happens to require a C++ compiler to compile. They are oblivious of the STL, iostreams and other joys that C++ has to offer, instead preferring abominations such as printf.

Be very wary of these people. They do not write good programs.

The projects are, unfortunately, extremely common. Modern C++ programming only seems to have come of age in the past year or two, as compilers and programmer education have improved significantly. This doesn't solve the problems with the existing codebases, of course, but does give some hope for the future.


printable version
chaos

using public variables in c++ classes I'll give up printf() when you pry my cold dead fingers from it Spit or swallow? printf
Apple Lisa makes me want to be a better hacker Linear congruential PRNG Until today, it really pissed me off that I'd become this totally centered Zen Master and nobody had noticed
static Harvey Birdman, Attorney at Law #everything Stuff to Do with Your Own Blood 101
The C++ Programming Language Freakshow C/C++ iostream Node of Numbers
Gordon Bennett! casual sex Dyslexic Fish How to glowstick
Frankenstein cleave naive perceptions about software development There's someone in my head but it's not me
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
Drink up!
Timon of Athens
Your job is to find kitten. This task is complicated by the existence of various things which are not kitten.
Chuck D's 18 Reasons why 2Pac is alive
Dozenal Society of America
on the rotations of the spheres
Summit in Savannah
Slaver Ants
Baba O'Riley
Yes! We have no bananas!
Max Clifford
Self-injury
Editor Log: December 2003
tree
New Writeups
aneurin
Earl of Landaff(person)
Heitah
Pseudocide(idea)
XWiz
Google Knol(lede)
Mythi
July 24, 2008(personal)
locke baron
The fall of Earth(fiction)
BookReader
Fear the Cold(dream)
Pavlovna
Kathleen MacInnes(person)
stainedglass
1(fiction)
kalen
Three "T"s(idea)
octillion369
Undead(idea)
archiewood
Ico(fiction)
Heisenberg
Why I love Everything2(log)
octillion369
Death Knight(person)
XWiz
Are you hoping for a miracle?(review)
santo
The Host(review)
E2 is a by-product of the existence of The Everything Development Company