Programming: Difference between revisions

From 太極
Jump to navigation Jump to search
Line 39: Line 39:
= Coding Standards =
= Coding Standards =
* [http://homepage.divms.uiowa.edu/~luke/classes/STAT7400/coding.html STAT:7400 Computer Intensive Statistics], Luke Tierney
* [http://homepage.divms.uiowa.edu/~luke/classes/STAT7400/coding.html STAT:7400 Computer Intensive Statistics], Luke Tierney
* [https://medium.com/@alexobidiegwu/50-laws-of-best-practices-in-python-6942c7cafd56 50 Coding Laws That Would Make You A Decent Programmer]


= Be a good programmer =
= Be a good programmer =

Revision as of 06:45, 29 May 2024

TIOBE Index

Learn any programming language

Variable naming

Data Scientists, Your Variable Names Are a Mess. Clean Up Your Code

Alternatives to "tmp"

  • tempVar
  • buffer
  • placeholder
  • interim
  • transient
  • auxiliary
  • provisional

Collaboration

9 ways to improve collaboration between developers and designers

Code review

Deployment environment

Manifest file 清單檔案

Manifest file. A manifest file in computing is a file containing metadata for a group of accompanying files that are part of a set or coherent unit. For example, the files of a computer program may have a manifest describing the name, version number, license and the constituent files of the program.

Coding Standards

Be a good programmer

Research code

The Good Research Code Handbook

Code club

Ten simple rules to increase computational skills among biologists with Code Clubs

Tutorials

Keeping Your Code Clean With Prettier

Keeping Your Code Clean With Prettier, the playground.

$ cat > tmp.js <<EOF
(function ()
{
    window.alert('ok')
}())
EOF
$ npx prettier --write tmp.js
$ cat tmp.js
(function () {
  window.alert("ok");
})();