代码的艺术(2)
来源:互联网 发布:比较好的写作软件 编辑:程序博客网 时间:2024/04/30 14:23
package com.qianmo.beziershopcart;/** * Created by wangjitao on 2017/4/10 0010. * E-Mail:543441727@qq.com */public class ShopBean { private String title; private String price; private int count; public ShopBean(String title, String price, int count) { this.title = title; this.price = price; this.count = count; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public String getPrice() { return price; }
much better,这里将展示如何在某句话内引用代码比如 <Javascript> </javascript>
,这样就可以直接引用了~
@requires_authorizationdef somefunc(param1='', param2=0): '''A docstring''' if param1 > param2: # interesting print 'Greater' return (param2 - param1 + 1) or Noneclass SomeClass: pass>>> message = '''interpreter... prompt'''
阅读全文
0 0
- 代码的艺术(2)
- 编写可读代码的艺术 (2)
- 编写可读代码的艺术 (1)
- 编写可读代码的艺术 (3)
- 编写可读代码的艺术 (4)
- 编写可读代码的艺术 (5)
- 编写可读代码的艺术 (6)
- 编写可读代码的艺术 (7)
- 编写可读代码的艺术 (8)
- 编写可读代码的艺术 (9)
- 编写可读代码的艺术 (10)
- 编写可读代码的艺术 (11)
- 编写可读代码的艺术 (12)
- 编写可读性代码的艺术(一)
- 编写可读性代码的艺术(二)
- 编写可读性代码的艺术(四)
- 写代码的艺术
- 修改代码的艺术
- IOS CoreText系列二:简单使用
- Oracle的ORA-04063错误
- 简书的第一篇文章
- CodeForces 729D Sea Battle(思维题)
- 代码的艺术
- 代码的艺术(2)
- Markdown语法测试
- 你的系统需要SMB2或者更高版本,才能访问共享
- eclipse总弹框Subversion Native Library Not Available
- PCM分析及音量控制
- 菜鸟学自动化测试(一)----selenium IDE
- Spring Boot中application.yml与bootstrap.yml的区别
- Qt用TCP和QCamera实现监控系统Demo
- 做一个合格的程序猿之浅析Spring IoC源码(二)BeanFactory初始化