TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Flow Playground – learn resource-oriented programming

31 pointsby rohamgabout 5 years ago

1 comment

rohamgabout 5 years ago
Hey Hackernews! We are excited to show you Flow Playground, the first time anyone can write smart contracts in Cadence, our new programming language<p>Cadence pairs linear types with object capabilities to create a secure and declarative model for digital ownership<p>All of this was built with love over the past couple of years by a small yet mighty team based in Vancouver, Canada<p>For more on resources, check out our blog post (<a href="https:&#x2F;&#x2F;hackernoon.com&#x2F;resources-programming-ownership-on-the-blockchain-lzb832d1" rel="nofollow">https:&#x2F;&#x2F;hackernoon.com&#x2F;resources-programming-ownership-on-th...</a>)<p>Smart contracts are uniquely suited to managing ownership of valuable assets, but most programming languages – even those designed specifically for smart contracts – don’t have any native abstractions for managing ownership, until Resources.<p>Resources have 3 rules:<p>1. Each Resource exists in exactly one place: no duplication, double-spend, or accidental deletion<p>2. Ownership of a Resource is defined by where it&#x27;s stored: no central ledger or smart contract<p>3. Access to methods on a Resource is limited to the owner<p>Check it out and let us know what you think