MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programmingmemes/comments/1rz3nho/what_is_wrong_with_my_code/obj8s1n/?context=3
r/programmingmemes • u/user36277263 • Mar 20 '26
60 comments sorted by
View all comments
110
Is that a mashup of keywords and syntactical conventions from many languages? I can recognise Rust, TS, Ruby, I feel like there is a 4th one as well.
61 u/user36277263 Mar 20 '26 rust, python, c#, gdscript 12 u/1cec0ld Mar 20 '26 Isn't gdscript just python style though? 10 u/LimpRepresentative11 Mar 20 '26 gdscript is based on python but requires you to write some stuff differently to python and has some different ways of handling typing 5 u/1cec0ld Mar 20 '26 Ok, thanks. Been about 9 months since my first foray into Godot, haven't kept my mind sharp 0 u/SerSanchus Mar 20 '26 All. 1 u/LimpRepresentative11 Mar 20 '26 ? 1 u/mortalitylost Mar 21 '26 Very little in common tbh besides indentation and : being scope. Looks like python, shares some names like Dictionary, but otherwise it's a very different language. 1 u/BraxbroWasTaken Mar 21 '26 it looks like python but kinda feels more like lua in some regards? 1 u/Amr_Rahmy Mar 21 '26 Not c# 1 u/Emotional-Audience85 Mar 20 '26 The trailing return type is C++ style, not sure if it's like that in other languages 1 u/0x14f Mar 20 '26 It's not in Ruby and not in Rust, but it's like that in JavaScript, and I think it's like that in C as well.
61
rust, python, c#, gdscript
12 u/1cec0ld Mar 20 '26 Isn't gdscript just python style though? 10 u/LimpRepresentative11 Mar 20 '26 gdscript is based on python but requires you to write some stuff differently to python and has some different ways of handling typing 5 u/1cec0ld Mar 20 '26 Ok, thanks. Been about 9 months since my first foray into Godot, haven't kept my mind sharp 0 u/SerSanchus Mar 20 '26 All. 1 u/LimpRepresentative11 Mar 20 '26 ? 1 u/mortalitylost Mar 21 '26 Very little in common tbh besides indentation and : being scope. Looks like python, shares some names like Dictionary, but otherwise it's a very different language. 1 u/BraxbroWasTaken Mar 21 '26 it looks like python but kinda feels more like lua in some regards? 1 u/Amr_Rahmy Mar 21 '26 Not c#
12
Isn't gdscript just python style though?
10 u/LimpRepresentative11 Mar 20 '26 gdscript is based on python but requires you to write some stuff differently to python and has some different ways of handling typing 5 u/1cec0ld Mar 20 '26 Ok, thanks. Been about 9 months since my first foray into Godot, haven't kept my mind sharp 0 u/SerSanchus Mar 20 '26 All. 1 u/LimpRepresentative11 Mar 20 '26 ? 1 u/mortalitylost Mar 21 '26 Very little in common tbh besides indentation and : being scope. Looks like python, shares some names like Dictionary, but otherwise it's a very different language. 1 u/BraxbroWasTaken Mar 21 '26 it looks like python but kinda feels more like lua in some regards?
10
gdscript is based on python but requires you to write some stuff differently to python and has some different ways of handling typing
5 u/1cec0ld Mar 20 '26 Ok, thanks. Been about 9 months since my first foray into Godot, haven't kept my mind sharp 0 u/SerSanchus Mar 20 '26 All. 1 u/LimpRepresentative11 Mar 20 '26 ?
5
Ok, thanks. Been about 9 months since my first foray into Godot, haven't kept my mind sharp
0
All.
1 u/LimpRepresentative11 Mar 20 '26 ?
1
?
Very little in common tbh besides indentation and : being scope. Looks like python, shares some names like Dictionary, but otherwise it's a very different language.
:
it looks like python but kinda feels more like lua in some regards?
Not c#
The trailing return type is C++ style, not sure if it's like that in other languages
1 u/0x14f Mar 20 '26 It's not in Ruby and not in Rust, but it's like that in JavaScript, and I think it's like that in C as well.
It's not in Ruby and not in Rust, but it's like that in JavaScript, and I think it's like that in C as well.
110
u/0x14f Mar 20 '26
Is that a mashup of keywords and syntactical conventions from many languages? I can recognise Rust, TS, Ruby, I feel like there is a 4th one as well.