Skip to content

Commit fc8dcf5

Browse files
committed
translate kata pengantar / introduction
1 parent f727215 commit fc8dcf5

File tree

1 file changed

+35
-32
lines changed

1 file changed

+35
-32
lines changed

README.md

Lines changed: 35 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# clean-code-javascript
1+
# clean-code-javascript (Bahasa Indonesia)
22

3-
## Table of Contents
4-
1. [Introduction](#introduction)
5-
2. [Variables](#variables)
3+
## Daftar Isi
4+
1. [Kata Pengantar](#Kata Pengantar)
5+
2. [Variabel](#variabel)
66
3. [Functions](#functions)
77
4. [Objects and Data Structures](#objects-and-data-structures)
88
5. [Classes](#classes)
@@ -14,34 +14,37 @@
1414
11. [Comments](#comments)
1515
12. [Translation](#translation)
1616

17-
## Introduction
18-
![Humorous image of software quality estimation as a count of how many expletives
19-
you shout when reading code](http://www.osnews.com/images/comics/wtfm.jpg)
20-
21-
Software engineering principles, from Robert C. Martin's book
22-
[*Clean Code*](https://www.amazon.com/Clean-Code-Handbook-Software-Craftsmanship/dp/0132350882),
23-
adapted for JavaScript. This is not a style guide. It's a guide to producing
24-
[readable, reusable, and refactorable](https://github.com/ryanmcdermott/3rs-of-software-architecture) software in JavaScript.
25-
26-
Not every principle herein has to be strictly followed, and even fewer will be
27-
universally agreed upon. These are guidelines and nothing more, but they are
28-
ones codified over many years of collective experience by the authors of
29-
*Clean Code*.
30-
31-
Our craft of software engineering is just a bit over 50 years old, and we are
32-
still learning a lot. When software architecture is as old as architecture
33-
itself, maybe then we will have harder rules to follow. For now, let these
34-
guidelines serve as a touchstone by which to assess the quality of the
35-
JavaScript code that you and your team produce.
36-
37-
One more thing: knowing these won't immediately make you a better software
38-
developer, and working with them for many years doesn't mean you won't make
39-
mistakes. Every piece of code starts as a first draft, like wet clay getting
40-
shaped into its final form. Finally, we chisel away the imperfections when
41-
we review it with our peers. Don't beat yourself up for first drafts that need
42-
improvement. Beat up the code instead!
43-
44-
## **Variables**
17+
## Kata Pengantar
18+
![Gambar lucu dari estimasi kualitas perangkat lunak sebagai hitungan berapa
19+
banyak umpatan yang keluar saat membaca kode](http://www.osnews.com/images/comics/wtfm.jpg)
20+
21+
Prinsip Rekayasa Perangkat Lunak, oleh Robert C. Buku
22+
[*Clean Code*](https://www.amazon.com/Clean-Code-Handbook-Software-Craftsmanship/dp/0132350882) oleh Martin,
23+
diadaptasi untuk JavaScript. Perlu diingat bahwa panduan ini bukan tentang gaya
24+
penulisan kode. Panduan ini lebih tentang membuat perangkat lunak yg [mudah dibaca,
25+
dapat digunakan kembali, dan mudah direfaktor kembali](https://github.com/ryanmcdermott/3rs-of-software-architecture)
26+
dalam bahasa Javascript.
27+
28+
Tidak semua prinsip disini harus diikuti secara ketat, dan bahkan lebih sedikit
29+
akan lebih mudah disepakati bersama. Ini hanyalah panduan-panduan saja dan tidak
30+
lebih, tetapi panduan-panduan ini dikodifikiasi selama bertahun-tahun dari
31+
pengalaman kolektif penulis buku *Clean Code*.
32+
33+
Rekayasa-rekayasa perangkat lunak kita baru berumur 50 tahun lebih sedikit. dan
34+
kita masih belajar banyak. Ketika arsitektur perangkat lunak setua arsitektur itu
35+
sendiri, mungkin kita memiliki aturan yang lebih ketat untuk diikuti. Untuk saat
36+
ini, biarkan panduan ini berfungsi sebagai batu ujian (touchstone) untuk mengukur
37+
kualitas kode JavaScript yang kamu dan tim kamu buat.
38+
39+
Satu hal lagi: mengetahui hal ini bukan berarti membuat kamu menjadi seorang
40+
pengembang software (developer) yg baik secara tiba-tiba, dan bekerja dengannya
41+
bukan berarti kamu tidak akan membuat kesalahan-kesalahan. Setiap potongan kode
42+
dimulai sebagai draft pertama, seperti tanah liat basah yg terus dibentuk menjadi
43+
bentuk terakhirnya. Akhirnya, kita memahat ketidaksempurnaan ketika kita mereview
44+
dengan teman dalam tim kita. Apabila draft pertamamu butuh perbaikan, jangan
45+
pukul dirimu sendiri. Pukul Kodenya !
46+
47+
## **Variabel**
4548
### Use meaningful and pronounceable variable names
4649

4750
**Bad:**

0 commit comments

Comments
 (0)