Skip navigation

Fun with parentheses

Oh… I almost forgot what fun it is to learn functional programming. During one of the semesters in university, we took “Functional programming” course. It was a new world of something that I hadn’t seen before, so unusual, so charming.
That new world of lists and operations on them was something “weird” because it wasn’t similar [...]

Don’t let Xml be your API

It’s interesting to see how many hours java developers spend these days writing Xmls. I can hardly imagine writing java server-side applications without a single xml document nowadays. All those configuration files, deployment descriptors, schema files, mappings, etc. Has anybody tried to count those hours?
The things are getting worse when you work within SOA. The [...]

The old well-known(?) puzzle

Suppose we have two sorted arrays: A and B of size n.
We would like to know if there is such a pair of indexes (i,j) that A[i] + B[j] = C.
C is a given number.
What’s the best worst-case time complexity (Big Oh) of the algorithm to solve the problem?

Looking at The Law of Demeter

Have you heard of The Law of Demeter? I haven’t until recently I’ve come across this term a few times in one day. Immediately I decided to take more closer look and get familiar myself with that term. It turned out that it’s not about ancient mythology… well… it’s named in honor of Demeter which [...]

I think I fell in love with this editor

Update:
Nice starting guide.