Replies: 3 comments 4 replies
-
Yeah I agree error return typing is pretty ugly, but I really don't want to mess with exceptions. I've been thinking of finding another syntax for |
Beta Was this translation helpful? Give feedback.
-
In my opinion, I really dont matter of writing more code. I prefer write 5-10 lines instead of 1 if the plus 5 or 10 lines made the language simpler, its ok to me. I think the principle order for a language should be: thats why c still exists today. people that create new programming languages put more and more stuff and creates a lot of complexity. the programmers who will made your language a success are not smart like you. your language must be attractive to less intelligent people (like me :-D) and, at the same time, be capable of create really fast code for really good programmers. get their respect. a new programming language c-like just with modules (without header files) and with fat pointers could kill c, but no one create only this! i think today a new "c with classes", packages, modules, Uniform Function Call Syntax, immutable by default, slice, tuple, list, dictionary, assert and a not so hard memory management is more than enough. i dont like so much lambda or templates.. I think a way to convert c code to neat and neat code to c is much more important than add more features. |
Beta Was this translation helpful? Give feedback.
-
Convenience feature that will be used all the time in standard library and in practically force you to use too. "no macros! yeahhhh!" - ziglang Someone is doing it wrong! :-D When you choose RC over GC, thinking yourself that GC is better, ITS A GREAT DECISION, because you are choosing what people want not what you want. KEEP THIS PRINCIPLE of doing what c-like programmers (c/c++/java/dlang millions of programmers) really wants (only the common sense, the minimum) or you will fail exactly like Walter! Each new feature, each new great way of doing the same things means a bunch of less interested programmers. Succeeding is principle number one, not nerdy fun. Go Neat! |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm a programmer who would like a language:
So, i really like Neat!
but...
I really hate "?" style error propagation.
I dont see any problem in something like:
int i = foo();
if (i == -1) { print("error!"); return -1;}
or (if you really really need "-1" as possible value)
(int i, error e) = foo();
or use try and catch.. (with "throws" but without specifying all exceptions in function declarations, like swift)
I really prefer use "?" as ternary If. All c programmers too.
i really dont see any advantage to use SumTypes, the code became too ugly i think.
i prefer instanceOf as a keyword like java, but ok.
"(int | fail FileNotFound) foo() { return "test".readAll?.itoa; }"
very ugly!
i believe that neat has a potential to kill c, c++ and java. Like D try and fail.
to achieve this, the language should be fast and easily understandable for c, c++ and java programmers.
Go Neat!
Beta Was this translation helpful? Give feedback.
All reactions