Heya! Welcome...

Zolomon.com My name is Bengt Ericsson. I'm 22 years old, and I'm a software developer. And I love code! Nothing makes me more happy than a stunningly beautiful and well thought out LOC!

Currently my poison ranges from C, C#, Java, Python, PHP and all the way to Haskell! I've got a bit of interest in everything, my mind never gets full!

Cheers!
//Bengt

30 August 2010 ~ 0 Comments

Object references

I just had a nice discussion at work, it reminded me of some things I thought I had complete knowledge about!

In Visual Basic .NET you can pass variables into a method in two ways; either by ByRef or by ByVal.

If you use ByRef then you pass the pointer to the object, and any modifications to the pointer will remain the same after the method has executed.
If you use ByVal then you create a local copy of the pointer that was passed, and any modifications to the pointer will be lost. Although, any modifications done to the object that the local copy points at will remain the same after the method has finished its execution – because the original pointer points at the object that was modified!

For built-in types, this is NOT the same.
If you use ByRef on an Integer for example, the modification will remain true after the method execution.
But if ByVal is used instead, the modification will be void after the method execution.

11 July 2010 ~ 0 Comments

Amazing stop motion

Tags:

26 May 2010 ~ 0 Comments

Treejewellery.se

Another site I finished went live a few months ago, check it out here at www.treejewellery.se!

Tags: ,

20 May 2010 ~ 0 Comments

LeoGren.com

Updated Leonard Gren’s website!

Check it out at www.leogren.com!

Tags: ,

20 May 2010 ~ 0 Comments

CherrysAndPlums.com

I recently finished whooping up a neat little WordPress theme for a friend.

Check it out at www.cherrysandplums.com!

Tags: ,

22 March 2009 ~ 0 Comments

Magenta Maze #4

This will speak for itself:

21 March 2009 ~ 0 Comments

Magenta Maze #3

I worked my magic a little more on Magenta Maze:

Changelog:

  • Added the timer function
  • Added some basic display of the time and score

21 March 2009 ~ 0 Comments

Magenta Maze #2

Hello! I’ve worked some more on Magenta Maze, obviously:

Changelog:

  • Tilebased movement, can press and hold keys instead of button mash (both actually work!)
  • Added a fifth point – the multicoloured one! Not worth less than a total of 1000 points!
  • Added the score system
  • Began working on a Countdown function

magentamaze_03

20 March 2009 ~ 0 Comments

Magenta Maze

An ongoing side project:

10 January 2009 ~ 0 Comments

DiceGenerator

Quick post about my new little hobby project:

dicegen_4

Tags: