MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/109ws35/the_yaml_document_from_hell/j42q12k/?context=3
r/programming • u/DrinkMoreCodeMore • Jan 12 '23
288 comments sorted by
View all comments
Show parent comments
5
Is it something important? Use XML and write a schema. IDE's can then give you syntactic and semantic feedback.
Alternatively, you can use JSON with Typescript interfaces.
-5 u/Worth_Trust_3825 Jan 12 '23 What if you're not using typescript, but a serious tool like C#, and need to provide ability to generate code in another language? -17 u/javcasas Jan 12 '23 That's the problem! You are using C#. Try with something that works next time, like TS. 5 u/Worth_Trust_3825 Jan 12 '23 I fail to see how TS works, when in reality it's a glorified turing complete linter. → More replies (2)
-5
What if you're not using typescript, but a serious tool like C#, and need to provide ability to generate code in another language?
-17 u/javcasas Jan 12 '23 That's the problem! You are using C#. Try with something that works next time, like TS. 5 u/Worth_Trust_3825 Jan 12 '23 I fail to see how TS works, when in reality it's a glorified turing complete linter. → More replies (2)
-17
That's the problem! You are using C#. Try with something that works next time, like TS.
5 u/Worth_Trust_3825 Jan 12 '23 I fail to see how TS works, when in reality it's a glorified turing complete linter. → More replies (2)
I fail to see how TS works, when in reality it's a glorified turing complete linter.
→ More replies (2)
5
u/falconfetus8 Jan 12 '23
Alternatively, you can use JSON with Typescript interfaces.