Sha256: 5a317289d3418af4fff3ec73aaf533b3c7f1633f0be9a96b36d9a4d8f387aa73

Contents?: true

Size: 832 Bytes

Versions: 200

Compression:

Stored size: 832 Bytes

Contents

This exercise introduces work with Julia's [type system](http://docs.julialang.org/en/stable/manual/types/)
and random [numbers](http://docs.julialang.org/en/stable/stdlib/numbers/).

Let's create a structure that will describe our robots
and then use it to create new instances and to work with them.

Generate the robot's name using randomness and don't worry about
collisions, tests sometimes will fail and that's alright.

Resetting the robot to the factory settings is like a surgery,
so we declare a method that will reset the robot's settings.
Take a note that skeleton method reset! has an exclamation mark suffix
meaning that the method changes given argument's contents.

Futhermore, experiment with testing and check out the situations when
there are lots of collisions (like when you generate name one thousand times).

Version data entries

200 entries across 200 versions & 1 rubygems

Version Path
trackler-2.2.1.139 tracks/julia/exercises/robot-name/.meta/hints.md
trackler-2.2.1.138 tracks/julia/exercises/robot-name/.meta/hints.md
trackler-2.2.1.137 tracks/julia/exercises/robot-name/.meta/hints.md
trackler-2.2.1.136 tracks/julia/exercises/robot-name/.meta/hints.md
trackler-2.2.1.135 tracks/julia/exercises/robot-name/.meta/hints.md
trackler-2.2.1.134 tracks/julia/exercises/robot-name/.meta/hints.md
trackler-2.2.1.133 tracks/julia/exercises/robot-name/.meta/hints.md
trackler-2.2.1.132 tracks/julia/exercises/robot-name/.meta/hints.md
trackler-2.2.1.131 tracks/julia/exercises/robot-name/.meta/hints.md
trackler-2.2.1.130 tracks/julia/exercises/robot-name/.meta/hints.md
trackler-2.2.1.129 tracks/julia/exercises/robot-name/.meta/hints.md
trackler-2.2.1.128 tracks/julia/exercises/robot-name/.meta/hints.md
trackler-2.2.1.127 tracks/julia/exercises/robot-name/.meta/hints.md
trackler-2.2.1.126 tracks/julia/exercises/robot-name/.meta/hints.md
trackler-2.2.1.125 tracks/julia/exercises/robot-name/.meta/hints.md
trackler-2.2.1.124 tracks/julia/exercises/robot-name/.meta/hints.md
trackler-2.2.1.123 tracks/julia/exercises/robot-name/.meta/hints.md
trackler-2.2.1.122 tracks/julia/exercises/robot-name/.meta/hints.md
trackler-2.2.1.121 tracks/julia/exercises/robot-name/.meta/hints.md
trackler-2.2.1.120 tracks/julia/exercises/robot-name/.meta/hints.md