Faculty of Engineering and Mathematical Sciences 
Not logged in (login)

help4407


This forum is provided to promote discussion amongst students enrolled in Open Source Tools and Scripting (CITS4407).
 
Options:
RSS cloud
Jump to:

Clarifications for Assignment 2

1 of 390 articles shown, currently no other people reading this forum.
photo
From: Christopher M.
Date: Tue 26th May 2020, 7:36am
Actions: 
        Login-to-reply

 

"Lee de Byl" <10*0*8*[email protected]*u*e*t*u*a*e*u*a*> wrote:

> It certainly does, and I think the functional requirements are very clear. Sorry if there's been an excess of questions. What I'm 
> finding challenging though is implementing it cleanly -- it feels like it's easy for small, incremental changes in functionality to 
> quickly devolve into spaghetti code, which is why (from my perspective) I thought it might be better to clarify any requirements prior 
> to implementation :)

You'll always find it challenging if you're coming from programming in language(s) with more features than bash, such as enforced types, nested 
functions and scope, etc.

I've found it "enough" to just write many smaller functions, with fantastically-chosen verbs for names, and just have the main part of the script 
call them.

Related articles

Clarifications for Assignment 2 (all 41) RSS
├─ original   Fri 8th May 2020, 5:32pm, Jichunyang L.
├─ reply 1   Sun 10th May 2020, 11:18am, Christopher M.
├─ reply 2   Wed 13th May 2020, 9:55am, Jichunyang L.  O.P.
├─ reply 3   Wed 13th May 2020, 10:58am, Jichunyang L.  O.P.
├─ reply 4   Wed 13th May 2020, 3:44pm, Christopher M.
├─ reply 5   Wed 13th May 2020, 4:13pm, Jichunyang L.  O.P.
├─ reply 6   Wed 13th May 2020, 4:23pm, Christopher M.
├─ reply 7   Fri 15th May 2020, 3:11pm, Jichunyang L.  O.P.
├─ reply 8   Fri 15th May 2020, 5:12pm, Christopher M.
├─ reply 9   Mon 18th May 2020, 9:08am, Jichunyang L.  O.P.
├─ reply 10   Mon 18th May 2020, 10:39am, Christopher M.
├─ reply 11   Mon 18th May 2020, 12:51pm, Jichunyang L.  O.P.
├─ reply 12   Mon 18th May 2020, 5:09pm, Jichunyang L.  O.P.
├─ reply 13   Mon 18th May 2020, 5:38pm, Christopher M.
├─ reply 14   Fri 22nd May 2020, 9:54am, Jichunyang L.  O.P.
├─ reply 15   Fri 22nd May 2020, 10:02am, Christopher M.
├─ reply 16   Fri 22nd May 2020, 12:12pm, Lee dB.
├─ reply 17   Fri 22nd May 2020, 3:36pm, David M.
├─ reply 18   Fri 22nd May 2020, 3:40pm, Lee dB.
├─ reply 19   Fri 22nd May 2020, 5:02pm, Jordan M.
├─ reply 20   Fri 22nd May 2020, 6:21pm, Lee dB.
├─ reply 21   Fri 22nd May 2020, 6:24pm, David M.
├─ reply 22   Sat 23rd May 2020, 5:06pm, Kang L.
├─ reply 23   Sat 23rd May 2020, 8:19pm, Jichunyang L.  O.P.
├─ reply 24   Sat 23rd May 2020, 10:02pm, David M.
├─ reply 25   Sat 23rd May 2020, 10:08pm, David M.
├─ reply 26   Mon 25th May 2020, 8:59am, Lee dB.
├─ reply 27   Mon 25th May 2020, 1:46pm, Christopher M.
├─ reply 28   Mon 25th May 2020, 1:56pm, Lee dB.
├─ reply 29   Mon 25th May 2020, 2:55pm, Christopher M.
├─ reply 30   Mon 25th May 2020, 7:08pm, Lee dB.
├─ THIS   Tue 26th May 2020, 7:36am, Christopher M.
├─ reply 32   Tue 26th May 2020, 8:55am, Lee dB.
├─ reply 33   Tue 26th May 2020, 10:17am, Jichunyang L.  O.P.
├─ reply 34   Tue 26th May 2020, 5:44pm, Christopher M.
├─ reply 35   Tue 26th May 2020, 11:26pm, Jichunyang L.  O.P.
├─ reply 36   Wed 27th May 2020, 3:15pm, Christopher M.
├─ reply 37   Wed 27th May 2020, 4:01pm, David M.
├─ reply 38   Wed 27th May 2020, 11:19pm, Jichunyang L.  O.P.
├─ reply 39   Thu 28th May 2020, 9:43am, Christopher M.
└─ reply 40   Thu 28th May 2020, 10:36am, David M.
This Page


Program written by: [email protected]
Feedback welcome
Last modified: 11:27am Sep 21 2020