Aug. 4th, 2009

juan_gandhi: (Default)
I was adding a new c/s piece to the code; instead of using huge existing interfaces, wrote a small new one, javascript/ajaxy style:

public interface MyStuffProvider
{
    public interface Listener {
        void onSuccess(MyStuff myStuff);
        void onError(int errorCode);
    }

    void sendRequest(Listener listener /* could also pass some data, but there's nothing to pass */);
}


Totally trivial; and that's all we need, right?

waking life

Aug. 4th, 2009 10:18 pm
juan_gandhi: (Default)
Не сдал в нетфликс, а взял да опять поставил, смотрю. Ну ё! Второй раз ещё круче. Как скрипичная соната Бетховена (в смысле. такая же туго скрученная). И ещё буду. Вон там Сартр выкобенивается, херню свою несёт. Ох, какое кино, какое кино!

Ну и т.д. Как книжку читаешь. Языком молотят непрерывно.

Profile

juan_gandhi: (Default)
Juan-Carlos Gandhi

October 2025

S M T W T F S
    1 23 4
5 678 9 1011
12 13 1415 161718
1920 2122 23 2425
26 2728 293031 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Oct. 31st, 2025 08:23 pm
Powered by Dreamwidth Studios