this post was submitted on 10 Jan 2025
-8 points (38.9% liked)

Programming

17899 readers
208 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] bitcrafter 6 points 1 week ago (1 children)

Boy does it seem like this author is trying to push something. I wonder if...

To learn more, attend my upcoming CEC course January 27-31: Expert C Techniques to Master Bare-Metal Programming. You’ll discover how to master one of C’s most powerful tools—function pointers—and use them to design flexible, efficient systems. From building cooperative schedulers and command parsers to creating configurable, reusable code, you’ll gain hands-on insights that can transform your approach to embedded programming.

...yep, sounds about right.

[–] [email protected] 3 points 1 week ago

Aren't function pointers against the MISRA standard?

I'm not saying they are bad because they can be really useful but when it comes to writing safe code I believe their usage is heavily discouraged