-
-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Topics: what is gigasecond about? #64
Comments
About: Date/time manipulation and using parameters. The exercise feels easy and a good starting point, can be solved with 1 liner if the user just want to get it done fast, since there are no tests for incorrect inputs. |
Hi Katrina,
I would say that gigasecond is more of an intermediate level task. I think people who actually use bash every day tend to use it on sys admin type tasks, such as automating the creation of a dev environment or some sort of directory structure or searching for files or line entries matching a pattern. Bash is great at that stuff but it can do so much more. So I would place Gigasecond slightly beyond the comfort zone of someone who is just getting comfy with Bash.
I would say the exercise is about doing some basic math in Bash and also about using the built-in date and time functionality. It's basically a walk into the past to see how it used to be done before perl and python et al. :-D
Dave
_[edited to remove quoted email]_
|
@budmc29 Are we missing tests? Or are you saying that we're not doing verification of the input format? @deepbsd thanks so much for your input on this one. I would concur that this looks like a somewhat intermediate (difficulty 3 or 4, maybe). |
Just the input format, all the tests assume that the user will pass a correct date. I still think the difficulty is easy, since you can get the exercise with it's current task done with a few google searches or man page readings. |
quote:I still think the difficulty is easy, since you can get the exercise with it's current task done with a few google searches or man page readings.
endquote
I guess this depends on whether exercism should appeal to the many new people installing Linux or using OSX for the first time. These people may have never written a line of code before, but might just be discovering the power of the command line for the first time. I would hope exercism could appeal to both the newest newbie as well as the most grizzled graybeard. -Dave
On Saturday, September 23, 2017 12:03 PM, Bud (Mugur) Chirica <[email protected]> wrote:
@budmc29 Are we missing tests? Or are you saying that we're not doing verification of the input format?
Just the input format, all the tests assume that the user will pass a correct date.
That's not a bad thing, it helps to keep the exercise simple, because if you add invalid format, the difficulty would be increased a lot.I still think the difficulty is easy, since you can get the exercise with it's current task done with a few google searches or man page readings.
|
@deepbsd what would you say the difficulty number is? |
@budmc29 I would say 4. Probably a 3 on Linux. Gnu date is not installed on OSX by default, so a user will probably need to install gdate using, say, Homebrew or another package manager. Once that is done the solution is a one-liner.
On the tags, maybe 'command substitution' instead of 'string transforming'? What do you think?
On Saturday, September 23, 2017 4:13 PM, Bud (Mugur) Chirica <[email protected]> wrote:
@deepbsd what would you say the difficulty number is?
Also, what do you think about my proposed tags for this exercise?—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Okay makes sense, didn't know about OSX not having Gnu date. We'll bump it for 4.
Yes, it sound good. Tags: date, time, command substitution. |
if we do not want to depend on utilities, including |
|
Closed via #128 |
In preparation for the launch of the Exercism redesign, we need to decide what topics to list for gigasecond.
See #61 for context.
@ConstantlyLost, @canel-rom1, @dantiel, @deepbsd, @fbi1714, @fwten, @mkrehbs, @patbl, @rpalo - Having solved this, what would you say that gigasecond is about? Did you struggle with anything in particular? What did you learn?
The text was updated successfully, but these errors were encountered: