Posts

Showing posts from June, 2012

Now, F#

OK, let's look at Fibonacci in F#:
It took 4 seconds compiled as debug (and 3 seconds compiled as release). Very, very impressive, I must say. The code looks as clean as Erlang equivalent, however pattern matching in Erlang is obviously more power - it supports matching function arguments and binding variables right in the patterns. However, this is the very first day I learn F#, so I may be mistaken about its pattern matching features. If this is the case, I'll sure update this post later.

Update 21.06.15


Result: 1.38 seconds in Release configuration.

Uncle Bob about passion for programming and chicken farms

"...we face a lot of pressure to move into management. If you are a software developer for three or four years, you leverage up and you start running a group. I find that very unfortunate.
We need good managers, but software developers typically don’t have those skills and they don’t want those skills.
When they feel the pressure to move in that direction, many of them fail. Maybe they pursue some career in marketing and lose their origin passion for what they were doing. I have certainly faced that several times. I have been a programmer, then I have run a group, then I went back to be a programmer, then I ran a division, then I went back to be a programmer and I ran a company. And now I’m programmer that does a lot of speaking and talking and I am very happy with that.
Some people don’t have that love because they got into software development because of the wrong reasons.
Some of them develop the love because they find out it’s very good to be a programmer and some of them los…

Another Erlang book

I've just finished (not cover-to-cover though) reading Erlang Programming book. And started to read Erlang and OTP in Action. It seems that the latter is much more practical and deep, while the former is very nice for beginners as it introduces the Erlang language itself in great details, touching the OTP not so well. So, I rather happy with the order I've been reading this exciting books! :)

p.s. It seems that a task very nicely fitting to solve it in on Erlang (protocol parsing on bit level) suddenly appeared on my current work...

Erlang: quicksort

The code exhibits exactly what the algorithm does. It's really impressive!