Info

Login

Channels

APIs

Credits

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

« 2021-05-03

2021-05-04

2021-05-05 »

Nick Message Date
raoul11 [raoul11!~raoul11@unaffiliated/raoul11] has joined #kotlin [12:15]
orbyt_ [orbyt_!~orbyt@172.92.4.78] has joined #kotlin [12:26]
orbyt_ [orbyt_!~orbyt@172.92.4.78] has joined #kotlin [01:42]
raoul11 [raoul11!~raoul11@unaffiliated/raoul11] has joined #kotlin [01:56]
SJr [SJr!~sjr@unaffiliated/sjr] has joined #kotlin [02:01]
Matthijs [Matthijs!~quassel@unaffiliated/matthijs] has joined #kotlin [02:32]
Lengsdorfer [Lengsdorfer!~Lengsdorf@unaffiliated/lengsdorfer] has joined #kotlin [02:52]
w0x12ef [w0x12ef!~textual@111.63.14.116] has joined #kotlin [03:03]
boughtly [boughtly!~boughtly@unaffiliated/boughtly] has joined #kotlin [03:18]
w0x12ef [w0x12ef!~textual@60.10.194.46] has joined #kotlin [04:10]
w0x12ef [w0x12ef!~textual@111.63.14.116] has joined #kotlin [04:31]
Pajus [Pajus!~Pajus@unaffiliated/pajus] has joined #kotlin [05:02]
ufobat [ufobat!~martin@dynamic-077-009-079-012.77.9.pool.telefonica.de] has joined #kotlin [06:25]
veegee_ [veegee_!~veegee@ipagstaticip-469c2903-2b07-6dc3-3bc2-98748da5ca77.sdsl.bell.ca] has joined #kotlin [06:29]
computeiro [computeiro!~Wender@189.37.68.17] has joined #kotlin [06:29]
wender [wender!~Wender@189.41.8.223] has joined #kotlin [06:48]
w0x12ef [w0x12ef!~textual@60.10.194.46] has joined #kotlin [06:49]
Suchorski [Suchorski!~regex@unaffiliated/suchorski] has joined #kotlin [06:58]
Matthijs [Matthijs!~quassel@unaffiliated/matthijs] has joined #kotlin [07:10]
w0x12ef [w0x12ef!~textual@60.10.194.46] has joined #kotlin [07:11]
computeiro [computeiro!~Wender@189.37.68.17] has joined #kotlin [07:24]
w0x12ef [w0x12ef!~textual@111.63.14.116] has joined #kotlin [07:31]
throwtato it's been like two weeks and i still don't know kotlin [07:56]
throwtato damned 3d printer [07:56]
Pajus its been like 2 Months and i still don't know kotlin :D [08:31]
orbyt_ [orbyt_!~orbyt@172.92.4.78] has joined #kotlin [09:36]
ener2 [ener2!~quassel@188-175-76-2.client.rionet.cz] has joined #kotlin [09:40]
Matthijs [Matthijs!~quassel@unaffiliated/matthijs] has joined #kotlin [10:17]
orbyt_ [orbyt_!~orbyt@172.92.4.78] has joined #kotlin [10:38]
w0x12ef [w0x12ef!~textual@111.63.44.6] has joined #kotlin [10:41]
FuzzyBottom [FuzzyBottom!~FuzzyBott@d207-216-62-151.bchsia.telus.net] has joined #kotlin [10:48]
DTZUZU [DTZUZU!~DTZUZO@205.ip-149-56-132.net] has joined #kotlin [11:11]
zutat [zutat!~ben@unaffiliated/zutat] has joined #kotlin [11:48]
orbyt_v7 [orbyt_v7!~textual@172.92.4.78] has joined #kotlin [12:45]
ricky_clarkson It's a brand of ketchup and other table sauces, popular in eastern Europe. Not much to know really. [12:53]
ufobat [ufobat!~martin@dynamic-095-115-079-073.95.115.pool.telefonica.de] has joined #kotlin [12:53]
ricky_clarkson I've seen some recommendations against using data classes in public APIs due to it being hard/impossible to add fields later, as that breaks callers including destructuring. [12:55]
ricky_clarkson Are there any particular ways that can be made less of a problem? [12:56]
cheeser default values [12:58]
ricky_clarkson Does that fix it for destructuring too [01:13]
ricky_clarkson ? [01:13]
ricky_clarkson e.g., being obtuse, if Triple added a new parameter and it was default, would val (x, y, z) = someTriple succeed? [01:13]
ricky_clarkson tias [01:14]
ricky_clarkson Try it and see. You learn much more by experimentation than by asking without having even tried. [01:14]
cheeser destructuring would fail probably because you'd be missing local variables for the assignment. [01:14]
cheeser actually that works: https://glot.io/snippets/fyam1zznaz [01:19]
cheeser of course if you change the order, you've just fucked everyone. [01:19]
ricky_clarkson Right, the order changing was a documented issue, but that seems reasonable. [02:01]
cheeser and data classes are no different in that regard. any ctor parameter order change is breaking [02:02]
ricky_clarkson I guess looking at language design if you wanted this to be a safe construct in terms of binary and source compatibility you'd have data classes require named parameters and require names in deconstruction. [02:03]
zutat interfaces. [02:04]
piwi [piwi!~as@p200300d48f0982004a7705073bbdda6d.dip0.t-ipconnect.de] has joined #kotlin [03:09]
piwi hi. i've got a question regarding a multiplatform project. i try to add micronaut to my gradle config. i've build a standalone project that works and at one point, i don't know how to transfer the config over to the multiplaform project. micronaut wants a micronaut{} block inside build.gradle.kts . i've included the micronaut plugin, but i have to apply "apply false" behind the plugin id, referencing the plugin from the [03:16]
piwi jvmMain{} block of the config. i guess that's the reason why the micronaut{} block gets rejected. so i'm a bit stuck here, don't how or where to place this micronaut block. any ideas? [03:16]
whaley [whaley!~whaley@cpe-24-88-70-100.sc.res.rr.com] has joined #kotlin [03:39]
veegee_ [veegee_!~veegee@ipagstaticip-469c2903-2b07-6dc3-3bc2-98748da5ca77.sdsl.bell.ca] has joined #kotlin [03:51]
orbyt_ [orbyt_!~orbyt@172.92.4.78] has joined #kotlin [03:57]
mirk0 [mirk0!~mirk0@unaffiliated/-mirko-/x-2946915] has joined #kotlin [04:26]
mirk0 """a\nb""" [04:27]
mirk0 what instead of \n to make it work? [04:27]
Matthijs [Matthijs!~quassel@unaffiliated/matthijs] has joined #kotlin [04:34]
cheeser make sense [04:40]
cheeser make: *** No rule to make target `sense'. Stop. [04:40]
piwi i guess with triple quotes you just type the line break into the code @mirk0 [05:22]
cheeser yeah. that's kinda the point of string literals like that. [05:24]