[fpc-other] Google Invents Pascal
noreply at z505.com
noreply at z505.com
Mon May 22 04:21:51 CEST 2017
On 2017-05-18 10:20, Mark Morgan Lloyd wrote:
> According to
> http://www.theregister.co.uk/2017/05/17/android_kotlin_java_alternative/
> a language called Kotlin is now one of the preferred few for Android
> development.
>
> According to https://kotlinlang.org/docs/reference/basic-syntax.html
> it looks like this:
>
> fun maxOf(a: Int, b: Int): Int {
> if (a > b) {
> return a
> } else {
> return b
> }
> }
>
> I've got a vague recollection that this is not the first
> recently-defined language which, at least for special cases, puts the
> type after the variable or function name. But apart from bowing to
> dominant usage (braces rather than begin-end and so on) this does
> appear remarkably Pascal-like.
>
Oh for god's sake... yet another language with similar syntax just like
fpc/golang/nimrod, yet another language to learn that does almost
exactly the same thing as FPC but with slightly different syntax ;-)
At appears to be stolen from Qomp/fpc/golang definitely, possibly a
little Nimrod
More information about the fpc-other
mailing list