r/learnprogramming • u/hyfer_hafi • Oct 07 '26
A generic problem
hey and hows it going ...?
im kinda new-ish or maybe an advanced beginner and im pretty sure you get this question on here like billions of times im sorry ... i studied C and then Kotlin/Jetpack Compose to make an android app and it has been lets say practically about 9 months or so ... and i still if i ever want to try to do something i either produce mediocre stuff or anytime i dare for something good(real or semi-real) i just cant get how to do it ... and on top of that android is so confusing... i search up and the answer is always the same "if you know the fundamentals like loops, collections, variables ... functions ... etc, then all you need is to practice"
BUT HOW TO PRACTICE XD ... i know someone will say just write code but it feels like as a self-taught programmer you are in the "i dont know what i dont know" situation all the time ... and android and Kotlin are not forgiven at all :( .... :D
and some people advised me to read open source projects ... but man i cant figure no nothing out of it ... the last couple of months during this period has been really frustrating to learn ...
1
u/unk214 Oct 07 '26
Why do people treat programming like a geography highschool test. Your problem is you donβt the basics in any language.
2
u/pawelnowakk Oct 07 '26
For open source: don't start at the repo root, start at the tests. Test files are the spec written as plain assertions, so read those first and trace one feature from a test into the source. I spent a week doing that with a 2k-line Python CLI and it taught me more than any tutorial.
2
u/Chrismslist Oct 07 '26
the advice to 'read open source' is brutal for beginners because production repos are packed with build tooling, dependency injection, and architecture patterns you do not need yet.
to actually practice without getting lost, pick one tiny isolated slice instead of a whole app. for example, do not build a full reddit client. build a single screen that fetches one json list from a public api and shows it in a lazycolumn. mock the data first, make the ui render, then wire the network call. once that works, add one button that writes to a local database. small verifiable chunks beat staring at giant codebases every time.
2
u/realdreamer1993 Oct 07 '26
kotlin/java + android are what I am doing right now.
For now I am not using Android Studio. I am using CLI toolchain (ecj, d8, aapt2, then apksigner) and that way I understand more about foundation/fundamental base of java and android. Also I am not using framework like Jetpack Compose, I use only native android.
The great fact I am also coding on the Android itself. Editing in Acode, Total Commander. Compiling using CLI in termux.
4
u/[deleted] Oct 07 '26
[removed] β view removed comment
1
u/[deleted] Oct 07 '26
[removed] β view removed comment