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).

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


Program written by: [email protected]
Feedback welcome
Last modified:  8:27am May 24 2020