Logs: freenode/#haskell
| 2021-04-27 07:39:41 | × | nicholasbulka quits (~nicholasb@2601:900:4301:da0:5440:6bb8:f181:7832) (Ping timeout: 250 seconds) |
| 2021-04-27 07:41:26 | → | stree joins (~stree@68.36.8.116) |
| 2021-04-27 07:42:53 | → | alexander joins (~alexander@2a02:587:dc0a:2700:39fb:67a3:1f47:16d) |
| 2021-04-27 07:43:21 | alexander | is now known as Guest85960 |
| 2021-04-27 07:44:40 | → | geowiesnot joins (~user@87-89-181-157.abo.bbox.fr) |
| 2021-04-27 07:45:27 | × | tionos- quits (~tionos@2a0b:b7c4:1:731::1) (Quit: leaving) |
| 2021-04-27 07:45:41 | → | tionos joins (~tionos@2a0b:b7c4:1:731::1) |
| 2021-04-27 07:46:08 | × | Lycurgus quits (~niemand@98.4.118.65) (Quit: Exeunt) |
| 2021-04-27 07:46:35 | → | malumore joins (~malumore@151.62.126.111) |
| 2021-04-27 07:47:04 | × | ericsagn1 quits (~ericsagne@2405:6580:0:5100:ed88:b772:a9fc:1e72) (Ping timeout: 245 seconds) |
| 2021-04-27 07:47:42 | × | Sgeo quits (~Sgeo@ool-18b9875e.dyn.optonline.net) (Read error: Connection reset by peer) |
| 2021-04-27 07:48:31 | → | danso joins (~dan@modemcable156.91-20-96.mc.videotron.ca) |
| 2021-04-27 07:48:48 | → | malumore_ joins (~malumore@151.62.126.111) |
| 2021-04-27 07:51:41 | × | malumore quits (~malumore@151.62.126.111) (Ping timeout: 260 seconds) |
| 2021-04-27 07:55:30 | → | __minoru__shirae joins (~shiraeesh@109.166.59.124) |
| 2021-04-27 07:56:05 | → | coot joins (~coot@37.30.50.130.nat.umts.dynamic.t-mobile.pl) |
| 2021-04-27 07:56:26 | → | cfricke joins (~cfricke@unaffiliated/cfricke) |
| 2021-04-27 07:57:34 | → | is_null joins (~jpic@pdpc/supporter/professional/is-null) |
| 2021-04-27 07:59:16 | → | ericsagn1 joins (~ericsagne@2405:6580:0:5100:9b9f:be30:ff0e:2bc) |
| 2021-04-27 08:02:23 | → | wonko7 joins (~wonko7@62.115.229.50) |
| 2021-04-27 08:03:17 | → | Gurkenglas joins (~Gurkengla@unaffiliated/gurkenglas) |
| 2021-04-27 08:04:00 | × | sh9 quits (~sh9@softbank060116136158.bbtec.net) (Quit: WeeChat 2.8) |
| 2021-04-27 08:10:45 | × | hendursaga quits (~weechat@gateway/tor-sasl/hendursaga) (Ping timeout: 240 seconds) |
| 2021-04-27 08:13:23 | → | zmijunkie1 joins (~Adium@109.90.32.89) |
| 2021-04-27 08:14:15 | → | hendursaga joins (~weechat@gateway/tor-sasl/hendursaga) |
| 2021-04-27 08:14:34 | × | zmijunkie quits (~Adium@87.122.222.91) (Ping timeout: 252 seconds) |
| 2021-04-27 08:14:39 | → | sz0 joins (uid110435@gateway/web/irccloud.com/x-bwiuonpskoznguoq) |
| 2021-04-27 08:15:27 | → | sh9 joins (~sh9@softbank060116136158.bbtec.net) |
| 2021-04-27 08:20:08 | → | thc202 joins (~thc202@unaffiliated/thc202) |
| 2021-04-27 08:20:32 | × | danso quits (~dan@modemcable156.91-20-96.mc.videotron.ca) (Quit: WeeChat 3.0) |
| 2021-04-27 08:20:52 | × | Arahael quits (~arahael@123-243-38-74.tpgi.com.au) (Ping timeout: 240 seconds) |
| 2021-04-27 08:24:13 | × | frozenErebus quits (~frozenEre@37.231.244.249) (Ping timeout: 268 seconds) |
| 2021-04-27 08:24:55 | → | kuribas joins (~user@ptr-25vy0i7u5k5fyxhyy6l.18120a2.ip6.access.telenet.be) |
| 2021-04-27 08:26:58 | → | frozenErebus joins (~frozenEre@37.231.244.249) |
| 2021-04-27 08:28:14 | → | fendor joins (~fendor@178.115.131.177.wireless.dyn.drei.com) |
| 2021-04-27 08:31:01 | → | pbgc joins (~pbgc@a89-152-234-147.cpe.netcabo.pt) |
| 2021-04-27 08:31:52 | × | Pickchea quits (~private@unaffiliated/pickchea) (Ping timeout: 240 seconds) |
| 2021-04-27 08:33:42 | × | merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 240 seconds) |
| 2021-04-27 08:36:39 | × | tzh quits (~tzh@c-24-21-73-154.hsd1.wa.comcast.net) (Quit: zzz) |
| 2021-04-27 08:38:16 | → | dhil joins (~dhil@80.208.56.181) |
| 2021-04-27 08:38:50 | → | acidjnk_new joins (~acidjnk@p200300d0c72b95883ddaf449c9d144e9.dip0.t-ipconnect.de) |
| 2021-04-27 08:41:30 | × | drbean_ quits (~drbean@TC210-63-209-69.static.apol.com.tw) (Quit: ZNC 1.8.2+cygwin2 - https://znc.in) |
| 2021-04-27 08:43:41 | × | Jesin quits (~Jesin@pool-72-66-101-18.washdc.fios.verizon.net) (Ping timeout: 240 seconds) |
| 2021-04-27 08:46:44 | → | kiweun joins (~kiweun@2607:fea8:2a62:9600:7098:46df:517a:426) |
| 2021-04-27 08:48:26 | → | Arahael joins (~arahael@123-243-38-74.tpgi.com.au) |
| 2021-04-27 08:51:11 | × | kiweun quits (~kiweun@2607:fea8:2a62:9600:7098:46df:517a:426) (Ping timeout: 250 seconds) |
| 2021-04-27 08:55:18 | → | Pickchea joins (~private@unaffiliated/pickchea) |
| 2021-04-27 08:55:26 | × | rdd quits (~rdd@c-407ce255.012-81-73746f39.cust.ownit.se) (Ping timeout: 240 seconds) |
| 2021-04-27 08:58:16 | → | jess joins (jess@freenode/staff/jess) |
| 2021-04-27 08:59:09 | × | hypercube quits (~hypercube@2603-6011-f901-9e5b-0000-0000-0000-08cf.res6.spectrum.com) (Ping timeout: 245 seconds) |
| 2021-04-27 09:00:48 | → | DavidEichmann joins (~david@147.136.46.217.dyn.plus.net) |
| 2021-04-27 09:00:59 | → | gehmehgeh joins (~ircuser1@gateway/tor-sasl/gehmehgeh) |
| 2021-04-27 09:01:17 | × | vicfred quits (~vicfred@unaffiliated/vicfred) (Quit: Leaving) |
| 2021-04-27 09:03:26 | × | __minoru__shirae quits (~shiraeesh@109.166.59.124) (Ping timeout: 260 seconds) |
| 2021-04-27 09:03:38 | × | heatsink quits (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection) |
| 2021-04-27 09:04:22 | → | ech joins (~user@gateway/tor-sasl/ech) |
| 2021-04-27 09:04:54 | → | raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) |
| 2021-04-27 09:08:41 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 2021-04-27 09:12:58 | × | olligobber quits (olligobber@gateway/vpn/privateinternetaccess/olligobber) (Remote host closed the connection) |
| 2021-04-27 09:13:32 | → | __minoru__shirae joins (~shiraeesh@109.166.59.124) |
| 2021-04-27 09:18:59 | → | dvdp73 joins (59736826@38.104.115.89.rev.vodafone.pt) |
| 2021-04-27 09:24:26 | × | plutoniix quits (~q@cm-119-76-33-123.revip17.asianet.co.th) (Quit: Leaving) |
| 2021-04-27 09:24:54 | → | plutoniix joins (~q@cm-119-76-33-123.revip17.asianet.co.th) |
| 2021-04-27 09:25:18 | → | esp32_prog joins (esp32_prog@gateway/vpn/mullvad/esp32prog/x-46565127) |
| 2021-04-27 09:27:06 | → | idhugo joins (~idhugo@87-49-45-4-mobile.dk.customer.tdc.net) |
| 2021-04-27 09:28:19 | → | mmfood joins (~mmfood@94.234.53.15) |
| 2021-04-27 09:34:57 | → | daboss joins (31c7371a@gateway/web/cgi-irc/kiwiirc.com/ip.49.199.55.26) |
| 2021-04-27 09:35:30 | × | Chai-T-Rex quits (~ChaiTRex@gateway/tor-sasl/chaitrex) (Remote host closed the connection) |
| 2021-04-27 09:35:57 | → | Chai-T-Rex joins (~ChaiTRex@gateway/tor-sasl/chaitrex) |
| 2021-04-27 09:36:37 | <daboss> | hi everyone just wondering if something like this is code smell pseudo code classA { string user, classB admin } classB { construction(classA blah) } |
| 2021-04-27 09:37:07 | <daboss> | basically classA contains classB and classB refrences classA |
| 2021-04-27 09:37:23 | <lortabac> | daboss: what language is this? |
| 2021-04-27 09:37:42 | <daboss> | just psuedo code |
| 2021-04-27 09:37:53 | <lortabac> | what do you mean by "contains classB"? |
| 2021-04-27 09:38:00 | <daboss> | as a variable |
| 2021-04-27 09:38:18 | × | frozenErebus quits (~frozenEre@37.231.244.249) (Remote host closed the connection) |
| 2021-04-27 09:38:55 | <nitrix> | If you think it's a code smell, then OOP would classify as code smell then. You just described inheritance. |
| 2021-04-27 09:39:41 | <daboss> | its not inheritence just classA contains and instance of classB but classB refrences classA |
| 2021-04-27 09:39:47 | <daboss> | an* |
| 2021-04-27 09:40:11 | <nitrix> | You're doing composition, but then you circle back with a reference, that's literally inheritance. |
| 2021-04-27 09:40:24 | <daboss> | thought i'd ask here since haskell programmers are usually pretty good :) |
| 2021-04-27 09:40:44 | <daboss> | didn't see it that way |
| 2021-04-27 09:40:53 | × | tempate quits (~tempate@unaffiliated/tempate) (Ping timeout: 246 seconds) |
| 2021-04-27 09:41:42 | <daboss> | do you think its bad/ |
| 2021-04-27 09:42:20 | <daboss> | i think its not good design a good design would be classC that holds class A and classB |
| 2021-04-27 09:42:21 | <lortabac> | oh ok so "class" is not in the Haskell sense of "type class"? |
| 2021-04-27 09:42:35 | <daboss> | yeah like a class in C# |
| 2021-04-27 09:43:25 | <nitrix> | Bad at what/for what? What are we judging and by what metric? |
| 2021-04-27 09:44:41 | <daboss> | just a matter of opinion that's why I'm asking if you think its bad to have a circilar refrence |
| 2021-04-27 09:45:02 | <daboss> | if it indicates bad design |
| 2021-04-27 09:45:35 | <nitrix> | It indicates _a_ design. I don't know whether the design is useful or not. What problem is it solving? |
| 2021-04-27 09:46:57 | × | Axman6 quits (~Axman6@pdpc/supporter/student/Axman6) (Remote host closed the connection) |
| 2021-04-27 09:46:59 | <daboss> | it's a server and one of the polling for data methods is classB and classA is the server |
| 2021-04-27 09:47:13 | → | Axman6 joins (~Axman6@pdpc/supporter/student/Axman6) |
| 2021-04-27 09:47:43 | × | esp32_prog quits (esp32_prog@gateway/vpn/mullvad/esp32prog/x-46565127) (Remote host closed the connection) |
| 2021-04-27 09:49:02 | <nitrix> | So Server is just the base server, while PollableServer is capable of more (of being polled?) But somehow Server knows that it's within a PollableServer? Why? |
| 2021-04-27 09:49:44 | × | stree quits (~stree@68.36.8.116) (Ping timeout: 252 seconds) |
| 2021-04-27 09:50:51 | <daboss> | server starts and stops the poll but the poll needs most of the variables in server to complete tasks so server is passed as a variable to poll does that make sense? |
| 2021-04-27 09:52:49 | <nitrix> | I'd decouple the twos. Instead of the server starting/stopping the poll, it should emit events/have callbacks that can be registered to run at key moments. |
| 2021-04-27 09:53:12 | × | Gurkenglas quits (~Gurkengla@unaffiliated/gurkenglas) (Ping timeout: 240 seconds) |
All times are in UTC.