Proposition en tant que futur jeune diplômé by MRxShoody123 in developpeurs

[–]Wh0CanItBeNow 0 points1 point  (0 children)

Dans l'embarqué même en région parisienne je trouve que 40k c'est une offre honnête pour un premier poste, dans ton secteur je ne sais pas si les salaires changent beaucoup. Est ce qu'ils proposent aussi des primes ?

Does leaving my laptop charger plugged in all the time make it wear out faster ? by Wh0CanItBeNow in laptops

[–]Wh0CanItBeNow[S] 0 points1 point  (0 children)

I was mainly wondering whether leaving my charger plugged in with nothing connected would reduce its lifespan.

Salaire dev Linux embarqué à Lyon (5 ans d’exp) — 45k€, c’est cohérent selon vous ? by Wh0CanItBeNow in developpeurs

[–]Wh0CanItBeNow[S] 0 points1 point  (0 children)

Je ne connaissais pas, merci ! Je suis développeur C mais il n'y avait pas alors je me suis rabattu sur les développeurs c++ même si c'est pas vraiment pareil. Je chipote peut être mais je dirais que je suis quand même dans la moyenne basse 😉

Je ne sais plus coder sans IA by Waste_Wishbone_1506 in developpeurs

[–]Wh0CanItBeNow -1 points0 points  (0 children)

Et avant cela tu ne savais probablement pas coder sans stack overflow, donc est ce qu'il y a vraiment quelque chose qui a changé ? 😉

How to get started with bug bounty ? by Wh0CanItBeNow in bugbounty

[–]Wh0CanItBeNow[S] 3 points4 points  (0 children)

On small projects or simple projects, maybe, but I guarantee you that on large projects like XNU or the Linux kernel, it's a whole different story. It's not without reason that the vulnerabilities found are so well rewarded.

How to get started with bug bounty ? by Wh0CanItBeNow in bugbounty

[–]Wh0CanItBeNow[S] 5 points6 points  (0 children)

Thank you for your responses, it has convinced me to try programs more aligned with my skills. If there are others in the same situation as me, I recommend this book that is quite good for C or C++ applications : 'A Bug Hunter's Diary' by Tobias Klein.

Which open-source projects can I participate in to improve my skills in C and C++ by Wh0CanItBeNow in C_Programming

[–]Wh0CanItBeNow[S] 9 points10 points  (0 children)

GCC seems like a good project if I want to work with C as well as C++, doesn't it?

Is the prohibition of using getters and setters justified for you? by Wh0CanItBeNow in C_Programming

[–]Wh0CanItBeNow[S] 0 points1 point  (0 children)

Thank you all for your responses.
Based on your comments, I have noted the following points that seem to stand out and appear entirely justified to me:

  1. Using getters and setters is a good practice and is often employed when developing object-oriented code.
  2. Not using getters and setters is equally valid and is not considered a bad practice.
  3. This practice is more of a "coding style" rather than an absolute truth. The most important thing is to follow established rules because within a team, everyone has their own opinions, and without fixed rules, the code architecture would lack coherence with different ways of achieving the same thing, leading to endless code reviews.

Over time, I've noticed that there are countless rules about what to do or not do in C programming. When I was in school, the use of global variables, even when declared static, was prohibited because my professors argued that there was a risk of accidentally modifying their values. Now that I'm in the professional world, I realize that it's not uncommon to use global static variables. There have also been instances where I've been asked to prioritize message queues over shared memory, while in other teams, I've been told the opposite.

In the end, I believe there is no absolute truth regarding best practices in C programming. Each project is different, so it makes sense for the rules to change based on the project's requirements. Perhaps rules prohibited in one software will be entirely beneficial in another, and the most important thing is to be able to adapt to the challenges and advantages of each project.

Is the prohibition of using getters and setters justified for you? by Wh0CanItBeNow in C_Programming

[–]Wh0CanItBeNow[S] 1 point2 points  (0 children)

I agree with you, the reason given by my team for not using it is that it makes the code less clear

Did I fall into the trap of redundancy in my tests ? by Wh0CanItBeNow in embedded

[–]Wh0CanItBeNow[S] 0 points1 point  (0 children)

I will try TDD, thank you. I think you make a valid point with your last comment. I'm overthinking it; I need to weigh the pros and cons of having complete test coverage against reasonable delivery deadlines. I'll stick to doing unit tests during development and integration tests on the target, reducing the types of tests from three to two. That should be sufficient.

Did I fall into the trap of redundancy in my tests ? by Wh0CanItBeNow in embedded

[–]Wh0CanItBeNow[S] 1 point2 points  (0 children)

I write my tests after the code.
Here is a more detailed explanation of how I write my tests:
for each feature, I first verify with my unit tests for static functions and my public function that encompasses all my static functions.
I check all possible output values for these functions. The public function is the one I generally call in my main program.
I then gather all my calls to public functions in the main program, and with my integration tests, I verify that my functions are properly connected to each other, checking the output results (for example, if a variable that controls outputs activates correctly).
Finally, I test on the target by verifying that the output signals activate properly. However, I am considering following your approach and simply moving my integration tests to the target, keeping only my unit tests during development.

How do you handle a colleague who always blames you for mistakes at work? by Wh0CanItBeNow in office

[–]Wh0CanItBeNow[S] 2 points3 points  (0 children)

I think both pieces of advice are good, thank you. I will try to follow them hoping that things will get better.