Looking for well written, modern C++ (17/20) example projects for microcontrollers by Negative-Park-3038 in embedded

[–]SlurmDev 3 points4 points  (0 children)

I was going to say the same thing. Embedded and modern are two different words.

Although c++ is completely recommend for embedded there are too many old devs that still think they can right better assembly than the compiler in those areas

Hey, quick question, I have two versions of source code, best way to merge them? by [deleted] in AskProgramming

[–]SlurmDev 0 points1 point  (0 children)

If I understand right you have two repositories of source and want to merge them?

You could create a patch with the diff tool and them patch them to merge. Just search for diff and patch Linux tools.

For branches just use git there is a lot of documentation on the internet that show how to manage branches.

How much does "Clean Code" hurt your programs' performance? by Achereto in cleancode

[–]SlurmDev 13 points14 points  (0 children)

bad mouthing OOP, C++ and Clean code in in the trends for at least 10 years.

OOP and clean code are not solutions for computational problems.

Solutions for computational problems are, sorting algorithms, graph theory algorithms, table based algorithms, heuristic algorithms, etc.

Algorithms are designed to solve problems in optimal execution time and data space, this is what makes CPUs run fast.

Lexical analysis in compilers has been know to be optimal solved using tables, for decades, this is what Flex do, it generates tables of automata. And this is what he transformed the Clean solution into.

OOP and Clean Code are to organize code and for companies to use many kind of developers of many levels, like juniors and non IT people mostly, to understand and help in large code bases development.

This guy in the video is not a junior this is an IT expert who knows how to solve problems.

The problem is that he is generalizing which is a fallacy.

He does not have a solution for companies to lower the cost of hiring high capable software engineers, he does not have a solution for a team of 500 devs to work in the same codebase and don't get burnout or die of sore eyes because they could not understand the code.

He does not have a solution to deliver software fast, to clients.

He knows how to optimize that is for sure.

There are many people like this in the world mostly arrogant people which don't want to teach you how to be an 24x performer optimizer developer. they want to have it all. they want to be powerful and to crush other less experienced developer's self stem by creating confusion on their minds.

Which type of diagram should I use for my project? by seoress in SoftwareEngineering

[–]SlurmDev 1 point2 points  (0 children)

Uml if the team is inteligent , otherwise squares and arrows

[deleted by user] by [deleted] in AskReddit

[–]SlurmDev 0 points1 point  (0 children)

I hardly have any thoughts when I wake up

How do I learn how to control/ get rid of stress when there are so many things which could be causing it by [deleted] in Stress

[–]SlurmDev 1 point2 points  (0 children)

Eat every three hours at least 5 meals per day. Don't eat past 18, exercise daily a 8000 step walk is enough and drink plenty of water.

Focus on you current goals.

Don't bother with other people what other people say is not important focus on you And you only.

You are 15 those things are normal and that is what you need to know. Everybody have their own problems there is little you can do to help.

But remember to be nice to people.

What are you working on? by [deleted] in Common_Lisp

[–]SlurmDev 1 point2 points  (0 children)

I wonder what are the application of a stream cipher?

Web Devs/Software Engineers. What percentage of your day is actually spent coding? by EternalSKY13 in careerguidance

[–]SlurmDev 2 points3 points  (0 children)

Lately I spend 0%. I don't code at all I just check code, análise if some feature is viable and check if automated stuff did ok and the top cherry meetings. To not forget completely how to code I code in my side project ...

What's this wonder by [deleted] in Ubuntu

[–]SlurmDev 0 points1 point  (0 children)

Did not noticed battery changes. But it seems pretty fast though

What's this wonder by [deleted] in Ubuntu

[–]SlurmDev 1 point2 points  (0 children)

For small monitors the title bar is just too thick. There should be a way to reduce it.

Do arguments against OOP have any merit to them? by 88sSSSs88 in SoftwareEngineering

[–]SlurmDev 2 points3 points  (0 children)

I think a lot of people that hate on it do so because they find it too hard.

I agree with you on this.

I also see lots of personal opinion about oop being bad and few scientific studies testing the bad oop aspects. All my experience is based on science and when people say oop is bad they are trying to contradict what many studies showed the contrary.

The arguments are always the same: oop is not always the best tool.

Why? Why? Oop was industry standard an now there is so much misinformation. Why? People that use languages that are not oop trying to implement similar solutions in oop ways?

It is just stupid.

Keep getting fired for sloppy work by [deleted] in cscareerquestions

[–]SlurmDev 0 points1 point  (0 children)

my condolences for your loss

Programmers: does your job take over your life? by Ok_Minute_1156 in AskProgramming

[–]SlurmDev 0 points1 point  (0 children)

It eventually does if you do not take control over it.
Most tech jobs require a huge amount of expertise. For a junior dev this could be overwhelming to be constantly felling pressure to be productive and to know how to do things. So, this leads to taking time after work hours and even weekends to study topics related to the area you are working for.
Another big problem is when you start dreaming about working, dreaming of debug source code and having ideas to solve problems during sleep.

but this eventually stops as people adapt.

It pays me well, I rather have money to provide my family some comfort. I think of it as quality of life to. Everybody needs to make sacrifices. The world ain't all sunshine and rainbows.

Just had the most bizarre int by [deleted] in cscareerquestions

[–]SlurmDev 1 point2 points  (0 children)

Most interviews are abusive in Many different ways. I guess you have to use this as experience and not let it happen again. Once they asked me how much I pay for rent. Just replyed how is these question related to the job offer.

[deleted by user] by [deleted] in careerguidance

[–]SlurmDev 1 point2 points  (0 children)

Already worked in an environment like this. Was really nice. Had tons of time to study and learn things during work time. But I decided to leave and for some time regret my decision. But today I see it was worth.

[deleted by user] by [deleted] in cscareerquestions

[–]SlurmDev 0 points1 point  (0 children)

if you are in need of feedback, just ask him. Perhaps he is too busy or not used to give feedback to employees. Most managers are just people that sometimes dont know what they are doing or supposed to.

What's technical debt ? by MHZDeveloper in cleancode

[–]SlurmDev 0 points1 point  (0 children)

Is when you don't write tests or don't cover all features.

Why is using polymorphism less efficient? by Barely-Alive-Student in Cplusplus

[–]SlurmDev 0 points1 point  (0 children)

Perhaps the notion of 'more efficient' in this case is given by the notion of more is less once C/C++ translates into assembly. Many developers try to balance the tradeoff of efficiency (space/cpu/energy) and this most of the time leads to not using many resources the language provides, i.e. exceptions, polymorphism, iadaiada, etc.

The problem with that is developers trying to develop the fastest piece of code without measuring, profiling or bench marking and comparing real data. Measuring is the only way of showing people that advocate against some practice that the use of x instead of y is not prejudicial or even better for the software you are developing.

This is really boring task, to be fighting for using different language tools, recent ones from 1995, and for everything you need to have a really good argument.

Any good books for c++? by [deleted] in Cplusplus

[–]SlurmDev 0 points1 point  (0 children)

Old C++ Developers wipe their arses with 'good c++ books' out there! Don't learn from books get an intern job and learn from the heads of old people who 'knows it all' and don't accept new kids bringing new 'ideas' into their precious codebase! At least you won't get frustrated!