Elixir fishy coding lines and snippets
Published in
3 min readFeb 12, 2017
Catch them with code
Don’t miss understand the word fishy . You can use that word as suspect
or shady
. I just want to expose those shady things to light for beginners.
1. Finding the Terminal Width and height
2. Underscores in Number representation
You can specify underscore decimal numbers may contain underscores
(_ ) these are often used to separate groups of three digits when writing large numbers, so one million could be written 1_000_000 (or perhaps 100_0000 in China and Japan or 10_00_000 in India).
You can also perform any arithmetic operations as they are just numbers.
number = 1_000_777
number + 7_000