MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/w7lkik/why_carbon/ihkfru2
r/ProgrammerHumor • u/NilsNicNac • Jul 25 '22
1.4k comments sorted by
View all comments
Show parent comments
20
Well, it only make sens for scripting language
XMLScript wouldn't make a lot of sense
And we should also add a difference between compiled and interpreted languages. And also precise the one that have a JiT compiler
25 u/GoldenretriverYT Jul 25 '22 Nonono, it makes sense. XML script is code written using XMLso like<xmlscript> <if left="env.os" op="=" right="OS.Windows"> <call method="println"> <string>Hello Windows User!</string> </call> </if> </xmlscript> 8 u/[deleted] Jul 25 '22 Cursed 4 u/[deleted] Jul 25 '22 I hate you 4 u/RulerOf Jul 25 '22 Yes, officer, this comment right here. 1 u/nxqv Jul 25 '22 yuck 1 u/arnitdo Jul 25 '22 My eyes! 5 u/Saint-just04 Jul 25 '22 XMLScript wouldn't make a lot of senseWell, that's because it's a markup language. A thing that is actually appended in the name, so you know, kind of the same rule, except append the type of language.
25
Nonono, it makes sense. XML script is code written using XML
so like
<xmlscript> <if left="env.os" op="=" right="OS.Windows"> <call method="println"> <string>Hello Windows User!</string> </call> </if> </xmlscript>
8 u/[deleted] Jul 25 '22 Cursed 4 u/[deleted] Jul 25 '22 I hate you 4 u/RulerOf Jul 25 '22 Yes, officer, this comment right here. 1 u/nxqv Jul 25 '22 yuck 1 u/arnitdo Jul 25 '22 My eyes!
8
Cursed
4
I hate you
Yes, officer, this comment right here.
1
yuck
My eyes!
5
Well, that's because it's a markup language. A thing that is actually appended in the name, so you know, kind of the same rule, except append the type of language.
20
u/kaetir Jul 25 '22
Well, it only make sens for scripting language
XMLScript wouldn't make a lot of sense
And we should also add a difference between compiled and interpreted languages. And also precise the one that have a JiT compiler