Functional programming has become popular recently, and many object oriented languages (C#, Scala, Java) have begun including functional concepts as part of the language. Here we'll go over a few functional ideas in C#.
Follow DISTek......
Functional programming has become popular recently, and many object oriented languages (C#, Scala, Java) have begun including functional concepts as part of the language. Here we'll go over a few functional ideas in C#.
While I was attending the Embedded Systems Conference this year in San Jose, there was one session that peaked my interest. The session was “Design Patterns for Embedded Systems in C” from Bruce Powel Douglass, Ph.D., Chief Evangelist from IBM IoT(Internet of Things).
In college, I had a physics class called Modeling and Simulation of Physics Systems in which students wrote code to model the physical behavior of various systems. The final project of the class involved choosing a system of interest, developing a model for it, and presenting the results with some sensatory aid.
While the Google Test framework is designed for C++ it can be used to create a framework for C unit testing. Reference the Google Test documentation for more details on the capabilities of Google Test.
The Framework
These framework files are included in any C unit test project. •A header file to define macros to interface from C++ to C – gtest_c.h •A header file to provide C interfaces to the Google Test comparison functions – Gtest_helper.h. •A helper file to interface Google Test comparison function to C – Gtest_helper.cc