Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 96
  1. YS DRY

    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.

  2. YS Summer Break

    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).

  3. The loop and more loops

    The looping function that offers the most control in YS is called loop.

  4. Sometimes it's hard to be lazy

    YS (being Clojure) is a functional language with immutable data structures and lazy evaluation.

  5. Is JSON really a subset of YAML?

    YAML is a superset of JSON.

  6. YS on jank, bb and ys

    Last Friday we got a YS program running on Go using Glojure.

  7. Fun in the SundaYS

    Let's do a Fun FridaYS post on Sunday.

  8. The YS Core YAML-Schema

    The term "YAML Schema" is a bit of unfortunate history.

  9. YS on the Go

    Yesterday I hinted at the idea of YS hosted on Go.

  10. Why YS Chose Clojure

    So YS compiles to Clojure.

  11. YS Streaming Mode

    We've seen before that YS can work with YAML files that contain multiple documents.

  12. ys and yq

    Today I met Mike Farah, the creator of yq!

  13. Calling Shell Commands from YAML

    Wouldn't it be handy to get data from shell commands in YAML?

  14. YAML Best Practices

    YAML has a Core Development Team of five people that I am a member of.

  15. YAML Explicit Keys and YS

    Did you know that in YAML you can write: yaml ?

  16. Fun FridaYS — Dragon Curve

    On Friday June 27th we found a task on Rosetta Code and converted the Clojure solution to YS.

  17. YS Comment Syntax

    What is the syntax for comments in YS?

  18. Making YS be Valid YAML

    I'll say it again.

  19. YS Currying in YAML Configs

    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.

  20. YS Mapping Key Uniqueness

    I've said it before, but YS code is 100% valid YAML.

  21. YS Testing Part 2

    Yesterday we talked about writing tests in YS.

  22. YS Testing

    YS is a great language for writing tests in.

  23. YAML gets YS in PHP, C#, Lua & Haskell

    YS is a YAML loader module.

  24. Building YS

    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.

  25. Fun with Function Tags

    We've seen different ways to call YS functions in YAML.

  26. About the -0

    The current version of YS as of today is 0.2.1.

  27. YS External Modules

    Reusing code is the cornerstone of good programming.

  28. YS Regular Expressions

    All modern programming languages have regular expressions.

  29. The Special Little Symbol

    Yesterday I showed you a FizzBuzz solution in YS.

  30. Exercism Comparisons

    Last week I told you about YS on Rosetta Code and yesterday I told you about YS on Exercism.

  31. YS Exercism

    Ever heard of a YS Exorcism?!

  32. YS / Java Interoperability

    We know that YS is made from Clojure and the Clojure is made from Java.

  33. YS Symbols

    Today I'd like to show you why I love how YS handles symbols.

  34. YS Shorties

    From the start, YAML has always been about making data clean and easy to read.

  35. The Truth about Sunday

    Or better yet...

  36. Dot Chain Special Operators

    Yesterday we wrote a YS program by porting a Clojure program from Rosetta Code.

  37. Fun FridaYS — Rosetta Code

    It's Friday and I feel like having some fun.

  38. YS Mode Switching

    I've mentioned YS "modes" in passing several times in this series.

  39. AI + Clojure Functions in YAML

    Yesterday we learned that all YS YAML input compiles to Clojure (Lisp) before being evaluated by a native binary Clojure interpreter runtime.

  40. How Does YS Work?

    What if I told you that...

  41. YS One Liners

    There's almost nothing I like more about programming than one liners.

  42. The gist of YS

    Yesterday we started learning about the ys CLI and there's a lot more cool stuff to learn about it.

  43. The `ys` Command

    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.

  44. whens and lets

    Do you know how a YS assignment actually works?

  45. More Fancier YS Conditionals

    Yesterday we looked at the cond and case functions.

  46. Fancier YS Conditionals

    Most languages support a case or switch construct which is a way to handle multiple conditions.

  47. When to when

    Yesterday we mentioned the when function as an alternative to if.

  48. if - We Must

    Yesterday we talked about if being a special form.

  49. if - You Are Special

    Yesterday I told you that if is a function.

  50. if - You Have to Ask!

    Today we're going to look at the if command.