code logs -> 2020 -> Mon, 16 Mar 2020< code.20200315.log - code.20200317.log >
--- Log opened Mon Mar 16 00:00:19 2020
00:43 Kindamoody is now known as Kindamoody[zZz]
02:25 Degi [Degi@Nightstar-9jd1hq.dyn.telefonica.de] has quit [Ping timeout: 121 seconds]
02:26 Degi [Degi@Nightstar-utucli.dyn.telefonica.de] has joined #code
02:37 catalyst [yaaic@Nightstar-v6lb30.cable.virginm.net] has quit [Connection closed]
02:41 catalyst [yaaic@Nightstar-v6lb30.cable.virginm.net] has joined #code
02:59 catalyst [yaaic@Nightstar-v6lb30.cable.virginm.net] has quit [Connection closed]
03:02 catalyst [yaaic@Nightstar-v6lb30.cable.virginm.net] has joined #code
04:06 Vorntastic [uid293981@Nightstar-ks9.9ff.184.192.IP] has joined #code
04:06 mode/#code [+qo Vorntastic Vorntastic] by ChanServ
04:43 macdjord [macdjord@Nightstar-rslo4b.mc.videotron.ca] has joined #code
04:43 mode/#code [+o macdjord] by ChanServ
05:45 celticminstrel [celticminst@Nightstar-80avij.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
06:23 macdjord is now known as macdjord|slep
06:53 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds]
07:05 ToxicFrog [ToxicFrog@ServerAdministrator.Nightstar.Net] has joined #code
07:05 mode/#code [+ao ToxicFrog ToxicFrog] by ChanServ
11:22 Kindamoody[zZz] is now known as Kindamoody
11:44 Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
11:46 Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has joined #code
11:46 mode/#code [+o Reiv] by ChanServ
12:23 macdjord|slep is now known as macdjord|wurk
12:29 celticminstrel [celticminst@Nightstar-80avij.dsl.bell.ca] has joined #code
12:30 mode/#code [+o celticminstrel] by ChanServ
14:09 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
14:09 mode/#code [+qo Vornicus Vornicus] by ChanServ
15:13 Kindamoody is now known as Kindamoody|afk
15:25 catalyst [yaaic@Nightstar-v6lb30.cable.virginm.net] has quit [Connection closed]
15:31 catalyst [yaaic@Nightstar-104mve.dab.02.net] has joined #code
15:55 Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has quit [[NS] Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
16:04 catalyst2 [yaaic@Nightstar-v6lb30.cable.virginm.net] has joined #code
16:07 catalyst [yaaic@Nightstar-104mve.dab.02.net] has quit [Ping timeout: 121 seconds]
16:16 Vorntastic [uid293981@Nightstar-ks9.9ff.184.192.IP] has quit [[NS] Quit: Connection closed for inactivity]
17:04 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code
19:09 Kindamoody|afk is now known as Kindamoody
19:20 SmithKurosaki [uid215460@Nightstar-ed0oqj.irccloud.com] has joined #code
19:31 catalyst2 [yaaic@Nightstar-v6lb30.cable.virginm.net] has quit [Ping timeout: 121 seconds]
20:13 catalyst [yaaic@Nightstar-v6lb30.cable.virginm.net] has joined #code
20:16 Reiv [NSkiwiirc@Nightstar-ih0uis.global-gateway.net.nz] has joined #code
20:16 mode/#code [+o Reiv] by ChanServ
20:40
<@sshine>
I need help naming things.
20:40
<@sshine>
I'm doing this test where people answer a bunch of yes/no questions.
20:41
<@sshine>
there are three superstates of the app: the one where people answer yes/no, the one where they see the result, and an elaboration page on the result, which is mostly static.
20:42
<@sshine>
I decided that there should be a model object shared across the answering and the result page.
20:42
<@sshine>
it's basically { questions, answers }, and has a property that indicates that the test is over when there are as many answers as there are questions.
20:43
<@sshine>
maybe QuestionPage, ResultPage, and the model could be named Questionnaire.
20:44
<@sshine>
until writing this, "Questionnaire" was the name of both the name of the model class and the page in which questions are asked, which was very confusing to me.
20:44
<@sshine>
but maybe I should simply suffix the pages with 'Page' and that settles it.
20:44
<&McMartin>
Maybe Questionnaire for the (presumably static) questions and QuestionnaireResponse for the answers, too.
20:44
<&McMartin>
Also: Quack
20:44
<@sshine>
Quack as in hi? :)
20:45
<&McMartin>
Quack as in "hello I am a rubber duck"
20:45
<@sshine>
oh, ha! I thought maybe it was a naming suggestion.
20:46
<@sshine>
yes, I like Questionnaire and QuestionnaireResponse for the components that get rendered. but what should I call my model class that contain the abstract model?
20:46
<&McMartin>
My inclination is for QuestionnaireResponse to *be* the model class.
20:47
<@sshine>
OK, that sounds good also.
20:47
<&McMartin>
(I have a strong bias towards very, very flat hierarchies, which means that abstract classes often end up being the first thing refactored out)
20:49
<@sshine>
maybe my use of 'abstract' was wrong here. I just meant that it's purely a model class, so independent of any frameworkey stuff.
20:50
<@sshine>
I'm gonna go with what you said. thanks for feedback. :)
21:05 catalyst [yaaic@Nightstar-v6lb30.cable.virginm.net] has quit [Ping timeout: 121 seconds]
21:07 catalyst [yaaic@Nightstar-104mve.dab.02.net] has joined #code
21:13 catalyst [yaaic@Nightstar-104mve.dab.02.net] has quit [Connection closed]
21:16 catalyst [yaaic@Nightstar-cs8rtl.dab.02.net] has joined #code
21:48 catalyst2 [yaaic@Nightstar-v6lb30.cable.virginm.net] has joined #code
21:51 catalyst [yaaic@Nightstar-cs8rtl.dab.02.net] has quit [Ping timeout: 121 seconds]
21:52 catalyst2 [yaaic@Nightstar-v6lb30.cable.virginm.net] has quit [Ping timeout: 121 seconds]
21:55 catalyst [yaaic@Nightstar-v6lb30.cable.virginm.net] has joined #code
22:01 catalyst [yaaic@Nightstar-v6lb30.cable.virginm.net] has quit [Ping timeout: 121 seconds]
22:42 catalyst [yaaic@Nightstar-v6lb30.cable.virginm.net] has joined #code
22:46 catalyst [yaaic@Nightstar-v6lb30.cable.virginm.net] has quit [Ping timeout: 121 seconds]
23:34 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
23:35 Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds]
23:46 catalyst [yaaic@Nightstar-v6lb30.cable.virginm.net] has joined #code
23:46 catalyst [yaaic@Nightstar-v6lb30.cable.virginm.net] has quit [[NS] Quit: Bye]
--- Log closed Tue Mar 17 00:00:20 2020
code logs -> 2020 -> Mon, 16 Mar 2020< code.20200315.log - code.20200317.log >

[ Latest log file ]