Language reference, more structured tutorial
Posted: Sat Oct 30, 2010 5:45 am
Hello!
I’m new here, but discovered Cobra language more than a year ago. Until now it is (in my opinion) one of the best designed programming languages I ever used. For the last months I couldn’t get much experience with it, but now I want to start some bigger projects. But it is difficult to get it right. Most of the language features are spread over a dozen How-Tos and mostly not explained, just used in source code. The language reference in the wiki is also far from being complete. It’s a pity that I have to search, try and fail for the correct commands. In most cases I can find the correct solution after looking a bit deeper. But sometimes I think „is it my fault or is there a bug in the compiler?“
The current problem is such an example. I want to use a struct instead of a class but it won’t compile, and I just don’t know what I’m doing wrong, for it works in C# code. In the meantime I downloaded the newest Cobra version and now it works. Shall I be happy or disappointed that something that easy didn’t work until probably last month?
I think, I just miss a good overview about all language features. The How-Tos are great, if you need information about a specific topic (like properties or lists), but they won’t give you a step-by-step overview about all language features. Maybe this isn’t necessary because you could have a look in the language reference though not every feature is explained. Maybe you could provide an alphabetical (or better: topical, then alphabetical) and complete(!) list of all reserved words? I still – after several months of occasionally use of Cobra – think I don’t know about all features just because I never found it in an index or in an example.
I’m new here, but discovered Cobra language more than a year ago. Until now it is (in my opinion) one of the best designed programming languages I ever used. For the last months I couldn’t get much experience with it, but now I want to start some bigger projects. But it is difficult to get it right. Most of the language features are spread over a dozen How-Tos and mostly not explained, just used in source code. The language reference in the wiki is also far from being complete. It’s a pity that I have to search, try and fail for the correct commands. In most cases I can find the correct solution after looking a bit deeper. But sometimes I think „is it my fault or is there a bug in the compiler?“
The current problem is such an example. I want to use a struct instead of a class but it won’t compile, and I just don’t know what I’m doing wrong, for it works in C# code. In the meantime I downloaded the newest Cobra version and now it works. Shall I be happy or disappointed that something that easy didn’t work until probably last month?
I think, I just miss a good overview about all language features. The How-Tos are great, if you need information about a specific topic (like properties or lists), but they won’t give you a step-by-step overview about all language features. Maybe this isn’t necessary because you could have a look in the language reference though not every feature is explained. Maybe you could provide an alphabetical (or better: topical, then alphabetical) and complete(!) list of all reserved words? I still – after several months of occasionally use of Cobra – think I don’t know about all features just because I never found it in an index or in an example.