OJacot-Descombes / dsharp

Open-source .NET compiler for D# (d-sharp), a "C#" with simplified syntax.
MIT License
0 stars 0 forks source link

Welcome #1

Open OJacot-Descombes opened 8 years ago

OJacot-Descombes commented 8 years ago

As @gafter has suggested here, I've opened a new repo for D#. You are welcome to contribute to this new language.

Does this language idea have a future? Would you like to write code with this language, with less typing as in C#, but without having to re-learn everything about methods, arrays, extension methods, assignment compatibility, operator precedence and all the rest?

iam3yal commented 7 years ago

Are you really, really going to call it D#? the name is problematic for few reasons.

  1. There's already a language called D.
  2. D syntax is a C-style based language.
  3. It looks more like Python than C# so you should probably call it P#.

Does this language idea have a future?

Probably not but P# might.

OJacot-Descombes commented 7 years ago

I don't think the name D# is problematic. There is also a programming language called C and this is not a problem for the name C#, in despite of the fact that C# is not a successor of it.

For the naming, I think that the semantics is much more important than how it looks (the syntax). The idea is that a C# developer can immediately start working with D#, just by knowing a few things about the new syntax.

iam3yal commented 7 years ago

@OJacot-Descombes C, C++ and C# share some things in common, primarily the curly style, your language doesn't follow the C# style nor the D style that also uses curly braces so this is actually problematic.

Sure, the semantics are important but I think that the name is JUST as important as the semantics, especially for new languages so I think that if you follow some familiar style like Python it might appeal to some people.

Do whatever you want I'm here just to voice my opinion about it. 😄

OJacot-Descombes commented 7 years ago

Thank you eyalsk, I really appreciate your opinion. Btw, you are the fist to post an opinion here. The project is really in a very early state and I encourage others to contribute too.

Your concern about the name is justified, but I really don't want the language to be associated with Python because Python is an interpreted, dynamic programming language with a dynamic type system.

Since this new language is conceived as "C# with an easier syntax", another possible name would be C-flat, Câ™­ with the extension ".cb". C# is a half tone higher than the musical pitch C. Câ™­ is a half tone lower, here standing for "less writing". This would preserve a kind of family touch.

iam3yal commented 7 years ago

@OJacot-Descombes or just Cyntax! with the extension .cx but yeah Câ™­ can be just as good. :)