Info

Login

Channels

APIs

Credits

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

« 2019-10-07

2019-10-08

2019-10-09 »

Nick Message Date
lankanmon [lankanmon!~LKNnet@CPE64777d632383-CM64777d632380.cpe.net.cable.rogers.com] has joined #kotlin [12:06]
djhworld [djhworld!~djhworld@90.252.118.61] has joined #kotlin [12:40]
Ladicek [Ladicek!~lthon@109.164.114.141] has joined #kotlin [02:17]
[[thufir]] [[[thufir]]!~thufir@192.157.116.150] has joined #kotlin [02:37]
Pitel [Pitel!~pitel@212.80.65.43] has joined #kotlin [02:37]
[[thufir]] [[[thufir]]!~thufir@192.157.116.150] has joined #kotlin [02:56]
Jonopoly [Jonopoly!~Jonopoly@unaffiliated/jonopoly] has joined #kotlin [04:05]
rohdef [rohdef!~rohdef@83.136.94.228] has joined #kotlin [04:13]
OtakuSenpai [OtakuSenpai!~OtakuSenp@unaffiliated/neel] has joined #kotlin [04:27]
Tazmain [Tazmain!~Tazmain@unaffiliated/tazmain] has joined #kotlin [04:38]
OtakuSenpai [OtakuSenpai!~OtakuSenp@unaffiliated/neel] has joined #kotlin [04:41]
Lengsdorfer [Lengsdorfer!~Lengsdorf@unaffiliated/lengsdorfer] has joined #kotlin [06:15]
OtakuSenpai [OtakuSenpai!~OtakuSenp@unaffiliated/neel] has joined #kotlin [06:45]
Nawab [Nawab!~OtakuSenp@unaffiliated/neel] has joined #kotlin [06:55]
DTZUZO [DTZUZO!~DTZUZO@S0106bcd165662a4d.vs.shawcable.net] has joined #kotlin [06:56]
kchz [kchz!~dschulz@45.169.115.248] has joined #kotlin [06:56]
Tazmain [Tazmain!~Tazmain@unaffiliated/tazmain] has joined #kotlin [07:02]
kchz [kchz!~dschulz@45.169.115.248] has joined #kotlin [07:16]
DTZUZO [DTZUZO!~DTZUZO@S0106bcd165662a4d.vs.shawcable.net] has joined #kotlin [07:35]
Tazmain [Tazmain!~Tazmain@unaffiliated/tazmain] has joined #kotlin [08:09]
MassDebates [MassDebates!~MassDebat@unaffiliated/massdebates] has joined #kotlin [08:18]
OtakuSenpai [OtakuSenpai!~OtakuSenp@unaffiliated/neel] has joined #kotlin [08:19]
macroprep if a class is supperclassed, why cant i use the class as a paramater to a function expecting the superclass? [08:54]
dreamreal macroprep: show u... no, don't [08:55]
macroprep for example, class a: b() { fun x(s: b) {} }; val l = a(); l.x(l) [08:56]
macroprep as l has a superclass of b() [08:58]
macroprep like MutableList has the superclasses List and MutableCollection, any function accepting a List or MutableCollection can ALSO accept a MutableList [08:59]
macroprep or would that ONLY apply to interfaces and not classes [09:01]
macroprep eg anything that interfaces List can be accepting in a function requesting a type of List, even if it indirectly interfaces the List, eg a:b in which b interfaces List, and a interfaces b [09:03]
macroprep accepted* [09:03]
Tazmain [Tazmain!~Tazmain@unaffiliated/tazmain] has joined #kotlin [09:18]
Tazmain [Tazmain!~Tazmain@unaffiliated/tazmain] has joined #kotlin [09:20]
LearnAllTheTime [LearnAllTheTime!~LearnAllT@2601:cc:4000:9db0::4801] has joined #kotlin [09:20]
macroprep ok, why CANT a function accepting A, accept a class instance that has A as its supertype? for example class A() {}; class B: A() {}; fun a(v: A) {}; a(B()) [09:27]
KeyJoo [KeyJoo!~KeyJoo@37.1.51.197] has joined #kotlin [09:32]
AndrewBass [AndrewBass!~chatzilla@109-73-33-210.in-addr.mastertelecom.ru] has joined #kotlin [09:35]
dreamreal macroprep: https://glot.io/new/kotlin [09:38]
Tazmainain [Tazmainain!~Tazmain@unaffiliated/tazmain] has joined #kotlin [09:48]
Bombe It?s weird how consistently even their questions are already wrong. [09:50]
Ladicek [Ladicek!~lthon@109.164.114.141] has joined #kotlin [09:56]
dreamreal macroprep: https://glot.io/snippets/fgplou7wcc sorry [10:04]
dreamreal shows exactly what you're asking. And: WTF? [10:04]
dreamreal Why are you asking this shit? [10:04]
Tazmain [Tazmain!~Tazmain@unaffiliated/tazmain] has joined #kotlin [10:06]
greggerz [greggerz!~greggerz@unaffiliated/greggerz] has joined #kotlin [10:20]
DTZUZO_ [DTZUZO_!~DTZUZO@S0106bcd165662a4d.vs.shawcable.net] has joined #kotlin [10:20]
rruizt [rruizt!~rruizt@83-84-23-124.cable.dynamic.v4.ziggo.nl] has joined #kotlin [10:21]
Stummi First World question: Is there any opposite to String.isNullOrEmpty()? (as in, is there an easier way to express if(!s.isNullOrEmpty())? Because I would borderline consider it "hard to grasp while skimming" [10:22]
dreamreal I don't think so [10:23]
Stummi especially in the context if(s == "*") { .. } else if(!s.isNullOrEmpty()) { ... } else { ... } [10:23]
dreamreal *nod* [10:24]
Bombe Well, s.isNullOrEmpty() is almost the same as s?.isEmpty()? [10:25]
kchz [kchz!~dschulz@168.195.227.98] has joined #kotlin [10:26]
argo [argo!~argo@unaffiliated/argo] has joined #kotlin [10:34]
argo [argo!~argo@unaffiliated/argo] has joined #kotlin [11:13]
iam730 [iam730!~iam730@c-24-6-215-59.hsd1.ca.comcast.net] has joined #kotlin [11:35]
esro [esro!~esro@b00001.krakowskiinternet.pl] has joined #kotlin [11:41]
rruizt [rruizt!~rruizt@83-84-23-124.cable.dynamic.v4.ziggo.nl] has joined #kotlin [12:12]
orbyt_ [orbyt_!~orbyt@172.92.5.20] has joined #kotlin [12:35]
zutat [zutat!02f37261@unaffiliated/zutat] has joined #kotlin [01:19]
zutat [zutat!02f37261@unaffiliated/zutat] has joined #kotlin [01:22]
AndrewBass [AndrewBass!~chatzilla@109-73-33-210.in-addr.mastertelecom.ru] has joined #kotlin [01:25]
OtakuSenpai [OtakuSenpai!~OtakuSenp@unaffiliated/neel] has joined #kotlin [02:31]
bernard_ [bernard_!~bernard@p2003000633782C4423BF583D4E7D7E8C.dip0.t-ipconnect.de] has joined #kotlin [02:49]
bernard_ [bernard_!~bernard@p2003000633782C4423BF583D4E7D7E8C.dip0.t-ipconnect.de] has joined #kotlin [02:55]
pavelz [pavelz!~pavel@unaffiliated/pavelz] has joined #kotlin [04:13]
pavelz why would one do class Hey(): Someclass {} instead of class Hey : Someclass {} ? [04:15]
Bombe Because one thinks ?()? looks neat? [04:16]
pavelz just reading jetpack examples. but thanks Bombe [04:17]
pavelz class ConcertAdapter() : PagedListAdapter<Concert, ConcertViewHolder>(DIFF_CALLBACK) { <--- would the parent class necesitate child declaration to have () added in this case? [04:19]
OtakuSenpai how could i write this in kotlin [04:20]
OtakuSenpai private WorldMapGenerator[][] world = new WorldMapGenerator[4][4]; [04:20]
pavelz write in java and convert it in intelliJ :D [04:20]
OtakuSenpai intellij doesnt help [04:21]
OtakuSenpai thats why im asking [04:21]
OtakuSenpai pavelz, ? [04:22]
pavelz var cinema = arrayOf<Array<Int>>() [04:23]
pavelz https://www.ict.social/kotlin/basics/multidimensional-arrays-in-kotlin [04:23]
pavelz pavelz's title: "Lesson 10 - Multidimensional arrays in Kotlin" [04:23]
pavelz suppose instead of Int, WorldMapGenerator [04:24]
dreamreal pavelz: constructor declaration [04:41]
LearnAllTheTime [LearnAllTheTime!~LearnAllT@2601:cc:4000:9db0::4801] has joined #kotlin [05:09]
iam730 [iam730!~iam730@c-24-6-215-59.hsd1.ca.comcast.net] has joined #kotlin [05:46]
ziyourenxiang_ [ziyourenxiang_!~ziyourenx@unaffiliated/ziyourenxiang] has joined #kotlin [07:35]
yawkat [yawkat!~yawkat@cats.coffee] has joined #kotlin [08:19]
Diablo-D3 https://www.blog.google/outreach-initiatives/grow-with-google/grasshopper-desktop-learn-to-code/ [08:39]
Diablo-D3 saw this in my news [08:39]
Diablo-D3 that looks neat, I wonder if they'll make a kotlin course for it [08:39]
LearnAllTheTime [LearnAllTheTime!~LearnAllT@2601:cc:4000:9db0::4801] has joined #kotlin [08:41]
rruizt [rruizt!~rruizt@83-84-23-124.cable.dynamic.v4.ziggo.nl] has joined #kotlin [08:55]
OtakuSenpai [OtakuSenpai!~OtakuSenp@unaffiliated/neel] has joined #kotlin [09:34]
macroprep [macroprep!~brotherco@cpe-172-193-104-55.qld.foxtel.net.au] has joined #kotlin [10:22]
Nawab [Nawab!~OtakuSenp@unaffiliated/neel] has joined #kotlin [11:41]
Nawab [Nawab!~OtakuSenp@unaffiliated/neel] has joined #kotlin [11:45]