I have tried recently to use the C++ 11 version of the reference counting, the class std::shared_ptr. And I must say, it is crap. Utter and complete crap.
Their problem is that they are trying to do reference counting to any structures at all, without storing the reference counter in the structure itself. The consequence is that you absolutely can not mix the shared_ptr and pointers. Once you store a pointer in a shared_ptr , you have to refer to it by shared_ptr, and assign the shared_ptr values to each other. If you take a pointer and store it in another shared_ptr, you end up with two reference counters to the same structure, and end up with the memory corruption. And it is way too easy to make this mistake. It is really not usable.
“Friendly interface” has become a term universally accepted. Nobody seems to ponder on the message of those words. But pondering over the phrase gives you the shivers: the programs though creatures of our mind seem close to conquering the world while definitely breaking loose of our control.
Every online business that deals with user needs to solve user registration problem.
PostJobFree.com is not an exception.
How to preserve user data and make it available to the user later?
How to create new account and did not distract user from her task in hand?
How to deal with account recovery in case when user forgot her password?
User account management is tricky.
Here is what we come up with in our latest iteration of user account management on PostJobFree.com.
In about a month, on April 25, 2014, the next iteration of Functional Programming Principles read by Prof. Martin Odersky starts on Coursera. Regular college or university students contemplating participation should by all means follow their mentors’ advice. Mine is for those among seasoned and mature programmers, both professionals and amateurs, who have missed the opportunity to master functional thinking in their good time but are sharp enough to see their peers—who have had the chance—running circles around them intellectually.