Hristijan retweeted
It’s crazy how many Android courses out there are a simple regurgitation of the official docs and codelabs. I’d say 95% of them are like this.
Where is the value on that? You can’t make a business out of courses that literally provide 0 value.
Put the time and effort on things, make people feel good for having purchased it. You will not regret.
Hristijan retweeted
PSA for Compose Multiplatform early adopters: To get your app running buttery smooth (120fps), make sure you have this key set in your `Info.plist` – otherwise, your app is locked to 60 Hz. It's in the template, but if you started early, you might not have it!
Hristijan retweeted
I wrote an actual, technical blog on my website! I can't remember the last time that happened. Read all about why I prefer trunk-based development, and why you're not doing CI even though you think you are
trishagee.com/2023/05/29/why…
Hristijan retweeted
🤩 The Foldable Project View 2.0 is almost here! 🤩
It’s a plugin for @IntelliJIDEA-based IDEs from @JetBrains for grouping and folding matched entries in the Project Tool Window.
The upcoming release introduces multiple groups, colors, and more.
Stay tuned for more info!
Hristijan retweeted
I can’t stress how important it is to remember that your career path is not necessarily a linear line that goes up and to the right. A deviation from this “perfect” career growth isn’t a step in the wrong direction. We all work towards our goals from different starting points.
Hristijan retweeted
Remember when Jake Wharton had to explain that configuration is not boilerplate?
Also android devs:
teapawt.net/JakeWharton/status/113…
Hristijan retweeted
- Our code needs separation of concerns
+ We've got separation of concerns at home
Separation of concerns at home:

ALT interface MyUseCase { data class Args(val arg: String) suspend operator fun invoke(args: Args) } class MyUseCaseImpl(private val repository: MyRepository): MyUseCase { override suspend operator fun invoke(args: Args): Data = repository.getData(args.arg) } interface MyRepository { suspend fun getData(): Data } class MyRepositoryImpl(private val myDao: MyDao): MyRepository { override suspend fun getD...
Hristijan retweeted
The more I work with legacy code, the more I realize that naming is the single most important factor for long-term maintainability of software.
Hristijan retweeted
Jetpack ViewModel has always been a caching mechanism to store data across configuration changes, as it was explained by its original authors 4 years ago
Jetpack ViewModel was never intended to be "the ViewModel in MVVM".
A way to store data. Model for the view.
Word by word.

ALT I'm part of the team that added it, and it had nothing to do with MVVM. It is all about trying to give a class to people, where they should put the data. In fact, the main motivation was: we've been telling devs not to manage data in the UI controller. And the answer was, so where? And ViewModel became that answer.
This post is from an account that no longer exists. Learn more
Hristijan retweeted
Companies: We don't have 6 months to spend training a junior.
Also companies: Spends 6 months trying to hire a senior dev.
Hristijan retweeted
From Kotlin Slack, here is a Compose on iOS demo. Source: github.com/JetBrains/android…
Hristijan retweeted
Why are so many devs quitting their jobs? Better offers, remote flexibility, more benefits..
Better question, why aren’t companies doing more to keep their current engineering teams happy?
Hristijan retweeted
Replying to @ticktakclock
CompositionLocal should be thought of like ThreadLocal or Globals - they create implicit data dependencies and implicit API contracts that break modularity and make your code much less maintainable. You should feel bad every time you use it, prefer passing parameters explicitly.
Hristijan retweeted
I will never understand why tech companies optimize interviews for a college grad to do better than someone with ten years of experience.
Hristijan retweeted
Are you still using the first programming language that you've learned?
For me it was C++ and I haven't used it in 5+ years. 😆
Hristijan retweeted
Do you know that #cpp support in @androidstudio is coming from CLion? It was first announced at Google I/O conference, May 2015.
C++ support in our tools started 10 years ago in @appcode! 🎂 We first announced it August 25, 2011, with support for macros in Objective-C++ code, STL auto-import, and some #cpp completion. Now there is so much more support! 🚀 #cplusplus jetbrains.com/help/clion/CPP…
Hristijan retweeted
This is an example of a poor packages structure (so-caled "package by type" approach).
⚠️Doesn't tell anything about app's business domain
⚠️ Doesn't provide info about app's features
⚠️ Makes it difficult to make changes even if you know what you want to do
Don't do this.




























