/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

degoes.net
| | lambdaland.org
3.7 parsecs away

Travel
| | This is the story of how I solved a problem (ugly, cumbersome boilerplate code) that I ran into while writing a program in a functional language (Elixir). Functional programming languages often pride themselves on expressiveness and elegance; but occasionally they are not amenable to the most obvious solutions to the problems we wish to solve. In this case, the simplest solution to my problem would have been to have a global mutable variable. But no one likes those.
| | entangledlogs.com
3.5 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...
| | argumatronic.com
4.1 parsecs away

Travel
| | Occasional writings about Haskell.
| | blog.orhun.dev
22.8 parsecs away

Travel
| FOSS Linux Programming