4 ms·
> I think it could use some side-by-side examples to show how it makes ordinary programming easier/more readable/etc. That's a fantastic idea. I'll focus to im
by levodelellis 4y ago
> I think it could use some side-by-side examples to show how it makes ordinary programming easier/more readable/etc.
That's a fantastic idea. I'll focus to improve this by the next release. Do you want short side by sides or real code examples? I'm worried that short ones may look contrive which is probably why you don't think it's useful? But I'm not certain people would look at anything that isn't short
Correct. I wasn't sure if I'll rewrite the reader class so I only used it in the example program section. The standard library is pretty nonexistent. We didn't want to make the language for only ourselves so we thought we should launch sooner rather than later
> I think your site could do a much better job on describing what's actually unique about this.
In another comment I mentioned that listing features tends to be ignored. Do you have any suggestions on how to counteract it? Maybe your side by side suggestion is ideal https://news.ycombinator.com/item?id=32460252 https://news.ycombinator.com/item?id=32460252
- thegeomaster 4y ago> In another comment I mentioned that listing features tends to be ignored. I can see where you're coming from, it might be different from person to person. I personally would've been happy to read through a short feature list highlighting the most interesting ideas that the language introduces. For example, you mention automatic memory management without reference counting and garbage collection, which sounded interesting but wasn't specific enough for me to figure out what's unique. In another comment I saw that you expanded on it and mentioned it tracks lifetimes across scopes, which then sounds super interesting. But I didn't find where to learn more about it. > Do you want short side by sides or real code examples? I think short examples can do the trick, if they are not toy examples but can work as part of a bigger program, if that makes sense. Coming to think of it, ideally it would be best to have an actual program written in the language. That's what I usually do to feel out a new programming language---seek out a codebase written in it and read through. So if you have something like that, maybe you could showcase features using small snippets from the program itself, maybe side-by-side with equivalents in a well-known language.