Elixir fishy coding lines and snippets

Malreddy Ankanna
blackode
Published in
3 min readFeb 12, 2017

--

Catch them with code

Use code nets to catch fishy lines of code in elixir.

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

3. Function Execution Time

--

--

Malreddy Ankanna
blackode

Programmer & Writer, I write about coding, thoughts, ideas, personal musings, technical articles, and tutorials.https://bio.link/blackode