Life, Programming, Everything

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

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...
Thursday, December 11, 2008

Java Solutions: inheriting chain calls

›
Recently chain builder calls in Java have been gaining popularity, look, e.g. at this . The idea is that you have a builder that has small c...
4 comments:
Thursday, December 04, 2008

Java Compiler Warnings 2

›
Say, somewhere in your test code, you need a list of nulls: List<Direction> directionsWithNullValues = Lists.newArrayList( null , null...

Java Compiler Warnings 1

›
Since out of the 5 million Java programmers there's hardly 100 that actually know Java (I do not count myself in that holy hundred), we ...
3 comments:
Sunday, November 23, 2008

Keyboard Bookmarklets

›
Find your language below, and drag the grey square to bookmarks tab in your browser. Next time you open a page with edit field (e.g. blogger...
3 comments:
‹
›
Home
View web version

About Me

Vlad Patryshev
View my complete profile
Powered by Blogger.