Better Code: ContractsBetter Code: Contracts ## SEAN PARENT & DAVE ABRAHAMS ## 20 23 October 01 - 06  ## Better Code: Contracts Dave Abrahams components whose interaction is based on precisely defined specifications of the mutual obligations — contracts." —Building bug-free O-O software: An Introduction to Design by Contract $ ^{™} $ https://www } invariant { size(first()) == size(second()) } Strong contracts simplify code ## What's in a "strong contract?" | Tradeoffs  Timur Doumler CppCon 18 September 2024 ; // assertion statement return db->retrieveWidget(i); } ## Contracts for C++ Document #: P2900R8 Date: 2024-07-26 Project: Programming Language C++ Audience: EWG com> Ville Voutilainen## Abstract In this paper, we propose a Contracts facility for C++ that has been carefully considered by SG21 with a high bar set for level of consensus 0 码力 | 181 页 | 4.44 MB | 1 年前3
Rustle: the first static analyzer for smart contracts in RustCHINA CONF 2023 第三届中国Rust开发者大会 6.17-6.18 @Shanghai ## Rustle: the first static analyzer for smart contracts in Rust Matthew Jiang Director of Security Team @ BlockSec Outline 1 Motivation 2 Background ## Motivation Why do we develop Rustle? ## 😍 ## Motivation Emerging chains with Rust as smart contracts language ## SOLANA NEAR NERVOS Polkadot CosmWasm ## Limitations of manual audit • Time-consuming Time-consuming • Expensive • Skilled auditors • Error-prone ## Current tools: Don’t support contracts in Rust  ## BlockSec Rustle0 码力 | 28 页 | 4.49 MB | 2 年前3
Candid: the interface description language of the Internet Computer smart contracts - 陈研Rust China Conf 2023 ## Candid: the interface description language of the Internet Computer smart contracts -- How DFINITY uses procedure macro to extend Rust Yan Chen DFINITY Foundation . This means that most enterprises already have the skill set needed to develop smart contracts, and no additional training to learn a new language or DSL is needed. The Fabric platform is also0 码力 | 701 页 | 9.02 MB | 2 年前3
Scrapy 2.6 Documentationspecific problems 167 5.1 Frequently Asked Questions 167 5.2 Debugging Spiders 173 5.3 Spiders Contracts 176 5.4 Common Practices 178 5.5 Broad Crawls 182 5.6 Using your browser's Developer Tools requests. ## SPIDER CONTRACTS Default:: {} A dict containing the spider contracts enabled in your project, used for testing spiders. For more info see Spiders Contracts. ## SPIDER CONTRACTS BASE Default: Default: { 'scrapy.contracts.default.UrlContract': 1, 'scrapy.contracts.default.ReturnsContract': 2, 'scrapy.contracts.default.ScrapesContract': 3, } A dict containing the0 码力 | 384 页 | 1.63 MB | 2 年前3
Hyperledger Fabric 2.1 Documentationa different approach, integrating many of the same characteristics as Bitcoin but adding smart contracts to create a platform for distributed applications. Bitcoin and Ethereum fall into a class of blockchain even digital music delivery. Fabric is the first distributed ledger platform to support smart contracts authored in general-purpose programming languages such as Java, Go and Node.js, rather than constrained languages (DSL). This means that most enterprises already have the skill set needed to develop smart contracts, and no additional training to learn a new language or DSL is needed. The Fabric platform is also0 码力 | 904 页 | 10.95 MB | 2 年前3
Scrapy 0.22 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 5.3 Spiders Contracts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 5.4 % response.url, level=log.WARNING) For more information, check the Logging section. 5.3 Spiders Contracts New in version 0.15. Note: This is a new feature (introduced in Scrapy 0.15) and may be subject gets cumbersome quickly. Scrapy offers an integrated way of testing your spiders by the means of contracts. This allows you to test each callback of your spider by hardcoding a sample url and check various0 码力 | 199 页 | 926.97 KB | 2 年前3
Coping With Other People's CodeDon't Want To Miss" • Friday 1:30pm, Sean Parent & David Abrahams "Better Code: Contracts" • Friday 2:45pm, David Sankel "Better Code: Validity" ## A ## Coping with Other0 码力 | 128 页 | 9.17 MB | 1 年前3
共 377 条
- 1
- 2
- 3
- 4
- 5
- 6
- 38
相关搜索词
设计契约保证异常处理代码审查C++Contractscontract assertionspreconditionpostcondition静态分析智能合约Rust安全漏洞区块链CandidDFINITY递归类型CoroutinesMultiplatform ProjectsInline classesProgressive modeHyperledger FabricBlockchainSmart ContractsChaincodePermissioned BlockchainScrapySpider ContractsStats CollectionItem PipelineLink Extractorspermissioned distributed ledger platformchaincodeMSPsmart contractsScrapy框架发行说明自动节流扩展设置选项Coping with Other People's CodeLaura SavinoAdobeBetter Code













