|
pkunzip [pkunzip!~pkunzip@123-243-88-153.tpgi.com.au] has joined #kotlin |
[01:46]
|
ufobat [ufobat!~martin@dynamic-077-009-142-217.77.9.pool.telefonica.de] has joined #kotlin |
[02:30]
|
Matthijs [Matthijs!~quassel@unaffiliated/matthijs] has joined #kotlin |
[02:42]
|
boughtly [boughtly!~boughtly@unaffiliated/boughtly] has joined #kotlin |
[03:18]
|
jacob26 [jacob26!~jacob@unaffiliated/jacob] has joined #kotlin |
[04:18]
|
jacob3 [jacob3!~jacob@unaffiliated/jacob] has joined #kotlin |
[04:20]
|
snalty [snalty!~Shhh@host86-177-153-200.range86-177.btcentralplus.com] has joined #kotlin |
[04:50]
|
computeiro [computeiro!~Wender@189.37.65.66] has joined #kotlin |
[06:43]
|
Lengsdorfer [Lengsdorfer!~Lengsdorf@unaffiliated/lengsdorfer] has joined #kotlin |
[08:17]
|
drincruz_ [drincruz_!~adrian.cr@ool-44c748be.dyn.optonline.net] has joined #kotlin |
[08:37]
|
argo [argo!~argo@unaffiliated/argo] has joined #kotlin |
[08:58]
|
Pajus [Pajus!~Pajus@unaffiliated/pajus] has joined #kotlin |
[09:02]
|
Pajus |
Hi guys im new to this shit... learning about creating apps and i just wondering |
[09:02]
|
Pajus |
should i work on android studio or intellij ? |
[09:03]
|
Pajus |
I mean what will be more used in future |
[09:03]
|
drincruz [drincruz!~adrian.cr@ec2-18-235-23-153.compute-1.amazonaws.com] has joined #kotlin |
[09:03]
|
Pajus |
I also looking for mentor :D |
[09:04]
|
Pajus |
if someone is bored and would like to support my progress |
[09:05]
|
Pajus |
would be greatz ---> PM :* |
[09:05]
|
drincruz [drincruz!~adrian.cr@ool-44c748be.dyn.optonline.net] has joined #kotlin |
[09:15]
|
yawkat [yawkat!~yawkat@cats.coffee] has joined #kotlin |
[09:17]
|
drincruz [drincruz!~adrian.cr@ec2-18-235-23-153.compute-1.amazonaws.com] has joined #kotlin |
[09:42]
|
cheeser |
if youre building an android app then obviously Android Studio would be a better choice. |
[09:48]
|
jeromelanteri [jeromelanteri!jeromelant@gateway/vpn/privateinternetaccess/jeromelanteri] has joined #kotlin |
[09:59]
|
Pajus |
thanks for advice cheeser |
[10:51]
|
Pajus |
its not so obviosly for me |
[11:00]
|
Pajus |
since you can also create a android app with Intellij in in a similar way |
[11:01]
|
cheeser |
you can, of course, because Android Studio is based on Intellij. but AS is specifically configured to make android dev easier and more natural. |
[11:05]
|
Diablo-D3 |
btw, Ive used both, AS and IntelliJ + Android plugin |
[11:10]
|
Diablo-D3 |
AS seems to be saner setup out of the box |
[11:10]
|
LuxuryMode [LuxuryMode!uid91005@gateway/web/irccloud.com/x-urolomoeerhjbfys] has joined #kotlin |
[11:46]
|
Renari [Renari!~Renari@64.67.31.239.res-cmts.bgr.ptd.net] has joined #kotlin |
[12:12]
|
Bombe |
squirrel, https://pl.kotl.in/Cu9rppckC |
[12:14]
|
Bombe |
Bombe's title: "Kotlin Playground: Edit, Run, Share Kotlin Code Online" |
[12:14]
|
Bombe |
I?m not sure how your code is more simple than this. |
[12:14]
|
Bombe |
I may very well be missing some requirement in which I would love to hear about it. |
[12:15]
|
Bombe |
+case |
[12:15]
|
squirrel |
you'd think that as i mentioned sortBy from get go i wanted something different that this wouldn't you |
[12:22]
|
Bombe |
Well, different you already have but I was under the impressions you wanted something simpler. |
[12:23]
|
Bombe |
Not sure how your construct with several additional classes plus nested generics lives up to that expectation. |
[12:23]
|
squirrel |
> something like sortBy but an interface |
[12:23]
|
Bombe |
That?s not a what, that?s a how. |
[12:24]
|
squirrel |
is that supposed to mean something? |
[12:26]
|
squirrel |
actually let's just drop this topic |
[12:26]
|
Bombe |
No, let?s not. I would really like to know what it is that you actually want to achieve. |
[12:26]
|
Bombe |
?Something like sortBy but an interface? is not what you want, it?s how you want it, and that doesn?t make any sense. |
[12:27]
|
Bombe |
So I?m trying to find out what your underlying desire is. |
[12:27]
|
squirrel |
does it make sesne to you that you can do sort() on strings and integers and you don't use sortBy with them? |
[12:31]
|
Bombe |
Of course it does because those objects have a natural sort order, because they implement Comparable. |
[12:33]
|
squirrel |
right.. |
[12:33]
|
squirrel |
now if you remember that i named one of the classes `NaturalOrder`... |
[12:34]
|
Bombe |
Nope, wrong way around, you once again consider your solution to be an adequate description of the problem. |
[12:34]
|
drincruz_ [drincruz_!~adrian.cr@ool-44c748be.dyn.optonline.net] has joined #kotlin |
[12:34]
|
squirrel |
there's no way that by now you still don't understand it |
[12:37]
|
squirrel |
as your curiosity must have been satisfied, we can finally drop the topic |
[12:38]
|
sec^nd [sec^nd!~second@gateway/tor-sasl/sec0nd] has joined #kotlin |
[12:41]
|
Bombe |
You want a Comparable interface but it should be called ?NaturalOrder,? be less flexible than Comparable, it should force you to couple the comparison to the class itself, and it should require nested generics if there?s more than one component involved in a comparison? |
[12:47]
|
Bombe |
That?s the only thing I can think of that matches your proposed solution. |
[12:47]
|
Bombe |
But I still don?t understand why you want something like that. |
[12:48]
|
sec^nd [sec^nd!~second@gateway/tor-sasl/sec0nd] has joined #kotlin |
[12:54]
|
sec^nd [sec^nd!~second@gateway/tor-sasl/sec0nd] has joined #kotlin |
[01:07]
|
drincruz_ [drincruz_!~adrian.cr@ool-44c748be.dyn.optonline.net] has joined #kotlin |
[01:08]
|
sec^nd [sec^nd!~second@gateway/tor-sasl/sec0nd] has joined #kotlin |
[01:13]
|
DTZUZU [DTZUZU!~DTZUZO@205.ip-149-56-132.net] has joined #kotlin |
[01:33]
|
drincruz [drincruz!~adrian.cr@ec2-18-235-23-153.compute-1.amazonaws.com] has joined #kotlin |
[01:33]
|
FuzzyBottom [FuzzyBottom!~FuzzyBott@d207-216-62-240.bchsia.telus.net] has joined #kotlin |
[01:39]
|
zutat [zutat!~ben@unaffiliated/zutat] has joined #kotlin |
[01:53]
|
MatthijsH [MatthijsH!~quassel@unaffiliated/matthijs] has joined #kotlin |
[02:20]
|
whaley_ [whaley_!~whaley@cpe-24-88-70-100.sc.res.rr.com] has joined #kotlin |
[04:18]
|
liefer [liefer!liefer@gateway/vpn/mullvad/liefer] has joined #kotlin |
[05:11]
|
Matthijs [Matthijs!~quassel@unaffiliated/matthijs] has joined #kotlin |
[05:39]
|
dreamreal [dreamreal!~jottinger@unaffiliated/dreamreal] has joined #kotlin |
[06:34]
|
major_majors [major_majors!~majors@unaffiliated/major-majors/x-6070374] has joined #kotlin |
[08:07]
|
shailangsa [shailangsa!~shailangs@host86-186-133-58.range86-186.btcentralplus.com] has joined #kotlin |
[11:14]
|