Simon's blog

Lees iets, laat je ideeën achter

Pokémon Go

What are Pokémon and why is everyone playing this game?

The world was introduced to Pokémon in 1996 when the first games came out. There were Pokémon Red and Pokémon Blue for the original Game Boy. The idea was that there are Pokémon all over the world and children of 10 get the chance to go out and explore. They have Pokéballs to capture the (some not so little) monsters and fit them in their pocket, hence PocketMonster or Pokémon. So a generation was introduced to these Pokémon. The popularity was so immense that spinoffs started to happen, like a manga tv-series, books, more games, more series, and so on.

151 Pokémon could be captured in the first wave (more were introduced).

So why is it so popular? Because it speaks to more a whole generation. They have either lost themselves in studies or jobs or relations, but rarely do you hear them talking about the new Pokémon Sun and Moon games, or with a little bit of negativity because "they are so different from our first generation of Pokémon". But Niantic Labs (the Pokémon company) re-introduced said first generation. And in a very special way, that is. Now we ourselves could go out and explore the world. Find all those rare Pokémon. And of course be the very best.

donderdag 11 augustus 2016
Simon Meurs
Leven , Impressions , Game
0 reacties
Lees verder

Procedural - and Object Oriented Programming

Procedural Programming

Initially a lot of programming was procedural. It is easy and natural. The code starts 1 place, does things, then ends. The starting file can include as many other files as it wants, but the initial pointer will not leave the initial file. For websites with PHP, this would be the index.php file. If you import a file, the next ones will have access to everything that was defined in said first file. All functions and variables will be globally accessible from that point on.

Procedural comes naturally to beginning programmers because it doen't require a lot of understanding of principles, patterns, objects, … It just does what you tell it to do.

woensdag 11 mei 2016
Simon Meurs
Programming
0 reacties
Lees verder

MVC

Where Single Responsibility was a principle, MVC is a pattern. Principles are kind of a must, whereas patterns are more free. You can implement which one(s) you like, to fit you current needs. Not all patterns fit every program. But MVC is one that is widely implemented because of the massive boost in readability, reusability and maintainability it provides you with.

This pattern splits your code into 3 parts.

dinsdag 10 mei 2016
Simon Meurs
Programming
0 reacties
Lees verder

The Observer Pattern

The Observer Pattern was not necessarily created for MVC, but is ideally suited to be used together. It lets Observable objects pass on information to another object (the observer) without having to know how the inner class looks. The Observable just knows there are Observers waiting for change and can let them know when something happens. The Observer, which does have a concrete idea of what the inner class of the Observable looks like, then just retrieves the information which changed.

This is all a bit high level, so I will go a little bit more concrete in an example.

maandag 9 mei 2016
Simon Meurs
Programming
0 reacties
Lees verder

What is Single Responsibility?

Over time, programming has evolved in what is (hopefully) somewhat beautiful code. If you look at some 'primitive' code, you can see that is tedious and unclear. But how did we get from there to where we are now?

We made rules, put them into principles and patterns, and hope that coders abide by them.

zondag 8 mei 2016
Simon Meurs
Programming
0 reacties
Lees verder