Instantly share code, notes, and snippets.

🤖
Always typing code

# William Oliveirawoliveiras

🤖
Always typing code
• Sort options
Created Oct 27, 2018
View empresas-que-contratam-acima-dos-40.md
Created Apr 15, 2018
View recusrive_clojure_TCO.clj
 (defn my-recursive-sum ([numbers] (my-recursive-sum 0 numbers)) ([total numbers] (if (empty? numbers) total (recur (+ (first numbers) total) (rest numbers)))))
Created Apr 15, 2018
 (defn my-recursive-sum ([numbers] (my-recursive-sum 0 numbers)) ([total numbers] (if (empty? numbers) total (my-recursive-sum (+ (first numbers) total) (rest numbers)))))
Created Apr 15, 2018
 (defn hello ([] (hello "Eae!?")) ([name] (str "Eae, " name "!?")))
Created Apr 15, 2018
View recusrive_clojure.clj
 (defn my-recursive-sum [total numbers] (if (empty? numbers) total (my-recursive-sum (+ (first numbers) total) (rest numbers))))
Created Apr 15, 2018
View recusrive_python.py
 def my_structured_sum (numbers): total = 0 for number in numbers: total += number return total
Created Feb 13, 2018
View app.py

Hello, pyenv!

'
Last active Aug 1, 2017
Exemplo de Gist para Code Review
View sample.md

# Code Review

Este arquivo possui um erro e você pode enviar uma sugestão de como resolver através do processo de code review, seja comentando na linha de código ou enviando uma mensagem logo abaixo do Gist.

Você consegue identificar o que está errado?

-pode ter a ver com o uso de listas no Gist *ou não

• eu nem sei mais
• faz tanto tempo que estou nessa tarefa
Created Jan 12, 2017
View generator-function-example-5.js
 function* generatorWithEnd() { yield 1; yield 2; yield 3; yield 4; yield 5; } let myIterator = generatorWithEnd();
Last active Jan 12, 2017
View generator-function-example-4.js
 myIterator.next().value // 2 myIterator.next().value // 3 myIterator.next().value // 4 myIterator.next().value // 5 myIterator.next().value // 6 myIterator.next().value // 7 myIterator.next().value // 8 myIterator.next().value // 9 myIterator.next().value // 10
You can’t perform that action at this time.