Info

Login

Channels

APIs

Credits

  • cheeser
  • ernimril
  • joed
  • kinabalu
  • lunk
  • ojacobson
  • r0bby
  • ThaDon
  • ricky_clarkson
  • topriddy

« 2020-10-17

2020-10-18

2020-10-19 »

Nick Message Date
raoul11 [raoul11!~raoul11@unaffiliated/raoul11] has joined #kotlin [12:00]
fluxxion [fluxxion!~fluxxion@c-73-222-181-162.hsd1.ca.comcast.net] has joined #kotlin [12:18]
scpketer [scpketer!~scpketer@unaffiliated/scpketer] has joined #kotlin [12:31]
fluxxion [fluxxion!~fluxxion@c-73-222-181-162.hsd1.ca.comcast.net] has joined #kotlin [01:01]
orbyt_ [orbyt_!~orbyt@172.92.4.78] has joined #kotlin [01:33]
raoul11 [raoul11!~raoul11@unaffiliated/raoul11] has joined #kotlin [01:48]
hnOsmium0001 my understanding: run when you want to *use* the value , apply() when you need to *transform* a value [02:41]
scpketer [scpketer!~scpketer@unaffiliated/scpketer] has joined #kotlin [02:54]
DarkUranium [DarkUranium!~DarkUrani@stdrand.com] has joined #kotlin [05:17]
DarkUranium [DarkUranium!~DarkUrani@stdrand.com] has joined #kotlin [05:18]
DarkUranium [DarkUranium!~DarkUrani@stdrand.com] has joined #kotlin [05:22]
Bombe run() returns an arbitrary value, allowing for transformation; apply() returns the value it was called on. [05:36]
Bombe Both can use the object they?ve been called on as receiver (i.e. this), whereas let() & also() use the value they were called on as parameter. [05:37]
intrigus [intrigus!uid114902@gateway/web/irccloud.com/x-kzqqsosuvdottskw] has joined #kotlin [05:42]
enrio [enrio!~nanoz@unaffiliated/nanoz] has joined #kotlin [05:51]
Lengsdorfer [Lengsdorfer!~Lengsdorf@unaffiliated/lengsdorfer] has joined #kotlin [06:09]
Lengsdorfer hi everybody. I often use something like 'nullableVar?.let { sm -> (...)}' to ensure that nullableVar is not null. If somebody knows a shorter way let me know:) Does somebody know similar a construct for the 'else' case? I mean shorter than 'if(nullableVar==null) {}'? [06:42]
Bombe a) why? Do you have to pay by the byte? b) x?.let { someValue } ?: someOtherValue [06:46]
Bombe But at some point legibility tends to take a dive. [06:46]
scratchy_beard [scratchy_beard!~doug@cpc110383-king13-2-0-cust408.19-1.cable.virginm.net] has joined #kotlin [07:38]
scpketer [scpketer!~scpketer@unaffiliated/scpketer] has joined #kotlin [08:51]
RedNifre Can all these Google Android things like Room (persistence library on top of SQLite) be used outside of Android? Or is it too heavily intertwined with Android? [08:56]
RedNifre Can you recommend a not-Android-requireing Kotlin library for simple SQLite stuff? [08:57]
enrio [enrio!~nanoz@unaffiliated/nanoz] has joined #kotlin [09:01]
callq [callq!~callq@2603:3001:a00:400:c0a:4c81:4a2f:d734] has joined #kotlin [10:52]
raoul11 quicky: trying to figure out why if (someList.all { it != null}) still requires a checkup on the values if they're null or not inside the if? [11:32]
funeral [funeral!~Funeral@2a01:799:7e0:1000::c89] has joined #kotlin [11:34]
kupi [kupi!uid212005@gateway/web/irccloud.com/x-gbjfbdizrnfenkgr] has joined #kotlin [12:07]
scratchy_beard raoul11, I'm pretty new to kotlin so this might be a silly question from me - is a checkup different from a check? [12:14]
intrigus [intrigus!uid114902@gateway/web/irccloud.com/x-gevvvghiveletpnx] has joined #kotlin [12:21]
zutat [zutat!4e304ecf@unaffiliated/zutat] has joined #kotlin [12:50]
scpketer [scpketer!~scpketer@unaffiliated/scpketer] has joined #kotlin [01:00]
hnOsmium0001 [hnOsmium0001!uid453710@gateway/web/irccloud.com/x-uekbwohrzbmaorkq] has joined #kotlin [02:44]
orbyt_ [orbyt_!~orbyt@172.92.4.78] has joined #kotlin [03:44]
fluxxion [fluxxion!~fluxxion@c-73-222-181-162.hsd1.ca.comcast.net] has joined #kotlin [03:47]
mirk0 [mirk0!~mirk0@unaffiliated/-mirko-/x-2946915] has joined #kotlin [03:57]
intrigus [intrigus!uid114902@gateway/web/irccloud.com/x-ajgpxsygmcmynlca] has joined #kotlin [04:13]
xeno [xeno!~xeno@unaffiliated/xeno] has joined #kotlin [04:38]
intrigus [intrigus!uid114902@gateway/web/irccloud.com/x-unvsddwyadbeqzhx] has joined #kotlin [07:04]
henbruas [henbruas!~henbruas@unaffiliated/henbruas] has joined #kotlin [07:24]
hnOsmium0001 [hnOsmium0001!uid453710@gateway/web/irccloud.com/x-bbbnvzthyixtprkj] has joined #kotlin [07:59]
chamar [chamar!~chamar@modemcable150.100-22-96.mc.videotron.ca] has joined #kotlin [09:06]
sunri5e [sunri5e!~sunri5e@unaffiliated/sunri5e] has joined #kotlin [09:39]
RedNifre_ [RedNifre_!~michael@dslb-002-203-247-008.002.203.pools.vodafone-ip.de] has joined #kotlin [11:35]