Why we can't have nice things in Kotlin | Vsevolod Tolstopyatov

  Рет қаралды 14,655

Kotlin by JetBrains

Kotlin by JetBrains

Күн бұрын

Пікірлер: 29
@UndertaleEternalBreath
@UndertaleEternalBreath 6 ай бұрын
kotlin is my favorite programming language :)
@anisim
@anisim 6 ай бұрын
Same here ❤
@tk1576
@tk1576 6 ай бұрын
so much better than java!
@neronguyenvn2
@neronguyenvn2 6 ай бұрын
sometimes I can manage to get enough motivation to play some more kotlin in my pet projects, but I still feel I will scared of stuffs gonna happen there; I would only comfortable with my familiar skills or framework; what should I do
@wayluke
@wayluke 6 ай бұрын
And you use it to....? Andoird Dev? Back end server?
@wayluke
@wayluke 6 ай бұрын
@@tk1576 So you use it to replace those domains which use java before? Or you use it every where with kotlin/native?
@dogacel
@dogacel 6 ай бұрын
About topic on capitalization at 1:50, when I was 12, I tried to download mods to play Minecraft and none of them worked even though I followed every instruction. I was able to fix the issue only by changing my computer language to be English. Many years later, I realized why it only happened to me, "Oh......... Makes sense..............................The capital İ"
@songyifan6531
@songyifan6531 6 ай бұрын
Funny and attractive talk, love this one!
@krellin
@krellin 6 ай бұрын
Experienced engineers don't mess with timezones and use a timestamp long, do all the compute with it and then convert to strong in front end
@h4m74ro
@h4m74ro 6 ай бұрын
If possible, do it. But for something like calendar apps or future events, don't do it.
@krellin
@krellin 6 ай бұрын
@@h4m74ro you do it for everything, no exceptions, calendar or not, if you need to do some sophisticated crap like fintech tends to do, or simply say go to last day of month... feel free to temporarily convert to date time or jodat time whatever but your main format should always be timestamp. Put assertions that validate that your modifications make sense but the moment you start using Date alike formats in Dbs or pass them around everything goes to shit. Once some legacy is created using that it never goes away.
@tomhejda6450
@tomhejda6450 6 ай бұрын
So that you set your alarm -- when flying -- to 7am before your phone realized you're crossing 3 timezones, only for it to ring at 10am.
@MarkAndrachekJr
@MarkAndrachekJr 6 ай бұрын
This is the way. I have spoken.
@h4m74ro
@h4m74ro 6 ай бұрын
​@@krellin User sets a alarm at noon 12:00. When you save that as timestamp instead of 12:00, it will be wrong after changing time zones. Or user saves a meeting in his calendar for next year 1st of july at 10am and is based in Germany, that is 2025-07-01T10:00:00+02:00. Again, if you would use timestamp instead, you have a bad time when unexpected things happen, like EU decides to abolish daylight saving time. Even the leap seconds every few months will cause a small discrepancy. I'm not saying, save Date objects, only string representation in ISO format. That works wherever you are and on any device.
@thedeemon
@thedeemon 6 ай бұрын
Daylight Saving Time adds more light time to evenings in summer, not in winter. It makes winter days go dark earlier. At least in northern hemisphere. I never thought about how it works in New Zealand. I guess it's much crazier there.
@ALONEWILL
@ALONEWILL 6 ай бұрын
I moved from swift to kotlin for my leetcode and figured out how strong is Kotlin , never discovered this during my last 4 yrs with kotlin in android.
@wayluke
@wayluke 6 ай бұрын
I really want to use kotlin or kotlin/native to replace javascript in web, and rust in wasm/wasi/system layer, so coooooool
@tk1576
@tk1576 6 ай бұрын
oh no date and time always scares me ngl
@unusualdri
@unusualdri 6 ай бұрын
uppercased(), lowercased(), capitalized(). There you have it where is my job at JetBrains
@shadowpenguin3482
@shadowpenguin3482 6 ай бұрын
That would result in - UPPER CASE - lower case - Capital Ized or Capital ized
@vv3v943
@vv3v943 6 ай бұрын
@@shadowpenguin3482 or Capital İzed but just in Turkish
@yassine-sa
@yassine-sa 6 ай бұрын
7:15 the day that never existed 💀💀💀
@PéterSzászvári
@PéterSzászvári 4 ай бұрын
Short answer: it is hard. Like anything!
@someman7
@someman7 6 ай бұрын
TL;DW: Locale
@sevarbg83
@sevarbg83 5 ай бұрын
Kotlin has fun
Debugging the Future: Exploring Coroutine Debugger Tools | Nikita Nazarov
31:26
Catching up with async Rust
17:55
fasterthanlime
Рет қаралды 24 М.
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН
What Makes A Great Developer
27:12
ThePrimeTime
Рет қаралды 226 М.
Kotlin Language Features in 2.0 and Beyond - Michail Zarečenskij
46:57
Kotlin by JetBrains
Рет қаралды 22 М.
Keynote: Advent of Code, Behind the Scenes - Eric Wastl
46:01
Your backend is too complicated
9:47
Isaac Harris-Holt
Рет қаралды 94 М.
Channels in Kotlin Coroutines | Nikita Koval
45:20
Kotlin by JetBrains
Рет қаралды 9 М.
Reality of Software Development
5:08
bigboxSWE
Рет қаралды 642 М.
Revamping and Extending Kotlin's Type System | Ross Tate
50:44
Kotlin by JetBrains
Рет қаралды 9 М.
Coroutines: Concurrency in Kotlin
30:22
Dave Leeds
Рет қаралды 20 М.
Compose Multiplatform performance on iOS | Elijah Semyonov
34:29
Kotlin by JetBrains
Рет қаралды 7 М.