
Android TechLead at @DodoEngineering
Budapest
Joined November 2011
- Tweets511
- Following118
- Followers156
- Likes819
Or, hear me out, you can just add the Inject annotation and stop writing those goddamn constructors and start writing actual code.
Alternately, realize that Hilt and Koin don't really do much other than that you have to "type a little less code".
Though if you use Dagger enough, you find that the "less code" is actually more code. If you ever try to Ctrl+Shift+F and half the finds are Modules, you get it...
2
3
690
I love @GitKraken but it's ridiculous that it crashes if a changed file has "constructor" or "tostring" substring in the name. And the only way to resolve that is to use some other client to commit changes. What a shame.
1
45
I don't always contribute to open-source projects but when I do it's the most famous lib on the platform github.com/square/retrofit/p…
3
52
Пытался сгенерировать диаграмму классов на основе кода, чтобы проанализировать связи. Потратил пару часов, но хорошего инструмента не нашлось. Решил изначальную задачу за 10 минут вручную прошерстив файлы.
1
62
Here is how you can implement lazy initialized in-memory cache with Kotlin. Note that lazy is used directly here, not as a property delegate.
1
2
145
Maksim Kovalev retweeted
Пицца в AR
Запустили пепперони-сердце в дополненной реальности: пицца сама ляжет к вам на стол, вы сможете оценить ее размер, покрутить, увеличить, повешать на стену, сделать пиццу-одеяло, а в конце поделиться получившейся открыткой.
Картины нарисованные нейросетями - это прошлый век. Мы в @DodoEngineering рисуем графиками крашей. Вот например панорама Санкт-Петербуга.
Amazing news: Google has finally shipped a dedicated desktop layout for Tasks! Works perfectly, though I'd like to have a today's calendar sidebar along the tasks list. workspaceupdates.googleblog.…
66
I hate unit tests. They are productivity disaster.
Perhaps I'm dumb but I cannot stand fixing and/or rewriting tests every time I change the code.
1
70
Заметил за собой интересный навык - я могу по внешнему виду определить вкусный ли кофе мне принесли. Особенно если это капучино или другой молочный напиток.
1
1
126
Через 10 лет я хочу работать не более 4 часов в день и не более 4 дней в неделю. Идея в том, чтобы стать настолько крутым экспертом, что не нужно будет тратить больше времени для хорошего уровня зп. Хочу продавать свои знания и решения, а не ручной труд.
3
79
Now imagine explaining that concept to a junior developer. It's too way implicit. I think it's a tool for frameworks development, not applications.
Context Receivers in #Kotlin will allow to compose types in top-level functions without requiring service layers, orchestration layers or DI frameworks.
While still being able to easily swap out implementations for testing, or otherwise.
Context Receivers 2024 ✌️

ALT fun interface HelloService { fun hello(): String } fun interface WorldService { fun world(): String } object MyService { context(HelloService, WorldService) fun helloWorld(): String = "${hello()}, ${world()}!" } fun test() { val fakeHello = HelloService { "Hello" } val fakeWorld = WorldService { "World!" } with(hello, world) { println(MyService.helloWorld()) // Hello, World!! } }
1
1
124









