Welcome to ElixirBlocks: Difference between revisions

From ElixirBlocks
Jump to: navigation, search
(Created page with " This is my personal web project where I write small working blocks of useful Elixir Code. If you want to contribute here are the rules: 1. Write the smallest fully working code examples possible. Ideally, the reader should be able to copy and paste the code and have a working example running quickly. 2. Set assumptions prior to writing. If your code requires perquisite knowledge, be explicit and let the reader know. 3. Contextualize the code so the reader underst...")
 
No edit summary
 
(32 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Phoenix and Elixir Programming Wiki=
To view all Elixir tutorials and content just click [[Special:AllPages|Explore]]


This is my personal web project where I document blocks of Elixir and Phoenix code that I find useful.


This is my personal web project where I write small working blocks of useful Elixir Code.


If you want to contribute here are the rules:


1. Write the smallest fully working code examples possible. Ideally, the reader should be able to copy and paste the code and have a working example running quickly.
<source>
 
2. Set assumptions prior to writing. If your code requires perquisite knowledge, be explicit and let the reader know.
 
3. Contextualize the code so the reader understands why it's useful.
 
To write code you encapsulate it in the  '''syntaxhighlight'''  element. Click the blue Edit button to see the syntax of the code example below.
 
 
<syntaxhighlight>
def hello_world() do  
def hello_world() do  
   "hello world"
   "hello world"
end
end
</syntaxhighlight>
</source>


[[Special:UserLogin | LogIn or Create Account]]
[[Special:UserLogin | LogIn or Create Account]]

Latest revision as of 05:08, 31 August 2025

Phoenix and Elixir Programming Wiki

To view all Elixir tutorials and content just click Explore

This is my personal web project where I document blocks of Elixir and Phoenix code that I find useful.


def hello_world() do 
  "hello world"
end

LogIn or Create Account