Click here to Skip to main content
15,889,876 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
PraiseRe: CCC Pin
Kornfeld Eliyahu Peter1-Jul-20 1:04
professionalKornfeld Eliyahu Peter1-Jul-20 1:04 
GeneralRe: CCC Pin
OriginalGriff1-Jul-20 1:05
mveOriginalGriff1-Jul-20 1:05 
GeneralI feel like I have parts left over but it's working Pin
honey the codewitch30-Jun-20 19:12
mvahoney the codewitch30-Jun-20 19:12 
PraiseRe: I feel like I have parts left over but it's working Pin
RickZeeland30-Jun-20 20:30
mveRickZeeland30-Jun-20 20:30 
GeneralRe: I feel like I have parts left over but it's working Pin
Garth J Lancaster30-Jun-20 20:38
professionalGarth J Lancaster30-Jun-20 20:38 
GeneralRe: I feel like I have parts left over but it's working Pin
honey the codewitch30-Jun-20 22:08
mvahoney the codewitch30-Jun-20 22:08 
GeneralRe: I feel like I have parts left over but it's working Pin
Garth J Lancaster30-Jun-20 23:49
professionalGarth J Lancaster30-Jun-20 23:49 
GeneralRe: I feel like I have parts left over but it's working Pin
Sander Rossel30-Jun-20 21:24
professionalSander Rossel30-Jun-20 21:24 
My experience is that a LOT of code is not complicated, but made complicated by incompetent developers.

Just an example, I'm working on a (Win)Form where you can enter, save, edit and lookup product data.
I didn't make it, but I'm maintaining the application now.
The first red flag is that the form has database logic, the second is that it has over 1000 lines of code, a third is that the form has quite a few fields.
There's binding in place, but there are still methods like EmptyAddressData which does stuff like PostalCodeTextBox.Text = "".
All in all, this form is hard to maintain and changing one thing will probably lead to bugs.
If not here then in another part of the application, because naming is illogical, to the part where a name does not reflect what it does, nor what the customer calls it, and the original programmer can't remember what it does either, also changes are the same thing is named differently in another part of the application.

Is it difficult?
Hell no, I used to write such forms by the dozen before breakfast* using some reusable components so that the form code could be less than 100 lines.
Was it made difficult?
Obviously, this "programmer" should've retired long ago Sigh | :sigh:
If anything, his programming style prevents you from doing things rather than doing them, despite his line count!
At this point I'm surprised the application works at all.

* Slight exaggeration.

GeneralRe: I feel like I have parts left over but it's working Pin
honey the codewitch30-Jun-20 22:20
mvahoney the codewitch30-Jun-20 22:20 
PraiseRe: I feel like I have parts left over but it's working Pin
Kornfeld Eliyahu Peter30-Jun-20 21:50
professionalKornfeld Eliyahu Peter30-Jun-20 21:50 
GeneralRe: I feel like I have parts left over but it's working Pin
honey the codewitch30-Jun-20 22:01
mvahoney the codewitch30-Jun-20 22:01 
GeneralRe: I feel like I have parts left over but it's working Pin
Slacker00730-Jun-20 21:59
professionalSlacker00730-Jun-20 21:59 
GeneralRe: I feel like I have parts left over but it's working Pin
honey the codewitch30-Jun-20 22:00
mvahoney the codewitch30-Jun-20 22:00 
GeneralRe: I feel like I have parts left over but it's working Pin
Slacker00730-Jun-20 22:05
professionalSlacker00730-Jun-20 22:05 
GeneralRe: I feel like I have parts left over but it's working Pin
honey the codewitch30-Jun-20 22:16
mvahoney the codewitch30-Jun-20 22:16 
GeneralRe: I feel like I have parts left over but it's working Pin
Slacker00730-Jun-20 22:20
professionalSlacker00730-Jun-20 22:20 
GeneralRe: I feel like I have parts left over but it's working Pin
honey the codewitch30-Jun-20 22:28
mvahoney the codewitch30-Jun-20 22:28 
GeneralRe: I feel like I have parts left over but it's working Pin
Marc Clifton1-Jul-20 3:14
mvaMarc Clifton1-Jul-20 3:14 
GeneralRe: I feel like I have parts left over but it's working Pin
honey the codewitch1-Jul-20 4:04
mvahoney the codewitch1-Jul-20 4:04 
JokeLooked at CP and saw this... Pin
raddevus30-Jun-20 5:37
mvaraddevus30-Jun-20 5:37 
GeneralRe: Looked at CP and saw this... Pin
OriginalGriff30-Jun-20 5:41
mveOriginalGriff30-Jun-20 5:41 
GeneralRe: Looked at CP and saw this... Pin
raddevus30-Jun-20 5:42
mvaraddevus30-Jun-20 5:42 
GeneralRe: Looked at CP and saw this... Pin
ZurdoDev30-Jun-20 7:58
professionalZurdoDev30-Jun-20 7:58 
GeneralRe: Looked at CP and saw this... Pin
raddevus30-Jun-20 8:33
mvaraddevus30-Jun-20 8:33 
GeneralRe: Looked at CP and saw this... Pin
dandy7230-Jun-20 8:39
dandy7230-Jun-20 8:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.