this post was submitted on 19 Jul 2023
11 points (100.0% liked)

Trivia

236 readers
1 users here now

A place to quiz others with trivia questions related to the instance!

Please keep questions on the topic of trivia. If you have a question for how to do something please post it in a community relevant to what youre doing or [email protected]

Guidelines

Credits

Logo base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 1 year ago
MODERATORS
11
Guess the language: #1 (programming.dev)
submitted 1 year ago* (last edited 1 year ago) by Ategon to c/trivia
 

Throw your guesses down below. Answer will be given in a day

top 11 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 1 year ago (2 children)
[–] ICastFist 2 points 1 year ago

My thought as well. Ending if then blocks with end, while lacking ; looks a lot like it

[–] Paradox42 2 points 1 year ago

Yeah looks like Lua

[–] [email protected] 3 points 1 year ago

Matlab / Octave / Scilab?

[–] [email protected] 2 points 1 year ago

Could have been Ruby if it weren't for the function keyword at the start. ("then" is allowed but optional.) It's Lua

[–] Ategon 2 points 1 year ago* (last edited 1 year ago) (1 children)

Click to reveal answerAnd the answer is Lua! The syntax is a bit similar to other languages but there are some keywords like then and function that give it away. 75% of comments got it right

[–] pwshguy 2 points 1 year ago

Very close to VB. Glad I noticed it didn't have End If and End Function before I guessed.

[–] choroalp 1 points 1 year ago

julia probaly

[–] [email protected] 1 points 1 year ago
[–] UlrikHD 1 points 1 year ago* (last edited 1 year ago)

A global function in Lua would be my guess.

then, end, do feel so ridiculously annoying and pointless when you are used to python syntax.

[–] [email protected] 1 points 1 year ago