Adedee / ruby

0 stars 0 forks source link

Exercise 1 #1

Open Adedee opened 8 years ago

Adedee commented 8 years ago

https://github.com/Adedee/ruby/tree/master/Exercise01

Count the ocurrences of various alphabet letters in an input string and store it in hash.

segunadeleye commented 8 years ago

Read the guide given to you, name ruby files using snake case. File names like UserInput.rb are unacceptable. Camel-case should be used for class naming.

Please maintain 2 spaces for indentation.

Proper indentation is very important.

End your code with a white-space line.

Give meaningful names to all variables. For example, what will we say uword, ind, cnt, and h1 mean?

AUTHORED BY: Daniel Okwufulueze

DOkwufulueze commented 8 years ago

Why merge! on https://github.com/Adedee/ruby/blob/master/Exercise01/lib/UserInput.rb#L11?

DOkwufulueze commented 8 years ago

Naming convention not followed here: https://github.com/Adedee/ruby/blob/master/Exercise01/lib/user_input.rb#L8 and here: https://github.com/Adedee/ruby/blob/master/Exercise01/lib/user_input.rb#L10

Please name variables descriptively.