Skip to content

Feature/bruno gabriel araujo lebtag - #20

Open
brlebtag wants to merge 9 commits into
aisdigital:masterfrom
brlebtag:feature/bruno_gabriel_araujo_lebtag
Open

Feature/bruno gabriel araujo lebtag#20
brlebtag wants to merge 9 commits into
aisdigital:masterfrom
brlebtag:feature/bruno_gabriel_araujo_lebtag

Conversation

@brlebtag

@brlebtag brlebtag commented Nov 4, 2022

Copy link
Copy Markdown

Development Report:

it's been a while since I have used C++ more extensive than, saying, for small applications. I am also not aware of all C++ best practice (although I know some like RAII, even though I did not used it).

Initially I went full force in creativity but soon I realized that many ideas I tried to used (from c#) would not work here. I also got a bit scare whether I would be able to make through (because it's been a while I don't use C++). I decided to implement the solution (in c++) without worrying about anything except solving the problem.

After I sucessfully solved the problem (which I did not included into my commits). I went back to the code and tried to improve the quality of my code. I usually make strong use of names and relationships presented in the business domain in the code. But I failed to extract valuable names and relationship in this problem. I also make strong use of Interfaces, which helps to improve testability. But it is a bit weird in C++, so I was only able to use a little bit. And I also did not try to implement tests.

I personally do not use comments and in my job we use comments only when necessary. So my code is not very commented. However, I tend to implement very small functions with very self-explanatory names (and variables). I believe the best documentation is the code.

I had some problems related to undefined reference when I started using static functions, thus I had to remove the translation units. I moved all the code to header files. I did not like it but I did not find the solution to this problem. So I skipped it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant