É comum as pessoas defenderem que hash não é criptografia; fazem isso veemente a ponto de ridicularizar quando leem algo como “Fiz criptografia com MD5”. É tão errado assim falar isso?

Você já viu algum artigo em inglês comentando algo do tipo? Algo como “Hash is not Cryptography”? Agora pesquisa…

Zero config. Zero boilerplate. Zero unnecessary stuff.

Siler is github.com/leocavalcante/siler
RedBeanPHP is github.com/gabordemooij/redbean

Let’s start!

Make a new directory and enter it

λ mkdir siler-n-redbean-rocks && cd siler-n-redbean-rocks

Bring the kids to the playground:

λ composer require leocavalcante/siler dev-master \
&& composer require gabordemooij/redbean dev-master

Let’s type!

Create an index.phpfile.

<?phprequire_once __DIR__.'/vendor/autoload.php';use…

Right, for those who have already read ES6 Multiple Inheritance and More fun(ctions) with factories and assignments! saw my triathlete sample codes, but now it had evolved to Functional Programming.

Not much to talk about it. You probably now what FP is and if you don’t, I’ll not be explaining it right now.

Here is it.

I really encourage you to see the previous mentioned samples to get it. And you can see this sample above running on Babel Repl:

I’m using this “one letter arguments” ’cause I’m on my to Go, so.

Vi uns 3 ou 4 posts nessas últimas semanas sobre: “o mundo tá f#da, o hype tá complexo”. Certo, não exatamente com essas palavras, mas nessa pegada. Posts falando sobre como as novidades que temos visto são “coisas difíceis demais”, principalmente no front-end.

Concordo que 1 framework JavaScript por semana…

Leo Cavalcante

Living-standards of my ideias and opinions. Programming, Music, Tech & Arts.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store