Open in app
Home
Notifications
Lists
Stories

Write
Suman Puri
Suman Puri

Home

Mar 22

Intro to Elixir Functions

Elixir functions are organised into modules defmodule Calculator do def squared(x) do x * x end def product_of(x, y) do x * y end def sum_of(x, y) do x + y end end Elixir comes with a Read-Eval-Print-Loop or REPL called ‘IEx’. …

Elixir

4 min read

Intro to Elixir Functions
Intro to Elixir Functions

Jan 16

Programming Phoenix LiveView: Notes — 1 (core & boundary)

with code properly belongs in the application’s boundary layer, the context. Use with in boundary code; use the pipe operator, |>, in core code, and seek to move as much code as possible from the boundary to the core! Build a query in the core and execute it in the…

Phoenix

1 min read


Jan 15

Notes: The Pyramid Principle -1

The purpose is to separate the thinking process from the writing process so that you can complete your thinking before you begin to write. Stop at the magical number seven. State the logic of the relationship Ordering from the top down Thinking from the bottom up Every document you write…

Writing

1 min read

Suman Puri

Suman Puri

Rails Developer with a keen interest in User Centered Design. Curator @instarter_com

Following
  • John Rampton

    John Rampton

  • HubSpot

    HubSpot

  • The Startup Grind Team

    The Startup Grind Team

  • Jason Kneen

    Jason Kneen

  • Jim Morrison 💛

    Jim Morrison 💛

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable