Recent submissions

Comment · 8 years ago
This is officially my favorite comment
Comment · 8 years ago
Yup! The plan is to have all types easily JSON serializable and let the language generate serialization and deserialization methods
Comment · 8 years ago
you can do

make i be (i + 1) * (a / b)

as well as

make i be (i + 1) times (a over b)

make i be (i + 1) times (a divided by b)

The choice is yours :)

Comment · 8 years ago
I agree. This will be hard to scale to an entire application, I would not recommend using this as of now except for very platform independent logic, but hopefully with new releases and more meta-programming (or perhaps meta-meta-programming) features more usage options could be viable.
Comment · 8 years ago
it depends, Zolang doesn't care for this (but it should, and will later on) and just forwards values. So if you're transpiling to languages that have a first index as 1... then yes :'D
Comment · 8 years ago
Originally this language was created simply for creating a sharable model layer which can have some embedded logic, so originally I wanted to keep non-programmers in mind while designing this as the model layer is the most basic part of an application and very easy for a non-programmer to understand the concept of.

But you can do (a + (b - c) * d) in Zolang as well, the choice is yours

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton