16 ms·
The audience of a programming language are developers. Developers like code, code speaks to us. Actual code samples are a few clicks away: http://tutorial.ponyl
by betenoire 11y ago
The audience of a programming language are developers. Developers like code, code speaks to us. Actual code samples are a few clicks away: http://tutorial.ponylang.org/getting-started/helloworld/ http://tutorial.ponylang.org/getting-started/helloworld/
pony-lang devs: put some examples on the home page!
- krat0sprakhar 11y agoCame here just to say this! Please add code snippets on the home page. Here are a few things that I'd like to get an idea about from the language's homepage - Concurrency, Type safety, Pattern Matching and Higher order functions. Visually examining a code-snippet that directly communicates the above would be a huge sell! A few examples to look at 1. Rust - https://www.rust-lang.org/ https://www.rust-lang.org/ 2. Elixir - http://elixir-lang.org/ http://elixir-lang.org/ 3. Go - https://golang.org/ https://golang.org/
- ggchappell 11y agoStrongly agree. The main webpage for any programming language should always include a bit of sample code -- generally a short but nontrivial complete program.
- systems 11y agocompletely agree, syntax does matter but your link doesnt show much syntax better look here http://tutorial.ponylang.org/expressions/methods/ http://tutorial.ponylang.org/expressions/methods/
- m8rl 11y agoActually, more example code at http://tutorial.ponylang.org/examples/examples/ http://tutorial.ponylang.org/examples/examples/
- 6502nerdface 11y agoWhile they're at it, they should also add the following list from the "Static vs dynamic" section of the manual to the web front-page, as a sort of crie de coeur. If your program compiles, it won't crash. There will never be an unhandled exception. There's no such thing as null, so your program will never try to dereference null. There will never be a data race. Your program will never deadlock. Your code will always be capabilities-secure. All message passing is causal.
- prutschman 11y agoWere you able to find more information about the runtime? I'm curious about things like message queueing and ordering guarantees.