| Karaaaaa | Clean Code Episode 2 Notes | 05:49 |
|---|---|---|
| Karaaaaa | Names should reveal intent | 05:49 |
| Karaaaaa | shouldn't need comments with sufficient names | 05:49 |
| Karaaaaa | if the purpose changes, so should the name | 05:49 |
| Karaaaaa | names are communications tools that should be clearly pronounceable | 05:49 |
| Karaaaaa | prefixes are unnecessary | 05:49 |
| Karaaaaa | classes and variables are nouns, methods are verbs, booleans are predicates, but if a method returns a boolean, it should be written as a predicate, accessors use get then noun, properties should be nouns or predicates if boolean, enums should be adjectives | 05:49 |
| Karaaaaa | if a variable is only used near its declaration, it is ok to make it short so it is less redundant | 05:49 |
| Karaaaaa | scope should be proportional to name length for variables | 05:49 |
| Karaaaaa | functions and class names should be inversely proportional to scope | 05:49 |
| Karaaaaa | Avoid disinformation | 05:49 |
| Karaaaaa | avoid encodings | 05:49 |
| Karaaaaa | clean code should always read like well-written prose | 05:49 |
| Karaaaaa | my notes for clean code episode 2 | 05:49 |
| *** Karaaaaa has quit (None) | 05:49 | |
| *** dcammue has quit (Ping timeout: 480 seconds) | 09:38 | |
| svaye | Good morning dcammue fkoikoi and jkollie | 11:51 |
| jelkner | Good day Jetro websters! | 11:52 |
| jelkner | Can we talk about fkoikoi's email? | 11:52 |
| thomasboimah | Good morning jelkner | 11:52 |
| fkoikoi | Good morning jelkner | 11:52 |
| jelkner | thomasboimah: can we? | 11:53 |
| thomasboimah | sure | 11:53 |
| jelkner | did you get to read it? | 11:53 |
| thomasboimah | Yes | 11:53 |
| thomasboimah | It is about Decidim | 11:53 |
| jelkner | +1 | 11:53 |
| jkollie | Good morning everyone | 11:54 |
| jelkner | So let me first say i was thrilled to read "but I'm back now"! | 11:54 |
| jelkner | it is so much better to work in pairs | 11:54 |
| jelkner | so i'm happy that jkollie won't have to work alone | 11:54 |
| jelkner | i think fkoikoi | 11:55 |
| jelkner | is making a wonderful proposal | 11:55 |
| jelkner | and if y'all agree, the question then becomes logistics | 11:55 |
| jelkner | how to we implement her plan? | 11:55 |
| jelkner | thomasboimah: as you know, i describe the NOVA Web business plan as "Walking on two legs" | 11:56 |
| jelkner | one leg is Django custom web development | 11:56 |
| thomasboimah | and Decidim | 11:56 |
| jelkner | the other leg is Decidim support | 11:56 |
| jelkner | so the only way i can see to implement fkoikoi's proposal is for Tony to set up a decidim for Jetro and NOVA to use again | 11:57 |
| thomasboimah | yep! | 11:57 |
| jelkner | or, for Jetro to use the NoVASEN Decidim we already have | 11:57 |
| jelkner | there are advantages and disadvantages to both approaches | 11:58 |
| jelkner | let me ask you a very practical question thomasboimah | 11:58 |
| jelkner | can you support jkollie and fkoikoi attending a Jitsi meeting tomorrow at 22:00 UTC? | 11:59 |
| jelkner | i'm reluctant to do that | 11:59 |
| thomasboimah | yes i set that up this gone time. I was hoping we can try it you and I | 11:59 |
| jelkner | because we can't have you closing the meeting for everyone like you did last time! ;-) | 11:59 |
| thomasboimah | lol | 11:59 |
| jkollie | I think it will be okay if Tony can set up a decidim for jetro | 11:59 |
| jelkner | you don't need to be a host, thomasboimah | 12:00 |
| jelkner | i'll do that | 12:00 |
| jelkner | they just need to join the meeting | 12:00 |
| jelkner | let's think this through | 12:00 |
| jelkner | we could just have me bring up the question on my own | 12:00 |
| jkollie | or we can use the nova web site that is not being use right now | 12:00 |
| jelkner | +1 | 12:00 |
| jelkner | we could do that | 12:00 |
| jelkner | but it needs work | 12:00 |
| jelkner | so the question still comes back to us about that | 12:01 |
| jelkner | we are trying to focus all our effort on the NoVASEN site | 12:01 |
| mulbah | Yesterday I when through the business tracker code and I run it and add some invoice and Partner and try to understand the code base | 12:01 |
| dcammue | Yes, that way you will be the last to leave the meeting because everyone will be listening and hosted by you | 12:01 |
| mulbah | ACTION done | 12:01 |
| jelkner | if we do a lot of things poorly, we won't get as much benefit as we will doing a few things well | 12:01 |
| jelkner | dcammue: i'm concerned with bandwidth issues | 12:02 |
| jelkner | i was thinking we shouldn't try this until you had the office setup | 12:02 |
| jelkner | and starlink even | 12:02 |
| jelkner | because we can't have people dropping connections and rejoining over and over | 12:03 |
| dcammue | Can we try it later today? We are wt the office right now | 12:03 |
| jelkner | it is disruptive to the work flow | 12:03 |
| jelkner | and lowers to the benefit of the meeting | 12:03 |
| jelkner | it also makes if feel frustrating instead of motivating | 12:03 |
| dcammue | Or can we try it now? | 12:03 |
| jelkner | not now, dcammue | 12:03 |
| jelkner | but tomorrow yes | 12:03 |
| jelkner | i need to teach in a few minutes | 12:04 |
| jelkner | we are expecting a big snow storm on sunday | 12:04 |
| dcammue | Just like 5 minutes. Not long | 12:04 |
| svaye | jelkner, dcammue fkoikoi and I tried the jisti call on monday and it wasn't bad | 12:04 |
| jelkner | ok, let's give it a try | 12:05 |
| jelkner | hold on | 12:05 |
| jelkner | i'm old and i'm SLOW! :-( | 12:05 |
| dcammue | Not for jetro only svaye, for jeff to get us clearly | 12:05 |
| jelkner | yes dcammue | 12:05 |
| jelkner | that's the issue | 12:05 |
| thomasboimah | https://meet.mayfirst.org/jetrotest | 12:06 |
| svaye | let's try it then | 12:06 |
| dcammue | Try this jeff | 12:06 |
| dcammue | Try the link jeff | 12:07 |
| jelkner | no, dcammue | 12:07 |
| jelkner | you try this link: https://meet.mayfirst.org/DecidimMiniSummit | 12:07 |
| jelkner | that's the one we will be using tomorrow | 12:08 |
| jelkner | i just started the meeting | 12:08 |
| jelkner | we don't want you to start the meeting | 12:08 |
| *** mulbah has quit (Ping timeout: 480 seconds) | 12:16 | |
| jelkner | great seeing you!!! | 12:20 |
| jelkner | i love the place | 12:20 |
| thomasboimah | sure | 12:21 |
| jelkner | can't wait to get there! | 12:21 |
| jelkner | ok, gotta go | 12:21 |
| thomasboimah | WE can't wait to see you too | 12:21 |
| svaye | Have a wonderful day jelkner | 12:21 |
| jelkner | please put the meeting in the NOVA Web Calendar | 12:21 |
| jelkner | you too! | 12:21 |
| dcammue | Okay | 12:21 |
| jelkner | ACTION signs off... | 12:21 |
| *** jelkner has quit (Quit: Leaving) | 12:21 | |
| dcammue | Great day | 12:21 |
| *** svaye has quit (Quit: Leaving) | 12:22 | |
| *** BigBrother has joined #jetrowebdev | 13:16 | |
| jelkner | hello thomasboimah, so glad you're here! | 13:21 |
| thomasboimah | Hello jelkner | 13:21 |
| jelkner | can you please check irclogs.novawebdevelopment.coop ? | 13:21 |
| jelkner | it seems to be down | 13:21 |
| jelkner | that's BAD! | 13:21 |
| jelkner | i rely on those logs all the time | 13:21 |
| thomasboimah | yeah it is down i am transfer it to mayfirst | 13:21 |
| jelkner | ah, never mind | 13:21 |
| jelkner | that's great | 13:21 |
| jelkner | i'll be patient | 13:21 |
| thomasboimah | Okay Cheif | 13:22 |
| jelkner | LOL | 13:22 |
| thomasboimah | lol | 13:22 |
| jelkner | can you give me an ETA? | 13:22 |
| jelkner | i'm working on my VISA application | 13:22 |
| jelkner | we put the office address in the chat | 13:22 |
| jelkner | so i was going to look it up so i could fill out he form | 13:22 |
| thomasboimah | About 2hr | 13:23 |
| thomasboimah | Because the DNS need to prepagate | 13:24 |
| thomasboimah | *propagate | 13:25 |
| thomasboimah | jelkner, it is up now | 13:47 |
| thomasboimah | you can get the info you need from there | 13:48 |
| thomasboimah | jelkner, are you here? | 13:48 |
| jkollie | jelkner | 13:54 |
| *** thomasboimah has quit (Quit: Leaving) | 13:57 | |
| *** jkollie has quit (Quit: Leaving) | 14:31 | |
| *** gabriel_jetro has quit (Ping timeout: 480 seconds) | 14:36 | |
| *** svaye has quit (Quit: Leaving) | 14:38 | |
| jelkner | thomasboimah: the irc logs are back up. Have they been moved to MayFirst? | 14:53 |
| thomasboimah | Not yet but soon | 14:58 |
| *** thomasboimah has left #jetrowebdev (None) | 15:03 | |
| *** gabriel_jetro has quit (Ping timeout: 480 seconds) | 15:16 | |
| jelkner | hello gabriel_jetro | 16:29 |
| gabriel_jetro | Greetings, jelkner, how're you this evening? | 16:29 |
| jelkner | are mulbah and thomas joining us for the next exciting episode of Clean Code? | 16:30 |
| jelkner | Josh just arrived | 16:30 |
| jelkner | and Kara and Ben will be here shortly | 16:30 |
| jelkner | i've got it queued up already | 16:30 |
| gabriel_jetro | is it episode 4? | 16:31 |
| thomasboimah | Hi | 16:32 |
| jgurara | hi | 16:33 |
| jelkner | hi thomasboimah | 16:33 |
| jelkner | everyone is here | 16:33 |
| thomasboimah | Okay | 16:34 |
| jelkner | this episode is 1:34 minutes long | 16:34 |
| jelkner | class isn't that long | 16:34 |
| thomasboimah | Yep | 16:34 |
| jelkner | so we won't finish | 16:34 |
| jelkner | we'll have to continue | 16:34 |
| jelkner | is mulbh coming? | 16:35 |
| jelkner | mulbah | 16:35 |
| thomasboimah | Not too sure about | 16:35 |
| thomasboimah | That | 16:35 |
| Karaaaaa | hello thomasboimah | 16:35 |
| thomasboimah | But I can give him a call | 16:35 |
| thomasboimah | Hello karaaaaa | 16:36 |
| *** fkoikoi has quit (Ping timeout: 480 seconds) | 16:36 | |
| Penrosian | hello! | 16:37 |
| gabriel_jetro | Hello karaaaaa and everyone | 16:37 |
| jelkner | ok, we'll assume mulbah is not with us | 16:37 |
| gabriel_jetro | thomasboimah check inbox | 16:37 |
| jelkner | i'll go over to the computer | 16:37 |
| Karaaaaa | hello gabriel_jetro! | 16:38 |
| jelkner | you can tell them to tell me to start | 16:38 |
| Karaaaaa | ready? | 16:38 |
| thomasboimah | +1 | 16:38 |
| Penrosian | 3 | 16:38 |
| Penrosian | 2 | 16:38 |
| Penrosian | 1 | 16:38 |
| Penrosian | go | 16:38 |
| *** gabriel_jetro has quit (Remote host closed the connection) | 16:39 | |
| jelkner | Cunningham's rule: your code should do just what you'd expect | 16:43 |
| jelkner | keep the number of function arguments to a minimum | 16:44 |
| jelkner | as few arguments as possible | 16:44 |
| jgurara | 3 arguments max | 16:44 |
| gabriel_jetro | +1 | 16:44 |
| jgurara | no boolean arguments | 16:46 |
| jgurara | instead, write two functions, one forthe true case, one for the false case | 16:46 |
| Karaaaaa | pass data out in return value | 16:48 |
| Karaaaaa | make two functions instead of passing null values | 16:50 |
| jgurara | public at top, private at bottom | 16:52 |
| Karaaaaa | function calls should point down the listing with public high level functions at the top and private and increasingly detailed toward the bottom | 16:54 |
| *** Penrosian has quit (Remote host closed the connection) | 16:55 | |
| gabriel_jetro | +1 | 16:55 |
| jgurara | polymorphic interface | 17:06 |
| jgurara | switch statements fan-out, if one of the modules is changed, it can cause problems | 17:08 |
| Karaaaaa | low-level details should be separate from core application | 17:09 |
| jgurara | dependency injection | 17:10 |
| gabriel_jetro | functional programming tell us to write program with no assignment statement | 17:17 |
| gabriel_jetro | by passing a value into a set of function, or loop it through a set of function | 17:18 |
| jgurara | temporal coupling - do things in a specific order, example is open then close | 17:20 |
| gabriel_jetro | +1 | 17:20 |
| gabriel_jetro | side effect are advice to not be eliminated.... | 17:22 |
| jelkner | Functions that change state, should not return values | 17:22 |
| jelkner | Functions that return values, should not change state | 17:23 |
| jelkner | QCS | 17:23 |
| jelkner | Query-Command Separation | 17:23 |
| jelkner | oops, CQS | 17:25 |
| jelkner | i had the order backwards | 17:25 |
| jelkner | Tell, don't ask | 17:26 |
| jelkner | Tell objects what to do, don't ask them for their state | 17:27 |
| Karaaaaa | dont call methods of an object returned by a previous method call | 17:29 |
| jgurara | The Law of Demeter | 17:29 |
| gabriel_jetro | the law of demeter tell us it a bad idea for a single function to know the entire navigation structure of a system | 17:30 |
| jgurara | sequence, selection, iteration | 17:33 |
| gabriel_jetro | for example we just need to tell the function what to do..... "o.dosomething()"; | 17:33 |
| Karaaaaa | were stopping here for now | 17:36 |
| Karaaaaa | we'll start with the error-handling part next time | 17:36 |
| gabriel_jetro | okay... | 17:39 |
| jelkner | ok dcammue, did you add our meeting to the calendar yet? | 17:39 |
| jelkner | i haven't looked ;-) | 17:39 |
| dcammue | Yes | 17:40 |
| dcammue | I did | 17:41 |
| jelkner | i just edited it a bit | 17:42 |
| jelkner | you had it as an all day event | 17:42 |
| dcammue | Okay | 17:42 |
| jelkner | i changed it to 10 am to 12 noon EST | 17:42 |
| jelkner | and put in the notes 15:00 to 17:00 UTC | 17:42 |
| jelkner | cool, i'll see you there | 17:42 |
| jelkner | thomasboimah, gabriel_jetro, we don't know when we'll meet next | 17:43 |
| jelkner | it all depends on the weather | 17:43 |
| thomasboimah | Okay | 17:43 |
| gabriel_jetro | okay | 17:43 |
| jelkner | but i'll be home, and on irc a lot, while we are off | 17:43 |
| thomasboimah | If anything you can let us know through mail | 17:43 |
| jelkner | accept for the day i got to the Liberian embassy | 17:43 |
| jelkner | i'm hoping we have a day where school is closed but the embassy is open | 17:44 |
| jelkner | so i can get my VISQA | 17:44 |
| jelkner | VISA | 17:44 |
| jelkner | alright, i'm signing off... | 17:44 |
| jelkner | see you soon! | 17:44 |
| jelkner | ACTION signs off | 17:44 |
| *** jelkner has quit (Quit: Leaving) | 17:44 | |
| *** gabriel_jetro has quit (Quit: Leaving) | 17:45 | |
| *** Penrosian has quit (Quit: Leaving) | 17:47 | |
| Karaaaaa | goodbye! | 17:50 |
| *** Karaaaaa has quit (Quit: Leaving) | 17:50 | |
| *** tboimah has quit (None) | 17:51 | |
| *** jgurara has quit (Quit: Leaving) | 17:53 | |
| *** dcammue has quit (Ping timeout: 480 seconds) | 18:14 | |
| *** thomasboimah has quit (Quit: Connection closed for inactivity) | 19:47 | |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!