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

August 2025

S M T W T F S
      12
3456789
10 11 12 13141516
17181920212223
24252627282930
31      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Aug. 18th, 2025 01:28 pm
Powered by Dreamwidth Studios