Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "kotlin"
-
Android Developer job ads next week:
* +10 years of experience in Kotlin.
* +3 years developing enterprise level apps using Kotlin.10 -
Me: "oh its a new year, time to check out some shiny new languages"
Me: *finds kotlin*
Me:
Me: "what the fuck"29 -
At a busy restaurant.
Person 1: oh my God this man here is having a heart attack. Is there a doctor here?
Person 2: here's ten reasons why Kotlin is better than Java for Android development5 -
JetBrains released KotlinConf app
Backend made with Kotlin
Frontend made with Kotlin
Android made with Kotlin
AND GODDAMN IOS made with Kotlin!
Holy shit, that's awesome
https://github.com/JetBrains/...10 -
Yesteryear's me: What is up with this effin' catelyn-katelin-thingy? Yet another hipster language trying to dethrone Java. Yeah, right. And why does it sounds like my ex's name?
Today's me:6 -
Kotlin: I don't have ternary operator, it's bad for readability
Swift: I removed ++ and --, cause they are old fashioned
Dart: *screams*23 -
Function definition in various programming languages
//JavaScript/PHP
function myfunc()
{
}
//Swift
func myfunc()
{
}
//Kotlin
fun myfunc()
{
}
//Rust
fn myfunc()
{
}
//Next...
f myfunc()
{
}25 -
Google I/O: And now web add a new language to Android...
Me: Golang, golang, golang...
I/O: Kotlin!!!!!!!
Me: What?????? Another language?!?!12 -
Divorced Ruby (only thing she has is her beauty)
Married Java(powerful but hard to cope up with)
In love with Python (Powerful and beautiful)
Have a crush on Kotlin (She is something else, sadly she is Java's friend)
In an Affair with C# (Like java but easier to deal with)
😂😂
#Love gone wrong 😝
(Just a joke try to see the humor in it. Don't get offended 😂. Thank you. )10 -
Going back to Java after being writing code in Kotlin for a while feels like going back with your crazy, over reacting ex.3
-
Was practicing kotlin today.
After finishing a file I ran the clean the code thingy and it removed 137 semicolons.
Its gonna take some time getting used to not ending with ;5 -
I just started learning Kotlin for a week or two and suddenly Google announced Kotlin will be officially supported for Android development.
I'm excited.6 -
The joy of using Kotlin instead of Java :')
Though if I'm not mistaken they produce almost same out put :\ but writing kotlin is just time saving IMO22 -
Yahoo, Kotlin is the first class language for android. So no more fucking Java codes. No more 100 lines for basic configurations. No more null pointer exceptions.
Only beautiful code and fun.14 -
Things u truly HATE:
I'll start with mine
- JavaScript
- PHP
- XCode (I like Swift. It looks very much like Kotlin)
- PHP31 -
So I've decided to go about converting a Java project that I've been working on to Kotlin a little bit at a time. I started out with basic entity classes converting them to simple `data class`es in Kotlin.
Eventually, I got to my first beast of a class to refactor. This class had over 40 service classes depending on it, so even a little hiccup would throw everything into chaos.
I finish all of the changes on all of the dependent classes, update the tests, and the configurations (as necessary), and I was finally ready to spin up the app to test for any breaking changes I may have introduced...
Well - I broke everything! But I was sure I couldn't have! So what the hell happened?
Turns out that as I was building my project with a Gradle watch, at one point something failed to compile, which threw an unhandled exception in the gradle daemon that was never reported.
So when I tried to run my app, gradle would continually re-throw the error in the app I asked it to run...
After turning the daemon off and on again, the app worked like a charm.10 -
You know how cities hang all sorts of decorations wherever possible before Christmas? Well, it looks like people of Kekava, Latvia, are very big fans of Kotlin and find it's logo to be festive!
Good for them!7 -
When a hiring manager wants 5+ years experience in Kotlin.
Kotlin release date = February 15, 2016
😂👍🖕4 -
IntelliJ!! In my opinion its the best IDE for Java and Kotlin and it supports you to code better
And I got it for free because I'm a student :D4 -
Kotlin
All the languages have a basic objective in mind that shapes both the language and it's community:
for c/c++ was low level hardware access and performance, for Java OOP and learning; Kotlin was mostly made to make dev life easier and tries to anticipate what you want to do instead of forcing his patterns and tries to help you instead of punishing errors.
As a dev at least i feel a little more cared about and less left alone (especially in the ugly world of Java for Android)14 -
Kotlin! I recently transitioned to kotlin for Android Development and it's such an exciting journey!!!2
-
When I was first learning Kotlin, I was so excited about its simpleness and power compared to Java.1
-
Porting Java Code to Kotlin manually, just to get a better understanding of the language. Best thing so far, NO more Assertive Exception Handling.
Damnit Java, I know it for a fact that the damned thing won't throw an exception! There's Careful and Paranoid. KNOW THE DIFFERENCE5 -
Truth: You will regret not using Kotlin as soon as possible. Don't deprive yourself of pleasant development and productivity boost.5
-
While getting a pro in Kotlin, I started using
when(condition) {
true -> doOneThing()
false -> {
xyz = whatEver()
blaBla()
}
}
instead of simple if-else.
It looks nice but also distracting.
What is your opinion on that?
I guess most will be like:6 -
Intellij, Android Studio, PyCharm, ...
Because it looks the best for a full IDE (editors are another topic 😉). Especially with Kotlin:10 -
An easy to use, high level framework in Kotlin for front-end web-development. Allows for creating web apps without using HTML, CSS, or JavaScript.2
-
!rant
Got back into android development recently and while everything was pretty flawless ( I managed to get the basic concepts implemented in a day) something wasn't right.
For some reason I was not happy with the code i wrote, although I took examples from google and tried to adapt their code style. It looked aweful. I hated my code.
But the code itself wasn't the core of the problem. I could easily add new features and replace components with new implementations without breaking the app. All those "good code quality" identifiers were there.
Turn out the problem is Java. Or to be more specific: Java 1.6
Every listener which only calls a single function once a worker has finished needs 6 lines of code. If you implement the inferface in the class it gets messy once there are multiple workers and you have a generic interface. And there are no lambdas!
So I made the switch to Kotlin.
The app was converted to kotlin in 30 Minutes. Android studio can convert the classes automatically and very little manual work is needed afterwards.
After that I spent 2 hours replacing the old java concepts with Kotlin concepts: lamdas, non-nullable types, getters and setters in kotlin style (which in this case is c# style) and some other great thing.
The code is good looking now. I like it. I like kotlin as it has a lot of cool things.
Its super easy to learn. It took me about 2 hours to get into it. It combines concepts from java, javascript, c# and maybe a few other languages to form a modern jvm 1.6 compatible typesafe language.
Android dev is fun again!2 -
Oh boy, kotlin and its world of statics and lambdas are glorious 💗💗💗
I just finished this attendence counter app i have been working on for last 4 days.its quite simple so i tried to add as much constraints as possible:
-Good practices and minimal warningy
-Room database
-Viewmodel and livedata
-constraint layout
-everything in kotlin
Although i already have worked with room and livedata previously but i dont even have a hello world experience in kotlin . However it doesn't felt that bad tho for a newbie
Every code here is so small . Synthetic binding? Love at first sight.Although at some places its irritating , not having ?: Operator or its ugly 'when' logic, but overall its Awesome!!7 -
Still tryin to learn Java and suddenly appears Kotlin... I sometimes want to stop the frig world :'v5
-
Joining devRant.
Learning Kotlin.
Learning to dev, actually.
Being fascinated by software development. -
hi guys, i'm django developer and i wanna learn android.
should i choose kotlin over java?
how is job vacancies?22 -
Kotlin makes the development experience so much better. Humans are creatures of habit. Some don't want to change what they already know. RIP to those who still start their project in Java and do not want to adapt in this competitive world. :/8
-
Gotta love kotlin!
@osiris1337 the refactoring is going great
I had a 80 lines long model class with all the getters and setters and Parcelable interface implemented
and all of that converted to kotlin like this
@-psr another reason, small and readable code ^_^1 -
why did kotlin documents use these fucking idiotic font that combines 2 characters into one stupid looking icon? how is it friendly to a noob? how am i suppose to know how exactly am I suppose to input these piece of shit?21
-
Kotlin support on Android:
i never liked Java, not because of the language but for the usual bad design implementations and Android is one of those.
Then Kotlin arrived, it looked very promising but it's when i looked at Coroutines that it simply blew my mind:
you just have to write your code and the Kotlin's compliler "magic" will do most of the boring/complex stuff for you and it's even great performance wise!
I even refactored inter-process calls to simple sync functions with few like of code and for a non-android developer like me it's just love at first sight!3 -
I have to say, Kotlin is getting interesting now. At first i was like "WTF is this shit", but now im like "TF, did i just create a data class with 2 lines of code as opposed to the 14 i would have using JAVA? TF you've been Kotlin?"
-
Other dev: fuck you, your code can't handle null as input
Me: yeah, because it's kotlin. It's like I added @NotNull, so?...
Other dev: fuck kotlin
Me: fuck you and your nullpointers. Don't pass my precious constructor that crap!2 -
PEASANT POOR MAN'S TECH
* Python
* Java
* JavaScript
* Vue
* Golang
ENLIGHTENED ELITE TECH
* C#
* Kotlin
* TypeScript
* React
* C++25 -
People refusing to learn an improved programming language or technology, because it might contradict to what they "already know" and you're just there mastering it and appreciating its advantages that you will never learn if you had a closed mindset.4
-
I laughed waaay to hard at this. Anyone using kotlin? The language seems really nice, i currently develop with React Native if I can avoid java on android (too much to do too little) and was thinking about kotlin.2
-
"Change it so nobody notices you copied"
I think Kotlin logo was first, other icon it's just a random FB page/Website that IDGAF3 -
Just switched to Kotlin.. For the first like 10 minutes I was like "What is this shit?!" and then I found Java to Kotlin converter and docs. Yay! Looks like it´s not gonna be that hard to do some apps in it.. Hopefully4
-
!rant
Goodbye Java I will not miss you at all! I swear ...
I do like it when making web services (especially that I can use Java8) but for Android you have been a torture. Hello sweet Kotlin! I shall embrace you and treat you like my newly born baby!!
Story is:
Working on a new project where I need to talk to a web service (also made by me).
Started writing in Java, all is cool and unit tests pass.
Downloaded Android Studio 3 Beta 1 and converted my Java code to Kotlin, That AsyncTask did not look nice in kotlin, converted it to async & await feature and I must admit lots of code removed, no more need to create a new fucking AsyncTask every time the app sneezes for data!
I feel like I'm working with C# but with difference in syntax.
My life is now complete :)undefined java goodbye! am i drunk? koline: sorry i have a boyfriend hi there kotlin i shall not miss you what the fuck did i just use for a tag?8 -
Started a small personal Android project after 1 year of not coding android.
Create project -> hmm -> should i... try kotlin -> install plugin -> new project. This thing seems to have a much clear syntax, unexpected.3 -
Hey folks,
sadly i lost my old Account.
But now I'm back and currently learning kotlin
Hope yall doin good2 -
Having to write Swift and Kotlin for a while at work and now switching back to working on web technologies (for a different job), I would say JavaScript is ugly.4
-
Fuck it, I think I'm going full Kotlin.
Looks SO cute.
Any advice?
I'll use VSCode btw. Only VScode.9 -
Kotlin and mother tongue
In my mother tongue (my first language which is Kikuyu) we do not have the letter L in our alphabet thus meaning L and R to us is similar thus pronounced the same.
Then Kotlin makes life hard for devs who got a mother influence in their speech from my tribe. Was having a talk with fellow dev who is my tribe mate and we had an issue agreeing between val and var hehe.
We had to write it down to tell which is which.
Thankyou Kotlin for making my day.6 -
Stop sucking at competitive programming
Learn Android development with kotlin
Learn machine learning and apply it -
So today I decided to try out Kotlin on Android. Hacked up a little Textview-Button app. AMAZED with the little code.14
-
Question:
Kotlin?
Yes || No || Donno
Thinking about giving it a small touch but wanted to look on what others thoughts are.
Cheers ☕7 -
At the Android Developers under us:
Do you prefer the new Kotlin language or the good old Java? Because i'm currently learning Android Development with Java.
Would like to hear your opininion! :)5 -
Been watching The Lord of the Rings trilogy since yesterday for the third time in my life. I shed a tear at the end. That movie is as good today as it was 15 years ago. Awesome.
Now, to make this post relevant, im going to close VLC media player, open Android Studio and go on a Kotlin (which is becoming more and more like Gandalf the White) journey2 -
I used to be a Java fanboy.
After seeing the modern things one can do with other languages I am just disappointed, that Java is so old-fashioned.
Some would say "BUT IT HAS LAMBDAS".
Good, that we have lambdas. We don't have optional parameters or objects (like in JS's {} or PHP's stdClass).
JVM may have many advantages, but I think, that Java is slowly dying although it is kept alive by some companies, still using Java in prod.
I think, that Kotlin is, what Java should have been.
I hope, that my wishes will be implemented in Java 10. If not, Java is considered as dead.8 -
Why the heck would you allow (or need) nested block comments? Imo this is a major design flaw in the kotlin linter.
I always use /*... //*/ so I can remove the comment starter w/o having to remove the comment end, but kotlin just starts a second, nested comment there.
Java, C, Cpp, C#, JS,... Not one of these uses nested block comments. I think jetbrains was just lazy?
I mean, I know why such stuff happens. I also developed DSLs in MPS, but there sure are ways to go around such things..7 -
Those much extension functions in Kotlin...
Just tries a lot combinations and got reminded of the "Let it go"-Song4 -
Currently learning Kotlin, coming from Java. Just spent half an hour wondering wtf was wrong with
abstract fun add(E element)
Kill me2 -
Just looking at the basic syntax of Kotlin gives me half a chubby. hahaha
It is just so damn simple and sexy!
https://kotlinlang.org/docs/...2 -
Im learning kotlin but heres what i dont get..
is it a completely new language that uses jvm concept like java or is it a template over java with extra stuff like C++ and C.
when i import a library in kotlin that exists in the java sdk does it use that or all the libraries are made for kotlin.
is kotlin java++ basically or is it something completely different
sorry if its a dumb question still nee at this7 -
Is there a dev who knows a good webpage to get started with kotlin and spring?
I've searched a lot but can't really find something good. So I'd be very happy :)
Thank you7 -
Whenever I hear or see someone talking about Kotlin I immediately start thinking of Kotlets and Kebab and I get really hungry...11
-
Started playing around with Kotlin and holy shit! It feels like java and js had a baby, but it's actually not a brain-dead pile of crap and works well. I'm sold!
-
Really appreciating MVVM in android. It's doing wonders in my latest project as I double up on learning kotlin.2
-
Kotlin shortcut things a lot it gave me headache when I'm trying to figure out what's happening but I don't know why I still love that language2
-
Hi, so I want to get into Android App development.
I know the basics of Java and I have already written some simple apps with Java.
However I would like to get more serious with it and now I wonder if I should directly start writing apps in Kotlin or if I should write them in Java.8 -
rant, but !really.
Trying out this new Kotlin language. Pretty cool, except for...
val str: String = "what the fuck is this syntax?"6 -
our new cto is advocating to start migrating our existing and any upcoming new features from php to kotlin.
I tried looking into kotlin but it just doesnt feel nice to me. call me an idiot for actually enjoying php or java but i really dont feel like using something other than them.
i don't want to write Kotlin or Go or anything other than php or java which I already feel extremely comfortable with.
Maybe id love writing Rust even tho im new to it but anyway...i got too used to my comfort zone... and very few *new* things tend to interest me anymore.
whats wrong with me9 -
WTF Is wrong with Kotlin! Every fucking time I upgrade its Android Studio plugin i receive loads of errors about: Type mismatch: inferred type is FragmentActivity? but FragmentActivity was expected
for fucks sake bitch! Why the hell you keep on switching from optional to non optional on every fucking update, my commit history is full of this type of fixes -_-5 -
Hi everyone,
I'm a senior developer who wants to learn android development.
In your opinion, should I start with java or kotlin?38 -
Guys, What is the future of Kotlin? Is it a dead end? I mean many companies still use Java and google also released Dart for cross platform app development in previous years. Is there any point in learning Kotlin?18
-
I really hate people that don't document well their 'inventions'.
Let's take for example kotlinx.serialization library. It's a self-obvious fact that there are at least two things that will make anyone suffer: generics and polymorphism. So, they must be on the front page. Solved. With a recipe. Ready to use.
And what do we have? One mention somewhere in docs and an amazing test that 'explains' 'everything':
https://github.com/Kotlin/...
'What we got here is a failure to communicate.' (c)8 -
Just learned how to write a for loop in kotlin and I now want to burn Java to the ground. When I first learned for loops in Java my brain almost imploded.2
-
Started my first private App project using all the goodies of 2017 android development like TDD, Android architecture components (hence MVVM), kotlin (which I yet have to learn), RxJava2 (if I need it additionally to AAC) and maybe try to set up a CI environment.
Wish me luck guys and girls 😁 -
Question here - what do you guys think of Kotlin?
Do you also think it'll be sufficient to learn Kotlin and not java to programm for Android?
I just began the transition, it's fun playing around with it, but a friend of mine wants to learn Kotlin to learn Android programming (and not java, he only has java basics).
What's your opinion on all this?12 -
Haha, fuck you kotlin! and your null safety!
I was able to break it 😆
After reading about its syntax for over 2 weeks , i finally sat down to write a simple parsing app completely in kotlin. And now i don't know how, but i am able to store a null in a "val x:String" (i.e a non null variable)
I am not going to claim it as some miracle or discovery as some other ranters, it might be a mistake. I am just a 21 yo Android/java dev trying to re write my old ,tested java code to kotlin by myself, without any auto convert, in the middle of night when i am 99% asleep by brain.
I will try to raise an SO question with details, but all i used was a simple volley request returning heterogeneous data, a gson convertor and a single activity,
Right now i am buzzing off to my sleep11 -
Sometimes code is correct but so wrong. Came across this in a kotlin PR today
If (thing != null && thing!!.field != null) {2 -
This is first month Kotlin has entered Tiobe top 50 languages (at position 41) ❤️surpassing Clojure, Rust and others.
Way to go Kotlin.1 -
I'm learning Kotlin through a Udemy course and the course instructor has such an awful accent that it's often difficult to even understand what he's saying. When he says "string" it sounds like he's saying "sit ring." 😧
-
Just started learning Android with Kotlin and is really nice but why the hell the sintaxis has to be in some cases really weird 😲6
-
Is kotlin worth coding in? Or is plain Java better? There are many people here coding in kotlin what made you change to kotlin from Java or from anything else? Is there a specific reason? Speed? Stability? Anything? Is it worth using it instead of Java?9
-
C# devs go crazy once they found out that kotlin has got extension methods
and some other c#-like features
Just use Scala.
There's a reason books with titles like 'Scala for Java/C# refugees' exist3 -
Learning institutions move so slow. Kotlin and Swift are nowhere to be found in this mobile applications course.8
-
Got to love Google. This years IO 2018 has been one of my best. So many new tools for developers to become successful. Android & its new set of tools like Android Jetpack & the immense love Kotlin is receiving its gonna be an awesome year for Android programmers & Kotlin as a language.2
-
When i code in PHP. I forgot to type semicolon.
When i code in Kotlin I forgot that semicolon is not necessary.1 -
I decided I am going to get full into Minecraft modding. It will be an opportunity to learn Java and Kotlin. I want to explore some game ideas in a well defined sandbox.
Some things I want to explore.
1. AI that helps you build and survive. This fascinates me and seems like it could be a good challenge. I like the idea of learning how to separate structures into chunks. I think I will learn a bit about tree data structures here. Maybe learn something about BSP trees (if applicable).
2. The idea of an RPG quest system tacked onto a sandbox. I want to spawn structures and create non-repetitive story lines. Minecraft can be really desolate if you are not playing on a server. Worlds tend to be empty and devoid of story.
3. Maybe try a hand at terrain gen. This could be fun to explore entropy math. It is fun to draw things with math.
I am sure I will come up with other fun things to explore here.9 -
When u converted ur codebase to Kotlin all because you heard about it, but really have no idea what Kotlin is!5
-
For Java and Kotlin I use IntelliJ, for like config files and crap VsCode.
For C-ish languages Visual Studio Community 2019. -
"My code is explain itself. Well, I need no comments to understand it."
I don't care if you wan't to write comments or not; If don't write any then i don't care because fuck you and your code.
May it be java, kotlin, python, javascript or anyother language, you think "everyone can read", i hope you'll never find anyone who has to deal with you and your cancerous code.joke/meme the code explains itself explain code javascript cancerous readability fuck kotlin dealing with other people comments java7 -
I started to learn Kotlin today and am already confused:
Is there any difference between between Ant, Maven and Gradle?2 -
Why the fuck is gradle so horrible.
I literally have no idea why anyone would ever use this thing (other than being forced too because somehow the rest of the world is using it).
Every plugin has an arbitrary DSL that you have to magically know by piecing together enough snippets. At that point, no one is actually intuiting anything based on the beauty of the DSL, every build is a frankenstein of different snippets that were pasted from different versions of gradle blog posts or SO posts.
And if you do get it o work then the DSL changes, or it isn't compatible with another plugin.
I just want to write a fucking integration test in Kotlin. Can I just add an `integrationTest` task in `tasks` right next to `tasks.test`? No, obviously it goes in the `kotlin jvm() compilations` section, DUH.
The first thing anyone in the universe should have asked is "how is this better than literally hand writing a makefile"? At least then I would be able to see the commands that it ran.
Now I'm googling how to make the new jvm-test-suite plugin work when you're using the Kotlin plugin but every single result on Google for `jvm-test-suite kotlin` just returns the docs for jvm-test-suite (whose snippets obviously didn't work in my project) because those doc pages have "Kotlin" written above each of the gradle snippets.
Please just end this.
Oh and dev rant sucks too. It thinks anything separated by dots in a url.2 -
If I don't know Java and no plan to learning it how should i learn kotlin?
No experience with c or c++ either. No programming experience at all. Because HTML and CSS aren't programming so yeh. plan to learn JavaScript next month after my fucking exam.6 -
Can anyone point me to Android tutorials/resources using Kotlin? ( I don't know Java... Coming from iOS background)5
-
I was just clicking trough oracle's docs, on a page which had to do with manifest&sealing (kotlin/java)
-
Started learning Android development in Kotlin.
My first impressions:
- Kotlin is good, but class syntax is not very appealing
- Overall it seems to be quite easy, at least the basic stuff
- Android Studio is a fucking memory hog, RIP my RAM
- As good IntelliJ is as bad is Android Studio somehow
- Emulator seems to be really advanced which I like8 -
Hello everyone.
I recently started android app development and i wanted to ask if you code entirely in java/kotlin or use xml+java/kotlin ?
I feel like to get better i should code entirely in java/kotlin. Am i wrong?3 -
#kotlin
when you don't know whether you are writing code, or is it a comment.
doing #java for couple of years has its effects. -
I can't shift to kotlin because my company is fucking around on being on Java 7 (with retrolamdas *wink*), where it takes 10 minutes for a gradle build.1
-
I want to rewrite one of my projects (a password manager) from Go to Kotlin or Python.
Which one of the 2 should I choose?
I know nearly nothing about both.1 -
!rant
To Android developers who are employed, how's the industry with Kotlin? Are you guyz shifting to it or still stick to Java? And what are your thoughts about Kotlin future? Thanks.5 -
The Kotlin Koans tutorials are actually really helpful. This language feels really smooth; I like it. Now to actually make something with it...2
-
Although iv only been developing in android for around 7 months yet I fail to see the appeal of Kotlin.
It has no real advantage over Java. In my opinion its fucking lazy code. It might look pretty but that's about it. So I don't see why employers are opening their arseholes for people with Kotlin experience.
Im pretty sure they are doing it because its "the next big thing". If you can write solid Java I dont know what the big deal is.. Maybe someone can shed some light on this..
Android studio can convert Java to Kotlin with one click. So No Mr employer I do not see your reason why you employed someone over me because he has Kotlin experience. Its fucked!! So that project I handed you... the one where I had pride in my ability to apply solid Java... Yes remember fucking Java everyone?!... well it works exactly the fucking same and in my opinion is much more verified and readable. SOOOO FUCK YOUUUU MR EMPLOYER!!!!! Go FuckYourStupidLittleKotlinBumChumsRightInTheirShitRiddenFuckHoles!!!!!!
Rant over...3 -
So, I’m on interview 3 with a company looking to build a cross platform app.
They posed the question of what we should use to build it; React Native or Flutter? Or just go native with Swift and Kotlin individually? What’s your thoughts?
I’m really interested in this conversation.2 -
Git repositories? What is the best online for free
Android Studio + Kotlin
Hey guys
So, I'm thinking on starting programming again... slowly cause of Burn out
I'll be homesick now for a while and I want to start coding again.
I've been making Apps for Android in App Inventor, but now I want to make stuff that sincerely will be hard on a complete visual programming language.
So, I'll be starting to learn kotlin
My problem now is that I don't do any really programming for years, and most of my knowledge is from 1990's. I want to put my code in a git repository but GitHub doesn't have a free option and I can't spend money now, since I'll gain a lot less.
What are the best alternatives online, or tricks, like online VMs
thanks for the time11 -
I have been an android developer since long time, yet android migrate everything from Java to Kotlin
But am really worried to migrate everything from Java to Kotlin or begin this phase can you please help and tell me where is the best way to learn kotlin and get easily adapted3 -
My list of programming languages that started out promising but turned out to be bad:
* Scala
* Kotlin
* Rust
* Haxe
* Swift11 -
I handle multiple projects at a time... Sometimes I feel stupid to mess up the basic syntax of Kotlin and Java.
So I made a stupid mistake in my code like this. I wrote this in Java file
" val something : String = "value"; " (which this is a Kotlin syntax, without knowing that I am coding in a Java file not Kotlin!
Oh stupid me~3 -
Looks like Android studio's artificial java to kotlin converter learned faster to write better kotlin than my shitty brain :/
People from java background, where did you learned to write efficient kotlin code and how?
Where to learn how to write that famous "kotlin's super precise and small , ugly ass anonymous looking code full of keywords , that only work when arranged in a particular pattern and defies my all previous knowledge of oop , java and good practices " code?
I really wish to learn, since android and google seems to be heading towards this beautiful new shit1 -
Q: Has anyone heard anything about Google leaving Kotlin and Java behind to use C# for Android development?
I was talking to someone who told me this yesterday. Of course I dnt believe it, nor can I find anything on that BS he was feeding me.
That whole-ass 1 hour convo was BS from start to finish.
There was more crap said, but I’ll spear you all the details. I just need to know if this is even remotely true. I’m sure it’s not, but he’s convinced it is. 🙄13 -
Any Kotlin fans out here? What's your favourite feature?
To me: coroutines and the flow API. I can't wait for the state flow and shared flow APIs to be released. Goodbye Rx! It'll come probably in the next release, which might come in a week already, because then JetBrains (Kotlin developer) hosts their online alternative to KotlinConf.8 -
Holy shit, Kotlin does not have package-private?! I thought Kotlin was just a bad mix of JS syntax and Java... but not supporting an essential feature of the VM is on a whole another level of bad.8
-
Finally I introduce webpack to my kotlin beast... Say hello to react.. she is nice and pretty she will be best partner for you ..
I am developing my server side with kotlin and spring I needed some robust js for the fronted so I added react.. -
The most fun I ever had coding was when I first discovered Kotlin. After using java for most of the time I've been programming, Kotlin felt like a godsend. When working on converting one of my old projects, I was amazed by the reduced verbosity and just how clean it felt.
To any devs that still use java at all, do yourself a favour and take a look at Kotlin (kotlinlang.org)1 -
How can you learn a lot of things?
i'm trying to learn kotlin and i think i'm forgetting python.
is it happens to you?
or i'm stupid?9 -
I am starting to get a hang of kotlin at last.
But its gives such a weird feeling. all these years i was writing great code that could lift mountains without failing. And now this language comes in, says "fuck you, we must prevent null and make everything static/final asap!!"
Like static inner classes? Why would we even want them? Well the lady says am wrong, am wrong. -
Where can I find a well paid junior Android Kotlin position?
I've been working in Switzerland for nearly 3 years now. I earned 72,000 (CHF) the first year, 78,000 the second year and now I've reached 86,400 at my current job. I quit this job and with the new job I'll be earning 96,000 after a 3 months trial period in which I'll earn the same as I earn now. I see a lot of Java jobs with Spring Boot and Angular but I'd really like to work with Android and Kotlin, I applied to Element.io and got rejected so I think I might need to apply as a junior Kotlin developer even though I have quite some experience.
I'm not sure where I could look for Kotlin jobs and if it's possible to not deviate too far from my current salary, I'm not sure which country and I'm not sure which platform I could use.
I've tried some stuff on LinkedIn and Indeed and others and I've tried in Switzerland, Israel and the US since I speak English and Hebrew natively and German fluently.
P.s. I know that you're all going to say that the expenses in Switzerland are higher, but I'm very frugal and this doesn't apply to me that much. I still earn a lot more than I would earn in Germany for example and I really don't want to earn 10,000 less...
Here's my CV if you're curious 😉
Https://chagai.website/cv.pdf
Thanks for reading up to here and I'll be very glad to get any feedback 🙏
Also I posted this on hacker news and I'd appreciate if you up vote it there so I get some attention 🙈
https://news.ycombinator.com/item/...2 -
Kotlin
Look up the Kotlin Puzzlers presentations by Anton Keks, in which he shows the strangest behaviours of the Kotlin compiler. Bizarre syntax, strange results, bugs, etc. Some aren't even edge cases. And he's wearing a captain's hat.
2017: https://youtu.be/ukwVzLq_pHk
2018: https://youtu.be/Xq9vBZs0j-8
2019: https://youtu.be/_AM5VbPTKeg -
anyone done anything cool I can look at with a Kotlin Multiplatform project? just read about it and it looks really interesting.1
-
Looking into Kotlin, and it seems pretty cool, but I just can't get over how unnatural and annoying the mapOf syntax is.
In JavaScript: const obj = { a: 1, b: { c: 3, d: 4 } }
In Kotlin: val obj = mapOf("a" to 1, "b" to mapOf("c" to 3, "d" to 4))5 -
!rant
Should I learn golang or kotlin?
At this point all I know is they're 2 up and coming languages... Maybe2 -
Boss wants Kotlin for all projects.
Reason : he like its. (Basically hyped by other developers or meetings)
I hate Java and itz other shitz12 -
Don't know if Kotlin is actually a lang for the future or again some hipe-shit.
Tried some tutorials, and I reeeaaally liked it.
Any toughts?3 -
Why do developers out there think java is a write off just because of kotlin's existence? Java isn't going anywhere fam, you know how large the community of Java programmers is? You'll hardly find stackoverflow answers written in kotlin. Kotlin is the official language just as c# is for Microsoft but that doesn't stop anyone from writing windows software with java. Stop scaring potential java programmers with "ANDroId iS rOotiNG For kotlIN" for fucks sake.3
-
why is kotlin picking up so much hype is it actually completely stable now? Would it be better to develop android apps in kotlin rather than Java for my next app? Is java going to become obsolete/deprecated for android?1
-
I recently started learning Android development with Java, but now I'm confused if I should learn kotlin as well. What do you guys think? Kotlin > Java?4
-
Okay so kotlin is basically just scala with some of the features removed and nobody can change my mind.1
-
"Learning" kotlin for android dev has been a wild ride yet. Kotlin is kinda cool, a mix between python and Java but with many nice features. Then again there are kotlin features on which I just scratch my head like data classes and companion objects.
And then for android (not kotlin specific) I see things like calling Timepicker(...) or Timepicker Dialog(...) without assigning it to a variable and wonder how that can even work. Can someone explain? There's no creation method, static method or anything?
I feel like a competent and incompetent dev at the same time.3 -
I've taken an interest in Android development and have discovered the existence of Flutter a while back. The thing is, I'm midway into learning Kotlin. Should I stick with it for now and then consider Flutter after I've learned the ropes of Android development or should I consider it now? I know I'll have to learn Dart which is different from Kotlin.4
-
I recently performed a huge refactoring effort on a Java project converting both the persistence and utility layers to Kotlin. Gotta say, I think I'm starting to fall in love with programming again!
Putting aside how pretty it is now, I've reduced those two layers by over 2400 lines of code -
I just noticed something, I wanted to test out flutter so I decided to make a basic Todo application.
I made a Todo app with flutter and Kotlin and what I discovered was that. Flutter apps are very large.
A Kotlin Todo app had a size of less than 25mb while a Flutter Todo app had 60mb. And I didn't use too much design.6 -
What do you think about developing apps for both IOS and Android in Flutter? Should I give it a try switching some weeks from Kotlin (in Android)?7
-
So i have learn android studio course (kotlin) for the basic.I've been practicing for some things, like recyclerview, ViewModel, bottomsheet, fragment, nav view,Firebase auth, intent and some other basic stuff.right now I'm confused what to do next, if it continues I don't know what to learn next, I know there's still a lot of things to learn, it's just that I don't know what it is, I'm trying to find out what apps a beginner should make like me, but most of the suggestions are still far from my abilities, such as making a calculator. So can you give a little advice to beginners like me, thanks6
-
!rant
Just learned that Kotlin has extension properties to go along with its extension functions. Anything else I'm missing?1 -
prediction question: how long do you think until JavaScript goes away, and what language do you think will replace it as the de facto web language? I know Dart is aiming to fill that niche, as well as even Kotlin/JS and/or Kotlin/WebAssembly7
-
Why do people keep saying "kotlin is null safe, oh my god it's so safe, you don't have to worry about null's...". when all you have to do is add a question mark and BAM null-city!12
-
I finally created a kotlin android app for a simple project idea, just personal usage. Beginner level. Quite a good and bad experience.
Functionality is done, just sucks with UI, as I'm not proficient enough with styling on android.
The result is a predefined purple action bar at the top, an almost white text section right below it with *very* light-grey textview descriptions (you can guess how visible they are on my phone...). Center is a big recyclerview, which in android studio has white background with dark grey text items, yet is black on my phone with white text items. At the bottom 3 text inputs and a centered purple "add" button.
... It's a mess as long as you don't know how to design and style on android studio.2 -
1. More App-Development
2. Get more Clients
3. Learn something like Python or Kotlin
4. Bake a cake 🔥4 -
hey guys
what's main difference between cross-platform and multi-platform?
and whats main difference between kotlin multiplatform and ReactNative?
i am familiar with both kotlin and NodeJS, What is your suggestion for build a app for ios and android?6 -
Plans:
Learn Rust and C++
Trying out the new K2 Compiler and probably ditching java for kotlin because kotlin is java
might invest in cryptocurrency
My friend almost tricked me into running an exe that deletes all your files all because he tried to decompile the js file i sent him as a joke ;-;6 -
Tips for learning 2 languages at once? I'm learning Java in school, and I'd like to learn Kotlin as well. I know they're similar, so my main concern is just mismatching syntax.4
-
We are probably going to see even more kotlin. That's something, right? The dev future can't be all bleak ^^1
-
Can someone please explain the benefits of this in Kotlin:
var x = if(a !=b) {
z
}else{
y
}
Even for a conditions with one line body it looks bad in reading and getting a clue of what does this do.
I mean whats wrong with:
var x: MyObject
if(a!=b){
x = y
}else{
x = z
}
Even in switch cases (or as kotlin calls: when) True one return source, but now good luck finding the last line that is the actual returned value ...15 -
what kind of sorcery is this? how am i suppose to call this class( or whatever it is)'s functions?4
-
I'm proficient in Java,decent in c, and started and ultimately hated html/css I'm thinking of learning Kotlin, worth it?5
-
I've been learning android app development using kotlin/java for about 4 months, and i think i'm pretty good with kotlin/java, i've learned a lot of things related to android development, i've cloned netflix,spotify and made streaming apps with firebase as the backend, and I think I understand using firebase quite well because firebase itself is not difficult to use. Is it for my current skills that I deserve to work as a freelancer or do I still have to improve my skills?if it yes,give me an example of what kind of application I should do to improve my skills again!,I've read the android studio docs what to know and I've studied everything even though I sometimes forget how to make this/make that but I understand the logic quite well ok, please help7
-
Hi!
Speaking of cross platform mobile development, what is your go-to tool and why? Kotlin KMM or flutter?
(I am excluding react native cause I already used it so I have a bit of a grasp of what the pro and cons may be)8 -
For interested developers in kotlin:
Kotlin 1.4 Online Event, October 12–15, 2020
Four days of deep diving into the technologies behind Kotlin’s latest release with Q&A sessions and 1-to-1 booths. https://kotlinlang.org/lp/event-14/ -
FFS Kotlin, did you completely forget to mention how to create an object in js or did you seriously not think about the usage of the `new` operator when writing that compiler.
I just wanted to use that glorious when statement for my discord bot. Not to mention that retarded tutorial with incredible gaps and cyclic references and now this. -
Why oh why, why does my project not work... 2 hours later, "Oh Damn, I forgot a semicolon. That's it, I'm switching to Kotlin."1
-
everytime i try to learn kotlin, i can only think WTF is happening, why should it be happening?
after wasting last 4 hours, i came to this conclusion table regarding kotlin var and val notation.
And now my fucking compiler is saying that i can rather write :
val x:Int
and initialize it later, when i thought val is immutable and must be initialized at the beginning only(like public static final int x =5)
Who the fuck are those people that like this stupid language? why would you say some variable as immutable(meaning which can be changed 0 Times "ONCE" ASSIGNED A VALUE ) and when i can create a program with a variable that never got ASSIGNED A VALUE EVEN ONCE??10 -
Jetbrains shoot them self in the lag with taken fun as function keyword in kotlin #memesWillCome.
Don't blame me i love kotlin!
I even convinced my boss that we should continue in kotlin.2 -
Alright members of the underground, voodoo community called ''computer science''.
I am done with my environment's subjective, limited POV and i'm here to ask the holy council of DevRant a simple question.
I'd hate to call it a thread but i'm secretly thumbs upping for it.
Alright, genies of the lamp, i ask of you the answer to "React-native vs Kotlin vs Xamarin" with a follow-up question of "which to consider continuing woth if I tried all of them, don't have any preferences, and don't know what kind of projects i'm going to work on?"4 -
I feel that it's better to develop in Kotlin, for android, as a beginner, given the recent announcement.
Any other suggestions?12 -
Hey I am just curious, do you think is there any good reason to stick to Java now that Google officially supports kotlin?
Thanks1 -
In Kotlin or Java, I have a list of items that have an ID property. This list is generated based on another list. Now I get a List of mentioned list items and I want to select all items in the parent list, selecting by ID equality.
Is there a more elegant way than just iterating the parent lost for each derived item? Thank you :)5 -
I recently started learning Kotlin and while I like it a lot already I find it to be a really strange language at the same time. This is coming from someone mostly doing numeric stuff in Python (for my PhD) and Android development in Java (my personal side project, which I'm currently rewriting in Kotlin).
-
I have a little ask for you guys, If you need to start a Java project, Will you use kotlin or Just Java? I'm a little confused with this choice, so i need more visions19
-
sort of an update on my midterm project read my last rant to catch up.
Progress so far has been absolutely phenomenal I have a sign up and login page, a profile page, home page, and can post to the app now in real time. for my first time using Kotlin I'm insanely surprised at what I've accomplished so far.1 -
Is kotlin viable? I feel like I could just suffice with using either Java or JavaScript depending on the situation at hand... :/1
-
Begin to hate Java, moving to kotlin soon . For android development at least with Jetpack compose. Java is deprecated in almost every API.
-
Java, Scala, Groovy, Kotlin or Closure? Which do you prefer?
If not Java from those above, can you give an example why?
I'm curious what you guys like. If you're not interested in Java, please stay away, it's not about C++ or any other fancy language.13 -
Anyone ever try Tomcat debugging in VS Code? Specifically with Kotlin? I'm starting to get real fed up with IntelliJ tbh... it keeps screwing up when I have a multi-project/module workspace.
-
I have been doing android dev for quite a time now and have started to understand/appreciate a few things that I previously hated (Like Kotlin) . so am not sure where would be my stance regarding this rant in upcoming months, but FUCK DEPENDENCY INJECTION FRAMEWORKS!!
dependency injection is rightly said to be a $25 term for a 25 cents concept. If i start refactoring my old apps today to "follow DI principles", they would require just 5-10% refactoring and i will end up with much more testable code.
But integrating dagger in my apps? Oh please fuck me straight instead. That thing is so overly complicated and confusing. Why would you trust compiler to inject instances in YOUR LOGIC ? it was YOUR LOGIC that guided the compiler, remember?
I am yet to work on a product of scale where frameworks like dagger or koin made even a slightest of sense.
Currently it just feels like another bad choice we took between "simple but verbose" and "complicated but pretty to look at"
The way this framework makes me think like a compiler than a programmer somehow reminds me of this beautiful article i read:
https://theatlantic.com/technology/...3 -
Hey, I have a question concerning the use of jpa annotations in a kotlin multiplatform project and how to organize shared data classes.
I already posted the question on stackoverflow: https://stackoverflow.com/questions...
I would appreciate every help :) -
I've just joined a new company out of despair after several month out of jobs without being able to even get interviews.
I've been warned about the code being a bit behind with modern Android stack, they needed to migrate from rx to coroutine and compose is not a priority at the moment.
Fine with it, I like handling and planning migration, that's a nice challenge.
But if only that were the only problems !! Far from it, the code is a formidable mess, I've never seen so much amateurism... Most of it was written from the previous Lead Dev who stayed there for years and touched everything with their very bad practices.
I don't even know where to start honestly...
While the code is in Kotlin, it stink Java. Nothing wrong about Java, but if you code in kotlin, you need to understand what kotlin try to achieve. And that's not the case here. There is freaking nullable everywhere, for no reason at all, the data classes contains lot of var in their constructors, equals are override to compare only one or 2 params and no hashcode override with it.
Sealed class, what for ?! Let me just write a List<Pair<Enum, Any>> and cast your any depending on the enum !
Oh and you know what, let's cast everywhere, no check, and for once no null safe, there is enough nullable in the code !
What about the reactive part ? well let's recreate a kind of broken eventbus with rx ! Cause why not ?!
The viewmodel observable don't contain data, they just contain enum for the progress of the states we're checking.
In the viewmodel function we update that enum states and emit it to be observed and make the data available as a var for the view to pick it up when needed.
But why put the business logic in the viewmodel, let's put in the views, and grab and check the variable contain in the viewmodel whenever it fits.
Testing the business logic ? uh let me just test my variable initialisation in the viewmodel instead.
The vm, the views, make about 2000 lines, the test over 3000, and not a single test really test the business logic in it ! I've made big refactoring we're all the tests stayed green, while the function are full of side effects ! WTF ?!
Oh and what about that migration from rx to coroutine ? well better not break the existing code and continue writting like rx, everything is cold flow ! We just need to store a boolean saying if we already did our call to the data layer then we decide to start our flow or not.
As for the RecyclerView, having too many viewHolder is just so annoying, let's put all our different views in one, and hide what we don't need.
Keystore has been push on the repo, but it's private no ? So who cares ?!
And wait i'm not done ! Some of the main brick of the apps depends on library that hasn't been updated for years, and you know what... yes they were hosted on Jcenter and it's only now that they decide to do something about it, we we're warned about the sunset of jcenter 2 years ago !!!!
So what about compose ? What do you want with compose ?! there is no design system in that app obviously, so don't even think about it !
And there... among all of that mess, I'm supposed to do code review... how the fuck do you do a code review when all the code that is around stink ?!
And there is so much more but by now I'm afraid you're thinking i'm just pissing on the old code like everyone... but damn I guarantee, that's the worst code I've ever seen, and i've work on more than 15 app from small to big on different contract with a lot of legacy code, but nothing that bad !1 -
Wait someone said Java is going downhill and new projects aren't really made in Java anymore outside of Android? The fuck I'm just learning Java. Granted I really am learning it because I want to make stuff for Android but again wtf? Will this become its only use at some point til Kotlin takes over?3
-
I just got to college and can do web dev fairly well (Mern stack mostly). But tbh I am now more interested in being an app developer. Should I try to learn React Native/Flutter or Kotlin/Swiftquestion kotlin java android kotlin google app development ios development android development app swift apple3
-
Android Studio 3.2b4 once again regressed on "No tests found" bug for Kotlin projects.
I guess someone at big G decided to "comment out failing tests for now and come back to it before the release"
I feel like this rant should be riddled with profanity but at this point I'm not even angry just very disappointed 😥 -
Does anyone have experience with using Kotlin as a front end language? Seems to have excellent JS interop and I really don't want to deal with the garbage fire that is JS or TS 😬5
-
I tried Kotlin for a week. And I literally gave up. Hey, fellow Kotlin devs, what fun do you get in writing this short f**king syntactically unmatched java code!5
-
Is there a way to test an android app made in android studio via Kotlin without emulator or an android phone?14
-
Hey Kotlin users. Do you use Kotlin for Android, or for non-Android stuff? If both, then answer Android. I'm interested to see how many non Android Kotlin devs we have here.2
-
Thought I'd give kotlin spring boot a shot. I assumed it would work out of the box like with java. It didn't. Apparently with jdk 17 I chose an incompatible version with the gradle version provided. Downgrade gradle. 'runApplication()' still marked with an error, which I cannot seem to solve. Answers from the internet are no solution.
But I can run the project ... but I cannot reach my dummy address, same with maven ... wtf, which part of rtfm did I miss? Wasn't kotlin supposed to be the better java?3 -
I would like to learn how to make a mobile app, but I do not know what to choose. Some say java, some say kotlin, then some react native and some flutter. I just wanted to ask for advice. And btw Laravel, Js, Jquery, Ajax and Cordova Apache are all I know so far.6
-
How does Kotlin compare to Java? Got experience / opinions worth sharing about them?
Always wanted to make some android apps as hobby but Java was grossing me out.4 -
All went crazy when Google announced that Android would support Kotlin ... but that is not new, and that takes a while being so
-
Lack of free resources for learning Kotlin for Android held me back a little. But I gotta continue.2
-
Has anyone got experience in android development with both kotlin and java?
I am want to know if there are big differences if I migrate to kotlin. I have started learning Kotlin and it is unbelievable great so far. -
Hey guys,
I want to learn Android development with Kotlin. I have no prior experience with either technology. Where should I start?5 -
I am participating in LeetCode challenge for April and May month. I thought :thinking_face: it would be a great help for every Kotlin developer to share LeetCode challenge solution in Kotlin. I am looking forward your help to optimize the current code or suggest me better approach. I will keep updating the repository on daily basis as challenge goes on.
https://github.com/manishandroid/...
https://github.com/manishandroid/... -
i can never understand the theme behind kotlin.
THEY DON'T HAVE A FUCKING TERNARY OPERATOR!!![?:]
Like before realizing this, i thought yeah jetbrains has decided to make android development a privileged hobby and non beginner friendly , so its now creating an encoding like language, in the false theme of " reducing code size"
But now they remove WORLDWIDE KNOWN, OPTIMIZED , EASY TO READ AND USE AND UNDERSTAND FEATURE of ternary operator and replacing it with less powerful but same looking elvis operator.( and stating that using if else for that is a better option)
Like why? if your goal is to make a shitty encoding language that makes everything shorter and most of the things optional, why remove the already efficient if else encoder?
God knows when this stupid language is going to stop my brain from getting blasted11 -
Java or kotlin for android mobile development ? And why ? I am still not convinced by kotlin at least just by myself but is it worth it ?8
-
“Here is an example for Kotlin programming language to develop Android app!” https://medium.com/@myinnos/...
-
Is Kotlin the new hype? Should I go for java 8 or kotlin for development of android app? Also does anyone know any good course for ui/ux development(I am a backend developer)
-
Seems like spring boot kotlin doesn't want to cooperate in any way. Tried to set up a backend with it, but it keeps showing an error regarding wrong jvm-target. The project runs nevertheless. I changed the maven settings according to the docs, but no change. Whatever, still runs. However a newly created "hello world" rest endpoint just doesn't work, even following a beginner tutorial. localhost:8080/hello ... error fallback page.
I really wanted to give kotlin a try. Doing the same with java, instantly working.
Fuck spring boot kotlin. Or fuck me for not knowing how to handle it.5 -
Any Kotlin or Java developer that knows how to delete files from SD-card in mobile devices. I have been battling this for over a week now3
-
Does anyone here have experience with Kotlin?
I'm 100% JavaScript/web development for the moment but I consider trying to write some native Android apps earlier or later and heard some good things about Kotlin (language developed by the guys from IntelliJ afaik), which is supported natively by Android.
Soooo, how does it hold up?