/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

erikmcclure.com
| | arne-mertz.de
5.0 parsecs away

Travel
| | In this post I will write a bit about each operator and how a straight forward implementation might look if the operator is meant to work similar to built in operators.
| | entangledlogs.com
4.8 parsecs away

Travel
| | Generic Programming: Generating part of programs Introduction Generic Programming: Programming with generic parameters to avoid unnecessary code duplication and encourage code reuse. Polymorphism is also another technique to solve code reuse Puts implicit constraints on the generic types that are to be fulfilled by concrete types. template T adder(T LHS, T RHS) { return LHS + RHS; } struct Foo { inv Val = 0; } Foo f = adder(Foo{}, Foo{}): In this code snippet, we assume that Foo meets the requirement tha...
| | hellocplusplus.com
3.6 parsecs away

Travel
| | Learn the basics of C++ move semantics and how to use this language feature. This article is useful for programmers of all skill levels.
| | kndrck.co
26.3 parsecs away

Travel
| Prelude State monads, introduced to me during the data61 functional programming course was one of my most memorable encounter with a monad. This was mainly because things only started to clicked and made a tiny bit of sense after a couple of weeks of frustration. This article is my attempt to explain the underlying mechanics of the State Monad to try and relief the frustration of whomever who was in my position.