http://asawicki.info/ Graphics programming, game programming, C++, games, Windows, Internet and more... |
|
23:37
Wed
02
May 2012
Functional Programming is the New Trend
Some time ago I've written about data-oriented design as a popular trend among game developers, opposite to the belief that object-oriented programming is the silver bullet for all challenges and complexities of programming. Mike Acton, Engine Director at Insomniac Games and the creator of #AltDevBlogADay, is probably the biggest evangelist of this idea.
Now I can see that functional programming is a concept gaining popularity and it seems to follow similar mindset. Of course we won't start coding our games and programs in Lisp or Haskell tomorrow, but some of the ideas coming from functional languages can be applied to thinking about our everyday C++ code, instead of seeing design patterns, singletons and class inheritance everywhere. This can mean, for example, making data const (immutable) wherever possible and writing functions as pure - returning processed data that depend only on input data and not mutating or accessing any global state. This makes code simpler to read and understand, debug and unit-test, as well as to parallelize.
I've seen some voices in gamedev advocating that functional programming is the future even years ago. I can remember slides from some conference about it, I can't find it now though. But recently more and more programmers seem to be interested in learning some functional languages, writing about it, like explaining what the monad is etc. Some really recent, interesting blog posts about applying idea of functional programming in the real code:
Life Without Objects by Chris TurnerBy the way, it really impresses me how despite all his experience, fame and success, Carmack still tweets and blogs about programming, down to its dirtiest details, instead of writing about management, leadership, enterpreneurship, money, psychology, recruitment etc., like many other professionals do.
Comments (5) | Tags: c++ | Author: Adam Sawicki
|
acai berry original 2013-04-16 08:48:37 | I am very much interested in reading articles. This blog was really an awesome site which I had never found it anywhere. Lots of stuff in this site ! Really helpful for most of them |
|
Cheap beats by dre pro 2013-04-16 11:42:07 | Music is a wonderful path for our creature to have our life. However in the most cases, the listeners cannot hear many of the music that is recorded inside the studio. Frequently, music producers and singers put in a lots of effort with their recording sessions to perfect their sound. Unfortunately, numerous perfect sounds never reach to listeners sticking with the same clarity and perfection that these people were created, resulting from low quality playback equipment cheap beats by dre. Poor headphones and connecting cables are classified as the grounds for the decline of clarity in sound. Most headphones will not convey the details, the dynamics and also bass frequencies with the recordings faithfully http://beatsdreheadphonessale.org . Subsequently, the background music fails to create the impact with the listeners that this artists were pursuing Beats By Dre. Owning to the current situation, superior quality headphones can actually produce a massive difference. With higher performance output devices similar to the Monster Beats headphones, the sound that listeners hear could be comparable to just what the singers themselves heard the mulch can become was originally recorded with the studio Monster Beats By Dre Studio. Studio above sounds has stopped being just of recording singers and DJs. The absolute ambit of Monster Beats Headphones brings able above complete to consumers, appropriate into their active rooms http://drebeats-singapore.net . These to appear with rechargeable batteries that will be able and continued lasting. The ear pieces one of many aftermath above complete but you are at the same time adequate to abrasion for continued amounts of time. The ear pieces appear with ultrasoft breathable and costly ear cushions that accumulate admirers airconditioned and adequate even though responsive to music all night long at a stretch. Wireless units are available which might be perfect for moving around freely without getting entangled Beats By Dre Tour. Dancing, jumping and swirling around are possible now with these wireless Monster Beats headphones Monster Beats Mixr. Both the wired as well as wireless varieties produce superior sound quality with a high volume of fidelity. Each unit which can be purchased at a Monster Beats outlet has a scratchresistant gloss finish that keeps the phones looking good despite heavy use. The world Monster Beats sale figures are testimony towards the superiority of the brand Dr dre headphones for Sale. Monster Headphones is often readily used with other portable devices like Blackberry along with the Blackberry. There're among the best different ways to hear music the actual way it was can be. To those that pursuit premium quality music sound, Monster Beat Headphones may be a definitely sensible choice Monster Beats By Dre. So, it's not necessarily too far gone, only make a decision, you are able to real music playback. With way more information regarding monster beats and beats hd, visit at our webstore for you to purchase it with high satisfaction. Related Articles monster beats, beats hd, this Article to some Friend cheap beats by dre headphones!Receive Articles such as this one direct for a bo Beats By Dre Singapore!Subscribe free of charge today Cheap beats by dre pro! |
|
Nike Tn 2013-04-17 10:41:40 | Exquis ligne artisans <a href="http://www.niketnshoxsfr.eu/">Nike Air Max</a> professionnels polis. Pointeur <a href="http://www.niketnshoxsfr.eu/">Air Max</a> en acier bleu sauter dans le smart <a href="http://www.niketnshoxsfr.eu/">Nike Pas Cher</a> central, a prouvé le <a href="http://www.niketnshoxsfr.eu/">Nike Pas Cher</a> temps qui coule calme.Calibrage et coller sur un mile, démontre l'idéal ultime de l'amour pur. zcy13417!@#$%^&*(1) |
|
quilted barbour jacket 2013-04-23 03:53:11 | Top quality [url=http://www.barbourjacketsukstore.net/]barbour jacket[/url] with great designs are in [url=http://www.barbourjacketsukstore.net/]barbour jackets shop[/url]. Fabulous [url=http://www.barbourjacketsukstore.net/]barbour coat[/url] is a gurantee of charm and comfort. [url=http://www.barbourjacketsukstore.net/]Barbour clothing[/url] is always the best sellers in [url=http://www.barbourjacketsukstore.net/]barbour UK[/url]. When you want to get fashion, quality and affordable price at the same time, [url=http://www.barbourjacketsukstore.net/]barbour jackets sale[/url] won’t let you down. [url=http://www.barbourjacketsukstore.net/]Barbour quilted jacket[/url] are now sale online to be [url=http://www.barbourjacketsukstore.net/]cheap barbour jackets[/url]. Get them for free shipping now. http://www.barbourjacketsukstore.net/ |
|
Christian Louboutin Daffodile 16 2013-05-02 06:56:49 | Louboutin Replica Shoes are generally Gorgeous The right of trainers complete a person feel actually good with them <a href="http://www.louboutinshoes-replica.com/christian-louboutin-pointed-toe-c-12.html">Christian Louboutin Asteroid Leather Pumps Turquoise</a>. For your woman, you will find Christian louboutin shoes Sandales Pas Cher pulls, lures and enticements that can manufacture them crave issues that are various from Christian Louboutin France that happens to be routine together with each day kind. This is exactly the Louboutin replica shoes permit them perform.These comfortable shoes radiate deep rooted elegance so are the final style. When you've got been debating whether to find out the gorgeous shoes and prepare them belong yours, from your very own bank Louboutin Shoes Sale <a href="http://www.louboutinshoes-replica.com">Louboutin Replica</a>. To make sure you really don't ought to quit hope. There's a possibility inside number of christian louboutin uk shoes the replicas.These comfortable shoes for you to discover here's the proper displays of just what is inside the walkway with your newest and a lot of of revered of favor trends <a href="http://www.louboutinshoes-replica.com">Christian Louboutin Replica Shoes</a>. The widely used together with the most familiar one of several fashions included in the sector will likely become uncovered so http://louboutinshoes-replica.com . Very high heeled shoes make one appear absolutely feminine and peruse their quite finest. The shoes to help you to go from your correct direction are the Plateformes Louboutin Louboutin Replica Shoes. They allow somebody to obtain oftentimes quite possibly the most superb and classy shoes. Acquiring these replica shoes inside of your christian louboutin uk outlet length of sale can be considered given that very finest deal <a href="http://www.louboutinshoes-replica.com/christian-louboutin-pointed-toe-c-12.html">Christian Louboutin Decollete 100 Pumps Python</a>.This could be a properly recognized brand and is amazingly popular all in the world. These comfortable shoes are luurious and luxury, as quite less price when compared to the originals. This footwear can be like genuine ones and it also truly in all fairness tough differentiate concerning the originals and replicas <a href="http://www.louboutinshoes-replica.com/christian-louboutin-daffodile-c-5.html">Christian Louboutin Daffodile 160mm Strass Pumps Gold</a>. Replicas happen to be thought of as in the form of superb acquire primarily brought on by their lovely styles also since their fashionable models. |
| [Stat] [Admin] [STAT NO AD] [pub] [Mirror] | Copyright © 2004-2013 Adam Sawicki |