Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update nucleotide-count.jl comment (JuliaLang#329)
I got tricked by my own excitement beginning the julia track. I started solving the Nucleotide Count exercise without a complete reading of its introduction; the comment at the beginning seemed just enough: > count_nucleotides(strand) > The frequency of each nucleotide within `strand` as a dictionary. > Invalid strands raise a `DomainError`. So I read **frequency** and I think: count(nt) / length(strand) It was fun solving that.. Untill the tests revealed my mistake: we are asked to return the count of each nucleotide: not their frequencies. To avoid the confusion -for future students- I'd propose to replace "frequency" with "count" in the comment of the exercise's .jl file.
- Loading branch information