OpenGenus/cosmos

Adapt consistent format for functions

Open

#5,883 创建于 2020年8月23日

在 GitHub 查看
 (3 评论) (2 反应) (0 负责人)C++ (3,724 fork)batch import
Hacktoberfest

仓库指标

Star
 (13,462 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

This is a(n):

  • New algorithm
  • Update to an existing algorithm
  • Error
  • Proposal to the Repository

Details:

I propose to adapt a consistent format for functions

 /* Description [What it does]
  *  - 
  * Arguments [The arguments and their type]
  *  - Arg_1 of type_n 
  *  - ...
  *  - - Arg_i of type_m
  * Return Value [What it returns and the type]
  *  -  ...
  *  
  */ 

This would give the code structure, prevent errors and achieve a specification to develop Hoare proofs for algorithms here.

贡献者指南