Life, Programming, Everything

When I find something interesting and new, I post it here - that's mostly programming, of course, not everything.

Sunday, April 18, 2010

How I Installed a TV Antenna

›
I live in South San Jose; recently we have discovered that now that we have fast Internet, WII and Netflix, we already have access to hundre...
2 comments:
Monday, March 29, 2010

Hidden Monads in Scala

›
Actually, not monads, just functorial stuff. But programmers seems to be unaware of the fact that a monad is a special kind of functor, so.....
Wednesday, March 24, 2010

Topics in Coding Style

›
While at Google, I believed in two things: peer code review and unacceptability of ascii art in the code. Peer code review means you are sup...
1 comment:
Monday, March 08, 2010

A Brief History Of Single Exit

›
Many many years ago people were writing their code mostly in FORTRAN, but also in PL/I. They were told by their teachers not to use too many...
4 comments:
Wednesday, January 20, 2010

Dispatch by Return Type: Haskell vs Java

›
If you are a Haskell programmer, this is all trivial for you; but if you are a Java programmer, you would ask yourself two questions: is it ...
1 comment:
Monday, November 30, 2009

Subclass and Subtype in Java

›
Here I just want to get together a pretty much widely-known information; somehow it escapes you if you just read Java books or google the in...
2 comments:
Monday, November 16, 2009

Not Just Subtyping

›
I've been trying to figure out how come the only relationship between types we use to encounter is "sub". Type a is a subtype ...
2 comments:
Monday, August 31, 2009

a sample comonad

›
Comonads still look a little bit enigmatic to programmers; I'm going to show a practical example from which one can start perceiving the...
Tuesday, June 23, 2009

Why Monoids?

›
I sincerely plan to explain in simple terms what's all this fuss about monoids, why we suddenly need these primitive structures, and how...
4 comments:
Sunday, June 14, 2009

on Variance

›
I'll try to explain to practicing programmers what this variance means, and how it is related to the famous and frequently misunderstood...
Saturday, April 04, 2009

inheritance, delegation, decoration, gravitation

›
I think I have some ideas regarding what is the problem with inheritance and, specifically, multiple inheritance. Let's start with geome...
2 comments:
Sunday, March 15, 2009

Cursor vs Flyweight

›
It is a pretty frequent problem: you need a million instances (ok, a billion if you are on a larger machine), and all the data are available...
2 comments:
Wednesday, January 07, 2009

Incrementally calculating factorsets (Java class)

›
Recently I encountered a problem of calculating a factorset, given a set and a binary relationship. If you ask wtf is binary relationship, i...
Thursday, December 25, 2008

Inner Class in Java: Unexpected Volatility

›
You probably know that if you use a value in an inner class, the evil Java compiler wants you to write "final"; people do all kind...
1 comment:
Sunday, December 14, 2008

categories: new part posted

›
Just posted a new part, "Category of Java Sets" , in Easy Categories For Programmers .
Saturday, December 13, 2008

Functions

›
An Excuse Well, I decided to gather all the code related to Function class in one "universe" container class, Functions. The other...
‹
›
Home
View web version

About Me

Vlad Patryshev
View my complete profile
Powered by Blogger.