Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
My friend Vadim Bauer filed this GitHub issue for the helm-unittest project, to DRY (don't repeat yourself) out some of the repetitive test data.
-
When I started the Summer of YS blog series on June 1st, I committed to writing a blog post every day until September 1st (92 days in a row).
-
The looping function that offers the most control in YS is called loop.
-
YS (being Clojure) is a functional language with immutable data structures and lazy evaluation.
-
YAML is a superset of JSON.
-
Last Friday we got a YS program running on Go using Glojure.
-
Let's do a Fun FridaYS post on Sunday.
-
The term "YAML Schema" is a bit of unfortunate history.
-
Yesterday I hinted at the idea of YS hosted on Go.
-
So YS compiles to Clojure.
-
We've seen before that YS can work with YAML files that contain multiple documents.
-
Today I met Mike Farah, the creator of yq!
-
Wouldn't it be handy to get data from shell commands in YAML?
-
YAML has a Core Development Team of five people that I am a member of.
-
Did you know that in YAML you can write: yaml ?
-
On Friday June 27th we found a task on Rosetta Code and converted the Clojure solution to YS.
-
What is the syntax for comments in YS?
-
I'll say it again.
-
In functional programming, currying is a technique where a function that takes multiple arguments is called with fewer arguments than it takes and returns a function that takes the remaining arguments.
-
I've said it before, but YS code is 100% valid YAML.
-
Yesterday we talked about writing tests in YS.
-
YS is a great language for writing tests in.
-
YS is a YAML loader module.
-
Try running these commands on Linux or Mac: bash git clone https://github.com/yaml/yamlscript cd yamlscript make install Chances are that everything will just work.
-
We've seen different ways to call YS functions in YAML.
-
The current version of YS as of today is 0.2.1.
-
Reusing code is the cornerstone of good programming.
-
All modern programming languages have regular expressions.
-
Yesterday I showed you a FizzBuzz solution in YS.
-
Last week I told you about YS on Rosetta Code and yesterday I told you about YS on Exercism.
-
Ever heard of a YS Exorcism?!
-
We know that YS is made from Clojure and the Clojure is made from Java.
-
Today I'd like to show you why I love how YS handles symbols.
-
From the start, YAML has always been about making data clean and easy to read.
-
Or better yet...
-
Yesterday we wrote a YS program by porting a Clojure program from Rosetta Code.
-
It's Friday and I feel like having some fun.
-
I've mentioned YS "modes" in passing several times in this series.
-
Yesterday we learned that all YS YAML input compiles to Clojure (Lisp) before being evaluated by a native binary Clojure interpreter runtime.
-
What if I told you that...
-
There's almost nothing I like more about programming than one liners.
-
Yesterday we started learning about the ys CLI and there's a lot more cool stuff to learn about it.
-
There are different ways to use YS but the most common is to use it via the YS command-line tool: ys; a very versatile tool indeed.
-
Do you know how a YS assignment actually works?
-
Yesterday we looked at the cond and case functions.
-
Most languages support a case or switch construct which is a way to handle multiple conditions.
-
Yesterday we mentioned the when function as an alternative to if.
-
Yesterday we talked about if being a special form.
-
Yesterday I told you that if is a function.
-
Today we're going to look at the if command.