What programming language is this? And what is it supposed to do?
>>58170460
Kind of looks like an artist's retarded impression of Go. Not sure tho, famalam
>>58170460
Looks like code from a later version of the Ada programming language. I'm only familiar with what is now known as Ada83. It was just "Ada" when I learned it. Apparently they introduced OOP crap into Ada for Ada95. I believe there are Ada2005 and Ada2012 versions now.
"string_test.go"
I wonder what language this could be
>>58170460
That's the language they invented for Mr Robot.
>>58170702
This looks absolutely nothing like Ada.
>>58170460
>Revers
>"Reverse
I dont know. It looks like total shit and fucks with my autism levels.
>>58170460
>that line spacing
>those brackets
>that indentation
>that .go ending
meme/10
Looks like an artistic interpretation of Prolog.
>>58171102
Ada has "package" modules.
>>58171268
>{,}
>Ada
a dozen languages have a "package" keyword
It's Google Go, which is a Pascal(1)-like language with a thin coat of C-colored paint.
(1) Pascal via Modula-2 and Oberon. This Pascal heritage is likely why the other poster thought of Ada, since Ada is also a Pascal inspired language.
>>58170460
... It's C# retard
>>58172900
go doesn't have pattern matching
explainfor _, c
z80 assembly
You could try putting it on github and see what it gets auto-recognized as
>>58173035
That's how you loop, and using the underscore stops allocation to the index.for i, el := range someSlice {
//do shit
}
>>58173134
oh i see