Is this being developed? How similar this is to ada ?
Hasn't been touched in over a year. https://github.com/KeliLanguage
Motivation – Keli Language
71–80 of 300 posts
Re: Motivation – Keli Language
#72Re: Motivation – Keli Language
#73Off serious topic: Naming it after you girlfriend is a risky move, like getting a tattoo of her. Better get married and stay that way or the next partner is gonna be like: "wtf", you still working on your tribute to your ex programming language!?
"Did something happen?"
"Sorry. I just had the wrong idea about you, Kaley."
Re: Motivation – Keli Language
#74Earlier quoted context omitted.
Any chance you have a write up about your experience with it??
I'm pretty sure this is a joke. There's no way you can run a SaaS on two lines of code... Unless it's some bizzarely simple calculator or something like that.
"ACTUALLY! ..."
Re: Motivation – Keli Language
#75I find the syntax as the author intended it to be: clean. I agree with the ambiguity of positional parameters at first glance. Although named parameters (e.g. in Scala) somewhat solve this, they are optional. Having the parameters with their explicit name makes it quite readable. myList .append(5) .reverse .put(5) atIndex(0) .++(anotherList) .select(x | x.isEven) Edit: The same feature makes it look a little weird wh…
wold've been nicer to me but ah well.
Re: Motivation – Keli Language
#76Re: Motivation – Keli Language
#77The two downsides mentioned regarding FP are not an issue if you are using a REPL and a Lisp:
- excellent IDE support, since you are working inside your program (which can be inspected)
- paradigm a la carte: you want named arguments? Go for it (split :string "foo,bar" :by ",")
you want different invocation syntax? (3 + 4) or (3 4 +) is just a macro away
and a bit easier to read than: (this Int).square | Int = this.*(this) YMMV you want to define your data shape? use your favorite schema language
you want monads? just use a library
you want go-routines? just use a library
you want compile time types? just use a libraryRe: Motivation – Keli Language
#78Off serious topic: Naming it after you girlfriend is a risky move, like getting a tattoo of her. Better get married and stay that way or the next partner is gonna be like: "wtf", you still working on your tribute to your ex programming language!?
debian says hello
[0] https://biblioweb.sindominio.net/telematica/open-sources-htm...
Re: Motivation – Keli Language
#79Earlier quoted context omitted.
JS uses the second example
It is because in Javascript everything can be translated to a string: 1 + "hello" == "1hello" Therefore, the type Array can have a join method that have predictable results (unlike Python).
As mentioned above, it's because Python supports `join` on any sequence, not just the array class. Personally, I find JavaScript's solution neater:
[..."hello"].join(" ") === "h e l l o"Re: Motivation – Keli Language
#80When giving an example on how infix notation reads better: // This is obviously not too right ",".splitBy("1,2,3,4,5") // This should be right, because it reads out more naturally "1,2,3,4,5".splitBy(",") It's funny that in Python split works this way but join doesn't. This is because in the case of split both arguments are strings, but for join one of the arguments is a Sequence, which is a general protocol rather t…
I get this might just boil down to preference but I absolutely hate named parameters. They’re biased towards new users of a language and quickly become painful to write once you’re familiar with the function call. Plus they don’t always improve writability outside of IDEs because you then have to memorise the parameter names and in some functions there’s several terms that could equally apply (if you’re using an IDE…