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.9 -
iOS Programming:
something.openCamera()
DONE!
—-
Android Programming:
val jobProcessorHandler = FuckingBuilder.something().inject().whatTheFuck()
val cameraDecoderFuck = Camera(CodePackFuck.shit, jobProcessorHandler)
CRASH!30 -
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 -
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 -
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*24 -
Function definition in various programming languages
//JavaScript/PHP
function myfunc()
{
}
//Swift
func myfunc()
{
}
//Kotlin
fun myfunc()
{
}
//Rust
fn myfunc()
{
}
//Next...
f myfunc()
{
}26 -
Going back to Java after being writing code in Kotlin for a while feels like going back with your crazy, over reacting ex.3
-
Google I/O: And now web add a new language to Android...
Me: Golang, golang, golang...
I/O: Kotlin!!!!!!!
Me: What?????? Another language?!?!14 -
*Adds new dependency*
Me: *Pray while syncing*
*Gradle project sync in progress*
*Gradle build finished in 9s 211ms*
Me: Thank you, Lord5 -
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. )11 -
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 -
I've caught the efficiency bug.
I recently started a minimum wage job to get my life back in order after a failed 2 year project (post mortem: next time bring more cash for a longer runway)
I've noticed this thing I do at every job, where I see inefficiency and I think "how can I use technology to automate myself out of this job?"
My first ever application was in C++ for college (a BASIC interpreter) and it's been so long I've since forgotten the language.
But after a while every language starts to look like every other language, and you start to wonder if maybe the reason you never seriously went anywhere as a programmer was because you never really were cut out for it.
Code monkey, sure. Programmer? Dunno, maybe I just suffer from imposter syndrome.
So a few years back I worked at a retail chain. Nothing as big as walmart, but they have well over 10k store locations. They had two IBM handscanners per store, old grungy ugly things, and one of these machines would inevitably be broken, lost or in need of upgrade/replacement about once a year, per location. District manager, who I hit it off with, and made a point of building report with, told me they were paying something like $1500 a piece.
After a programming dry spell, I picked up 'coding' with MIT app inventor. Built a 'mostly complete' inventory management app over the course of a month, and waited for the right time.
The day of a big store audit, (and the day before a multi-regional meeting), I made sure I was in-store at the same time as my district manager, so he could 'stumble upon' me working, scanning in and pricing items into the app.
Naturally he asked about it, and I had the numbers, the print outs, and the app itself to show him. He seemed impressed by what amounted to a code monkeys 'non-code' solution for a problem they had.
Long story short, he does what I expected, runs it by the other regionals and middle executives at the meeting, and six months later they had invested in a full blown in house app, cutting IBM out of the mix I presume.
From what I understand they now use the app throughout the entire store chain.
So if you work at IBM, sorry, that contract you lost for handscanners at 10k+ stores? Yeah that was my fault (and MIT app inventor).
They say software is 'eating the world' but it really goes to show, for a lot of 'almost coders' and 'code monkeys' half our problem is dealing with setup and platform boilerplate. I think in the future that a lot of jobs are either going to be created or destroyed thanks to better 'low code' solutions, and it seems to be a big potential future market.
In the mean while I've realized, while working on side projects, that maybe I can do this after all, and taken up Kotlin. I want to do a couple of apps for efficiency and store tracking at my current employer to see if I'm capable and not just an mit app-inventor codemonkey after all.
I'm hoping, by demonstrating what I can do, I can use that as a springboard into an internal programming position at my current gig (which seems to be a company thats moving towards a more tech oriented approach to efficiency and management). Also watching money walk out the door due to inefficiency kinda pisses me off, and the thought of fixing those issues sounds really interesting. At the end of the day I just like learning new technologies, and maybe this is all just an excuse to pick up something new after spending so long on less serious work.
I still have a ways to go, but the prospect of working on B2B, and being able to offer technological solutions to common and recurring business needs excites the hell out of me..as cringy and over-repeated as that may sound.5 -
Introducing the first (open source) devRant Discord Bot.
Current Features:
- Bot specific permissions
- devrant@<devRant username>
- devrant#<devRant randId>
- !help (Help command)
More features will come soon!
https://github.com/tankerkiller125/...5 -
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.15 -
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!9 -
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 -
Kotlin! I recently transitioned to kotlin for Android Development and it's such an exciting journey!!!3
-
When a hiring manager wants 5+ years experience in Kotlin.
Kotlin release date = February 15, 2016
😂👍🖕4 -
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 -
When you really want to forget java for a lifetime and uninstall it but you find a java implementation of something you've been looking for hours.5
-
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 :D5 -
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 -
Went to Google Firebase Appfest
Made an App
Selected in the Top 3
Worked on the app further for 1 Month
Published it in the Play Store
Here is the Link-
Fling! Contact Share
Information Sharing Made Easier
Here's the Link-
https://play.google.com/store/apps/...4 -
!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
-
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
-
I will never forget that screenshot of a corrupt jar file viewed in 7-Zip containing something with a compressed size of 19 bytes, which would result in more than 1 TB uncompressed
Things like these are why I'm still breathing12 -
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?"
-
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. :/9
-
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 -
Hi devs.
Is kotlin is worth trying? I'm a android developer and I used Java for creating my application. Maybe you can give my some advise.9 -
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!2 -
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 -
Today I was trying to convince a colleague that:
fun example(){
if(thing){
//Do something
}
}
Is stupid because it should be
fun example() {
if (thing) {
//Do something
}
}
It's the small things that are the most frustrating17 -
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
-
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 -
Such variable names
much helpful
very wow!
Either I need to download sdk source code for var names to show up correctly or I need to memorize which is for what :\9 -
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 -
!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 -
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
-
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
-
So today I decided to try out Kotlin on Android. Hacked up a little Textview-Button app. AMAZED with the little code.14
-
I hate how the IOS developer of our team gets all the recognition for an app we made just because the manager has a bloody iPhone, even though I did the entire backend and Android app.1
-
Question:
Kotlin?
Yes || No || Donno
Thinking about giving it a small touch but wanted to look on what others thoughts are.
Cheers ☕7 -
Cocktail for disaster:
- TDD
- Mocking
- Multithreading
- Averagely well written, testable code
- All tests pass
- One test methods still shows some vague stacktrace in a worker thread ❌ but the test passes ✅
- Run only that test method and no stacktrace.
So I've been pulling my hair for the last two days trying to figure out what was throwing in that test method. Turns out that thanks to the multithreading going on, some other, similar method threw the exception in parallel. And apparently a different test method was already running when the exception was finally caught.
🖕
When I discovered that, it was fixed in a minute. 😭1 -
Those much extension functions in Kotlin...
Just tries a lot combinations and got reminded of the "Let it go"-Song4 -
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 -
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 -
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 -
Whenever I hear or see someone talking about Kotlin I immediately start thinking of Kotlets and Kebab and I get really hungry...11
-
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 -
I'm about to lose my freaking mind on intellij. Ran my tests yesterday and everything was good. I added a new method and a new test case today and suddenly no tests are found. Well they didn't go anywhere!! "Class not found, empty test suite" ... Lies! I've been messing with configurations for over an hour now. I just want to run my tests...1
-
Currently learning Kotlin, coming from Java. Just spent half an hour wondering wtf was wrong with
abstract fun add(E element)
Kill me2 -
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 -
I want to learn a new programming language. What should I learn? I am torn between Kotling, Go and Scala.
Or should I just learn a new JS framework? ;)20 -
Am I the only person that thinks Kotlin is entirely useless and will only lead to harder-to-maintain codebases in the future?
God, I was unimpressed when they announced that. Pretty sweet announcements apart from this one, though.13 -
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 -
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 -
Because almost all the answers from stackoverflow are still optimum, even if it's 7 year old code, all it needs is some good ol' spit shine refactoring
-
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)9 -
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 -
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
-
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!
-
I am developing a REST api for my android app using laravel.I want to implement web to mobile chat like Facebook's messenger.Any suggestions?13
-
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 😁 -
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 -
rant, but !really.
Trying out this new Kotlin language. Pretty cool, except for...
val str: String = "what the fuck is this syntax?"6 -
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?17
-
Hi everyone,
I'm a senior developer who wants to learn android development.
In your opinion, should I start with java or kotlin?41 -
When i code in PHP. I forgot to type semicolon.
When i code in Kotlin I forgot that semicolon is not necessary.1 -
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
-
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...4 -
This is first month Kotlin has entered Tiobe top 50 languages (at position 41) ❤️surpassing Clojure, Rust and others.
Way to go Kotlin.1 -
Hello everyone!! This is my first rant so I'm not sure what the protocol is.
I just wrote my first ever Medium Post on Dynamic Theming in Android.
Just wanted to share it with you all.
https://medium.com/@nihitb06.dev/...
Any constructive criticism is welcome. -
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 -
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
-
Started making an Android app for the first time a few days ago and wanted a button in a fragment to trigger a function. Easy enough right? Well not for me...
-Thought if the button is in fragment_xyz.xml the function should be in xyz.kt right?
-Wrote the function and told the button to run it when clicked.
-Tested the button and the app crahsed.
-Spent 3+ hours trying to find the bug.
-Eh fuck it might as well copy paste it from the fragments file to the action the viewpager showing the fragment is on.
-Works perfectly fine first try.
-😑
I spent three fucking hours googling that and trying to debug that while I could have been doing so much more on ither parts of the app...
I mean at least I know now for the future? -
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.7 -
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
-
The Kotlin Koans tutorials are actually really helpful. This language feels really smooth; I like it. Now to actually make something with it...2
-
When u converted ur codebase to Kotlin all because you heard about it, but really have no idea what Kotlin is!5
-
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 -
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
-
"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 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 -
I was just clicking trough oracle's docs, on a page which had to do with manifest&sealing (kotlin/java)
-
#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. -
Word of advice:
Whenever you plan you invest a considerable amount of time in learning a new language make sure that its well documented and has a good support.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 -
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 -
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 -
Can anyone point me to Android tutorials/resources using Kotlin? ( I don't know Java... Coming from iOS background)5
-
I started to learn Kotlin today and am already confused:
Is there any difference between between Ant, Maven and Gradle?2 -
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 like9 -
I wonder if Google released Flutter because they can't let Facebook have all the fun with react native. Or maybe they did it because they had fushia os in mind for a loooong time. Or maybe because they realized that the android api is overly complicated and the Dart way is easier. Or maybe they did it for the lolz.
-
Learning Android dev recently, everything is going quite well but damn, I'm stuggling with those recycler views.. any tips?6
-
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 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. -
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 -
Why are devs at google making it hard for android developers? They release libraries so frequently and completely overhaul everything. It was fine till a limit. Now again they are releasing jetpack compose which is a completely new thing. I don't have problem learning new things but the rate at which they release new stuff is far swift than other frameworks. For example they release a new dependency injection hilt while recruiters still look for dagger 2. Android is just getting overwhelming. What are your thoughts?6
-
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 -
Situation: I'm a junior, working at company X since about the start of this year. We have a mixed team of native Android and native iOS developers. The architectural design decision was to build a separate iOS and a separate Android app.
Recently, during a problem solve session with other teams, other developers were complaining: why not use React Native, why not use Xamarin, why not use PhoneGap.
I'm so sick of this shit, if you have your users in mind, if you care about UX and UI and if you care about building an actually good app, GO NATIVE.5 -
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 -
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 -
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.7 -
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 -
As much as i love kotlin, i hate that you dont have static functions like in java. You have to put them in a companion object or write them in extension functions outside of the class.
Also when working with generics (lets say T) you cant call T::class.java unless you are in an inlined function and mark T as refeied. This is not the case in java i think. I havent checked.1 -
You look everywhere to be puzzled of what went wrong and realise that you missed a semi colon assuming that language to be semi colon independent.
-
"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
-
"A day in the life of a mobile app developer"
No back-end validation or back-end string sanitisation.
All in the front-end. -
anyone done anything cool I can look at with a Kotlin Multiplatform project? just read about it and it looks really interesting.1
-
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
-
I'm building an Android App and need to implement multi option selection using images. Tried google searching "android libraries for multi-option selection using images as option items just like Medium.com" but i keep getting links for image picker libraries instead.
Have you ever come across any? cus i'm not ready to implement that from scratch. Thankee2 -
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?7 -
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 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
-
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 -
TFW a method is acting weirdly, and after much investigation you find that you forgot to change the contents of the method when you copied it.
-
I feel that it's better to develop in Kotlin, for android, as a beginner, given the recent announcement.
Any other suggestions?12 -
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 -
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 -
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/ -
Can someone recommend a good, free and easy to use service (web or windows app) for mobile apps prototype, mockups, etc. I want to create a visually rich and possibly clickable prototype for a mobile app idea before development.13
-
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
-
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
-
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."2
-
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 -
"if compiler can infer this, there is no need to add "x ->" , simply use it" ..AAAGHH FUCK YOUUUUU KOTLIN!! what else should i fucking not write? why do't you take a number of my employee and ask his requirements, maybe add a ShoppingKartApp.kt in your compiler next time? it will be completely inferred when i write "Fuck you" in the gradle.
And fucking companies are promoting this! I wonder how those devs are living there
Person A knows only that lambda is
{name:Type,name:Type->code}, and thus writes a clean code.
Person B comes says "This shit suck", writes "{ acc, i -> acc + " " + i }" ,goes away
Person A : "wtf is this shit? why it works?"
Please for the love of god, follow some rules! My first language was python, i love its zen:
- Beautiful is better than ugly.
- Simple is better than complex.
- Readability counts.
- Special cases aren't special enough to break the rules.
- There should be one-- and preferably only one --obvious way to do it.
- If the implementation is hard to explain, it's a bad idea.
-...
I just wish it follows at least one thing from python's zen : "There should be one-- and preferably only one --obvious way to do it."3 -
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!13
-
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 -
!rant
Just learned that Kotlin has extension properties to go along with its extension functions. Anything else I'm missing?1 -
Hey I am just curious, do you think is there any good reason to stick to Java now that Google officially supports kotlin?
Thanks1 -
what kind of sorcery is this? how am i suppose to call this class( or whatever it is)'s functions?4
-
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. -
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 -
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 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 -
I am using python scripts for mathematical computations and deep learning wheres spring to build the server and now want to handle the scripts from spring guess what scripts were in python 3.6 and fucking jython does not support it.. so tried finding the different libs like jpy , jpe and analysisRPC.. Everything seems just bullshit .
Finally using Kafka to have my interprocess communication.. -
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).
-
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 😥 -
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
-
Balancing final year CS with a startup that's that will be difficult and might end in a big payout, yay or nay?4
-
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
-
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 -
Is kotlin viable? I feel like I could just suffice with using either Java or JavaScript depending on the situation at hand... :/1
-
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
-
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.
-
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 ...16 -
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
-
Lack of free resources for learning Kotlin for Android held me back a little. But I gotta continue.2
-
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.7
-
Flutter has released. I saw it in September @ Google Dev Days in Krakow. Didn't liked it.
Same now.1 -
All went crazy when Google announced that Android would support Kotlin ... but that is not new, and that takes a while being so
-
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 -
Can we make any type of complex app app using react native?
or
Native Android app (Java) will be useful for complex app.
I need your suggestions.4 -
Hey guys,
I want to learn Android development with Kotlin. I have no prior experience with either technology. Where should I start?5 -
I have recently learned to use data binding with recyclerView in android. I need to make some network calls on the click of a button at the recyclerView, and based on response I need to update my UI. All my code for the view is in my ViewHolder. Bt all the code for my network calls are in repository which is accessed by my viewModel. how can I make the network calls from the viewHolder?question repository viewmodel best practice mvvm kotlin app recyclerview android sdk android development viewholder android2
-
“Here is an example for Kotlin programming language to develop Android app!” https://medium.com/@myinnos/...
-
Seriously Microsoft, handle your OAuth took more of my brain power than Facebook, Google, GitHub, Twitter combined. Why ??????1
-
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/... -
AS logcat
Sqlite.sqliteexception:no such column:Timestamp (code1):,while compiling : SELECT * FROM NOTEs ORDER BY Timestamp
I am trying to get the date and time on each entry of note..17 -
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 -
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. -
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)
-
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? -
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