Message from C, C++ discussions

November 2019

— 😂

— 

Hey guys, i know that this question isn't really c++ specified but more likely wide-range, but still, how do you do your object designs?

— I code complicated apps, games in opengl, backend apps and stuff, i don't have the issue to just lock at some specific problem and find solution for it, even if it takes hours of research, but what always melts my brain is object design, i can make it as good as possible, but going to bed thinking about programming i can always think of bit better design

Message permanent page

— Do you use any apps like enterprise architect? did you learn any specific patterns like decorator / strategy / observer etc...? how do you approach your perfectly structured designs in your apps?

Message permanent page

— Simple, use the least amount of objects and of inheritance as you can; the least amount of Go4 design patterns as you can, and only ever yse any OO feature when it is absolutely without a doubt something that makes the code simple, shorter, or easier to understand

Message permanent page

— I also take a very long amount of time thinking about what I am doing. This means that, in the project I have been designing lately, I have spent 95% of the time on the project thinking and designing, specifying aspects of the project, and 5% of my time actually writing code

Message permanent page

— The code that is the simpler and easier to debug is the code that you do not write

— This is by far the finest approach. Do you maintain a document for the design before coding?

— Lol

— /report

— Reported .... to admins.​​​​​​​​​​​​​​​

— Fixed