mirror of
https://github.com/rjNemo/functional-programming-jargon
synced 2026-06-06 02:26:43 +00:00
Rollback file and add a link of Bahasa Indonesia translation
This commit is contained in:
parent
3e94a1a690
commit
aed87fef7f
3 changed files with 210 additions and 385 deletions
|
|
@ -1,7 +1,29 @@
|
|||
# Berkontribusi
|
||||
# Contributing
|
||||
|
||||
Proyek ini berkembang seiring dengan berkembangnya konten dari
|
||||
[_Functional Programming Jargon_](https://github.com/hemanth/functional-programming-jargon/)
|
||||
milik [hemanth](https://github.com/hemanth/). Maka dari itu sebaiknya Anda
|
||||
berkontribusi langsung ke _repository_ tersebut. Akan tetapi, kontribusi dalam
|
||||
bentuk apapun ke _repository_ ini sangat dipersilakan.
|
||||
This project is a work in progress. Contributions are very welcome.
|
||||
|
||||
## Hard rules
|
||||
* Run `npm test` to lint the code examples. Your changes must pass.
|
||||
* If you add a new definition or reorder them run `npm run toc` to regenerate the table of contents.
|
||||
|
||||
That said, we'd like to maintain some consistency across the document.
|
||||
|
||||
## Style guide
|
||||
1. Every definition should include at least one JavaScript code example.
|
||||
1. Definitions should be written using the simplest language possible. Every word should tell.
|
||||
1. Target programmers that have no functional programming experience.
|
||||
1. We value understandability more than accuracy. e.g. It's okay to describe a functor as a container.
|
||||
1. Don't overuse jargon even if defined elsewhere in the document.
|
||||
1. Link to terms defined in the document when you use them in a definition.
|
||||
1. Avoid big walls of text
|
||||
|
||||
## Code conventions
|
||||
[](https://github.com/feross/standard)
|
||||
|
||||
* Be consistent with other examples
|
||||
* Prefer arrow functions
|
||||
* Parenthesis around function arguments
|
||||
* Put output values in comments
|
||||
* Keep it short and simple
|
||||
|
||||
This styleguide is a WIP too! Send PRs :)
|
||||
|
|
|
|||
12
package.json
12
package.json
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "jargon-pemrograman-fungsional",
|
||||
"name": "functional-programming-jargons",
|
||||
"version": "1.0.0",
|
||||
"description": "Jargon dari dunia pemrograman fungsional secara sederhana!",
|
||||
"description": "Jargon from the functional programming world in simple terms!",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "eslint readme.md",
|
||||
|
|
@ -9,14 +9,14 @@
|
|||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/wisn/jargon-pemrograman-fungsional.git"
|
||||
"url": "git+https://github.com/hemanth/functional-programming-jargon.git"
|
||||
},
|
||||
"author": "wisn",
|
||||
"author": "hemanth",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/wisn/jargon-pemrograman-fungsional/issues"
|
||||
"url": "https://github.com/hemanth/functional-programming-jargon/issues"
|
||||
},
|
||||
"homepage": "https://github.com/wisn/jargon-pemrograman-fungsional#readme",
|
||||
"homepage": "https://github.com/hemanth/functional-programming-jargon#readme",
|
||||
"devDependencies": {
|
||||
"eslint": "^3.4.0",
|
||||
"eslint-config-standard": "^6.0.0",
|
||||
|
|
|
|||
Loading…
Reference in a new issue