by cultofmetatron · 5y ago · 0 comments
I still have no idea what actual Pony code looks like and I'm not sure where to click to find it.
I even clicked the link "learning pony." Of all the places to see at least a hello world, I'd like one there please.
When I am checking out a language for the first time, I like to at least see a sample of what I'll be committing to writing for the next few months.
go lang as a sample you can run on the home page! rust used to but you can still press playground to get it.
https://playground.ponylang.io/
...but the example isn't very enlightening.
Here's a networking example:
https://github.com/ponylang/ponyc/tree/master/examples/net
with the Main being in net.pony and the rest being the infrastructure.
And here's the start of an HTTP 1.1 app server (basically, just the HTTP parser at this point).
https://tutorial.ponylang.io/getting-started/hello-world.htm...
> Pony doesn’t care about filenames other than that they end in .pony. But it might matter to you! By giving files good names, it can be easier to find the code you’re looking for later
I cannot imagine anyone is going to be learning to code from the first time from this Hello World page. Although, the rest of the page is very much not for beginners, so maybe this was a fluke.
Often with new programming languages I wish they would present themselves in the form "Here's what you need to know about this language if you're already a professional developer" instead of an actual tedious tutorial.