美文网首页
Programming Tricks

Programming Tricks

作者: klory | 来源:发表于2018-05-10 00:09 被阅读6次

Define classes

  • What is the data that you want to deal with?
  • What will one instance of your class represent?
  • What information should each instance have as instance variables?
  • What instance methods should each instance have?
  • What should the printed version of an instance look like?

Gold Rules

  • The big trick is to understand everything you want to do first in your own words, so then you are translating them to the computer.
  • Start Small, keep it working

相关文章

  • Programming Tricks

    Define classes What is the data that you want to deal wit...

  • Useful tricks for Ubuntu / Ubunt

    Useful tricks Useful tricks in Linux using and server man...

  • tensorflow 试gan记录

    参考tricks: keep calm and train GAN gan tricks 外国友人调DCGAN 为...

  • 学习CSS的资源(暂记)

    1.Google: 关键词 MDN 2.CSS Tricks(https://css-tricks.com) 3....

  • Swift tricks-Phantom Types

    Swift tricks系列收集Swift牛逼的patterns和让你代码更加Swifty的tricks,持续更新...

  • Swift tricks-Nonmutating

    Swift tricks系列收集Swift牛逼的patterns和让你代码更加Swifty的tricks,持续更新...

  • Swift tricks-Enum Associated Va

    Swift tricks系列收集Swift牛逼的patterns和让你代码更加Swifty的tricks,持续更新...

  • tricks

    http://blog.csdn.net/u014365862/article/details/77159778h...

  • tricks

    睫毛膏:在不掉毛的纸巾上蘸,去掉多余液体,不会苍蝇腿;每刷一遍都用✨金属梳齿的睫毛刷疏通✨松润代言的那款 眼妆:先...

  • TRICKS

    C语言linux 向vi复制代码时缩紧会出错,先:set paste然后再Ctrl+Shift+V就可以了 kei...

网友评论

      本文标题:Programming Tricks

      本文链接:https://www.haomeiwen.com/subject/ouvgbttx.html