Skip to content

Commit eff5a47

Browse files
authored
Merge branch 'master' into codeEditors
2 parents cac375c + 0fd4e9d commit eff5a47

File tree

208 files changed

+1767
-1488
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

208 files changed

+1767
-1488
lines changed

1-js/01-getting-started/1-intro/article.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,13 @@ Engines are complicated. But the basics are easy.
4141
2. Then it converts ("compiles") the script to the machine language.
4242
3. And then the machine code runs, pretty fast.
4343
44+
<<<<<<< HEAD
4445
The engine applies optimizations at each step of the process. It even watches the compiled script as it runs, analyzes the data that flows through it, and applies optimizations to the machine code based on that knowledge. When it's done, scripts run quite fast.
4546
'''
47+
=======
48+
The engine applies optimizations at each step of the process. It even watches the compiled script as it runs, analyzes the data that flows through it, and further optimizes the machine code based on that knowledge.
49+
```
50+
>>>>>>> fcfef6a07842ed56144e04a80c3a24de049a952a
4651
4752
## What can in-browser JavaScript do?
4853

@@ -66,7 +71,7 @@ JavaScript's abilities in the browser are limited for the sake of the user's saf
6671

6772
Examples of such restrictions include:
6873

69-
- JavaScript on a webpage may not read/write arbitrary files on the hard disk, copy them or execute programs. It has no direct access to OS system functions.
74+
- JavaScript on a webpage may not read/write arbitrary files on the hard disk, copy them or execute programs. It has no direct access to OS functions.
7075

7176
Modern browsers allow it to work with files, but the access is limited and only provided if the user does certain actions, like "dropping" a file into a browser window or selecting it via an '<input>' tag.
7277

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,42 @@
11

2-
# Manuals and specifications
2+
# Εγχειρίδια και προδιαγραφές
33

4-
This book is a *tutorial*. It aims to help you gradually learn the language. But once you're familiar with the basics, you'll need other sources.
4+
Αυτό το βιβλίο είναι ένα *εκπαιδευτικό υλικό*. Στόχος του είναι να σας βοηθήσει να μάθετε σταδιακά τη γλώσσα. Αλλά μόλις εξοικειωθείτε με τα βασικά, θα χρειαστείτε άλλες πηγές.
55

6-
## Specification
6+
## Προδιαγραφή
77

8-
[The ECMA-262 specification](https://www.ecma-international.org/publications/standards/Ecma-262.htm) contains the most in-depth, detailed and formalized information about JavaScript. It defines the language.
8+
[Tο ECMA-262 προδιαγραφή](https://www.ecma-international.org/publications/standards/Ecma-262.htm) περιέχει την πιο αναλυτική, λεπτομερή και τυποποιημένη πληροφορία σχετικά με την JavaScript. Ορίζει την ίδια τη γλώσσα.
99

10-
But being that formalized, it's difficult to understand at first. So if you need the most trustworthy source of information about the language details, the specification is the right place. But it's not for everyday use.
10+
Αλλά είναι τόσο επίσημο, είναι δύσκολο να το καταλάβεις στην αρχή. Έτσι, εάν χρειάζεστε την πιο αξιόπιστη πηγή πληροφοριών σχετικά με τις λεπτομέρειες της γλώσσας, η προδιαγραφή αυτή είναι το σωστό μέρος. Αλλά δεν είναι για καθημερινή χρήση.
1111

12-
A new specification version is released every year. In-between these releases, the latest specification draft is at <https://tc39.es/ecma262/>.
12+
Μια νέα έκδοση προδιαγραφών κυκλοφορεί κάθε χρόνο. Μεταξύ αυτών των εκδόσεων, η τελευταία έκδοση υπάρχει και στο <https://tc39.es/ecma262/>.
1313

14-
To read about new bleeding-edge features, including those that are "almost standard" (so-called "stage 3"), see proposals at <https://github.com/tc39/proposals>.
14+
Για να διαβάσετε για τα πιο πρόσφατα νέα σχετικά για τα χαρακτηριστικά, συμπεριλαμβανομένων εκείνων που είναι "almost standard" (το λεγόμενο "stage 3") , βλέπε στο <https://github.com/tc39/proposals>.
1515

16-
Also, if you're in developing for the browser, then there are other specs covered in the [second part](info:browser-environment) of the tutorial.
16+
Επίσης, εάν αναπτύσσεται για το πρόγραμμα περιήγησης, τότε υπάρχουν και άλλες προδιαγραφές που καλύπτονται στο [δεύτερο μέρος](info:browser-environment) του εκπαιδευτικού υλικού.
1717

18-
## Manuals
18+
## Εγχειρίδια
1919

20-
- **MDN (Mozilla) JavaScript Reference** is a manual with examples and other information. It's great to get in-depth information about individual language functions, methods etc.
20+
- **MDN (Mozilla) JavaScript Reference** είναι ένα εγχειρίδιο με παραδείγματα και άλλες πληροφορίες. Είναι καλό να λάβετε σε βάθος πληροφορίες σχετικά με μεμονωμένες λειτουργίες γλώσσας, μεθόδους κλπ.
2121

22-
One can find it at <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference>.
22+
Μπορεί κανείς να το βρει στο <https://developer.mozilla.org/en-US/ docs/Web/JavaScript/Reference>.
2323

24-
Although, it's often best to use an internet search instead. Just use "MDN [term]" in the query, e.g. <https://google.com/search?q=MDN+parseInt> to search for `parseInt` function.
24+
Αν και είναι καλύτερα να χρησιμοποιήσετε μια αναζήτηση στο Διαδίκτυο. Απλά χρησιμοποιήστε "MDN [όρος]" σαν ερώτημα, πχ. <https://google.com/search?q=MDN+parseInt> αναζήτηση σχετικά για το `parseInt` function.
2525

2626

27-
- **MSDN** – Microsoft manual with a lot of information, including JavaScript (often referred to as JScript). If one needs something specific to Internet Explorer, better go there: <http://msdn.microsoft.com/>.
27+
- **MSDN** – Microsoft εγχειρίδιο με πολλές πληροφορίες, όπως JavaScript (συχνά αναφέρεται ως JScript). Εάν κάποιος χρειάζεται κάτι συγκεκριμένο για τον Internet Explorer, καλύτερα να πάτε στο: <http://msdn.microsoft.com/>.
2828

29-
Also, we can use an internet search with phrases such as "RegExp MSDN" or "RegExp MSDN jscript".
29+
Επίσης, μπορούμε να χρησιμοποιήσουμε μια αναζήτηση στο διαδίκτυο με φράσεις όπως "RegExp MSDN" ή "RegExp MSDN jscript".
3030

31-
## Compatibility tables
31+
## Πίνακες συμβατότητας
3232

33-
JavaScript is a developing language, new features get added regularly.
33+
JavaScript είναι μια αναπτυσσόμενη γλώσσα, νέα χαρακτηριστικά προστίθενται τακτικά.
3434

35-
To see their support among browser-based and other engines, see:
35+
Για να δείτε την υποστήριξή τους μεταξύ των μηχανών περιήγησης και άλλων προγραμμάτων περιήγησης, δείτε:
3636

37-
- <http://caniuse.com> - per-feature tables of support, e.g. to see which engines support modern cryptography functions: <http://caniuse.com/#feat=cryptography>.
38-
- <https://kangax.github.io/compat-table> - a table with language features and engines that support those or don't support.
37+
- <http://caniuse.com> - ανά χαρακτηριστικό πίνακες υποστήριξης, π. χ. για να δείτε ποιες μηχανές υποστηρίζουν τη σύγχρονη λειτουργία για cryptography: <http://caniuse.com/#feat=cryptography>.
38+
- <https://kangax.github.io/compat-table> - ένας πίνακας με χαρακτηριστικά γλώσσας και μηχανές που υποστηρίζουν ή που δεν υποστηρίζουν.
3939

40-
All these resources are useful in real-life development, as they contain valuable information about language details, their support etc.
40+
Όλοι αυτές οι πήγες είναι χρήσιμοι στο real-life development, καθώς περιέχουν πολύτιμες πληροφορίες σχετικά με τις γλωσσικές λεπτομέρειες, την υποστήριξή τους κλπ.
4141

42-
Please remember them (or this page) for the cases when you need in-depth information about a particular feature.
42+
Παρακαλούμε να τους θυμάστε (ή αυτή τη σελίδα) για τις περιπτώσεις που χρειάζεστε σε βάθος πληροφορίες σχετικά για ένα συγκεκριμένο χαρακτηριστικό.
Lines changed: 2 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,88 +1,46 @@
1-
# Code editors
21
# Επεξεργαστές κώδικα
32

4-
A code editor is the place where programmers spend most of their time.
5-
63
Ένας επεξεργαστής κώδικα είναι ένας τόπος όπου οι προγραμματιστές περνούν το μεγαλύτερο μέρος του χρόνου τους.
74

8-
There are two main types of code editors: IDEs and lightweight editors. Many people use one tool of each type.
9-
105
Υπάρχουν δύο κύριοι τύποι επεξεργαστών κώδικα: [IDEs](https://el.wikipedia.org/wiki/Ολοκληρωμένο_περιβάλλον_ανάπτυξης) και lightweight editors. Πολλοί άνθρωποι χρησιμοποιούν ένα εργαλείο για κάθε τύπο.
116

12-
137
## IDE
148

15-
The term [IDE](https://en.wikipedia.org/wiki/Integrated_development_environment) (Integrated Development Environment) refers to a powerful editor with many features that usually operates on a "whole project." As the name suggests, it's not just an editor, but a full-scale "development environment."
16-
179
Ο όρος [IDE](https://en.wikipedia.org/wiki/Integrated_development_environment) (Ολοκληρωμένο περιβάλλον ανάπτυξης) αναφέρεται σε ένα ισχυρό πρόγραμμα επεξεργασίας με πολλά χαρακτηριστικά που συνήθως λειτουργεί σε ένα "ολόκληρο project". Όπως υποδηλώνει ο όρος, δεν είναι μόνο ένας επεξεργαστής κώδικα, αλλά ένα "ολοκληρωμένο περιβάλλον ανάπτυξης".
1810

19-
An IDE loads the project (which can be many files), allows navigation between files, provides autocompletion based on the whole project (not just the open file), and integrates with a version management system (like [git](https://git-scm.com/)), a testing environment, and other "project-level" stuff.
20-
2111
Ένα IDE φορτώνει το έργο (το οποίο μπορεί να είναι πολλά και διαφορερικά αρχεία), επιτρέπει την πλοήγηση μεταξύ αρχείων, παρέχει αυτόματη συμπλήρωση με βάση το σύνολο του έργου [όχι μόνο το ανοιχτό αρχείο](https://www.yourdictionary.com/open-file) και ενσωματώνεται με ένα σύστημα ελέγχου εκδόσεων οπως το [git](https://git-scm.com/), ένα περιβάλλον δοκιμών και πολλά άλλα χαρακτηριστικά "σε επίπεδο έργου".
2212

23-
If you haven't selected an IDE yet, consider the following options:
2413
Εάν δεν έχετε επιλέξει ακόμα ένα IDE, τότε εξετάστε τις ακόλουθες επιλογές:
2514

26-
- [Visual Studio Code](https://code.visualstudio.com/) (cross-platform, free).
27-
- [WebStorm](http://www.jetbrains.com/webstorm/) (cross-platform, paid).
28-
2915
- [Visual Studio](https://visualstudio.microsoft.com/vs/) (cross-platform, επί πληρωμής)
3016
- [WebStorm](http://www.jetbrains.com/webstorm/) (cross-platform, επί πληρωμής).
3117

32-
33-
For Windows, there's also "Visual Studio", not to be confused with "Visual Studio Code". "Visual Studio" is a paid and mighty Windows-only editor, well-suited for the .NET platform. It's also good at JavaScript. There's also a free version [Visual Studio Community](https://www.visualstudio.com/vs/community/).
34-
3518
Το "Visual Studio" δεν πρέπει να συγχέεται με το "Visual Studio Code". Το "Visual Studio" είναι ένας επί πληρωμής και ισχυρός επεξεργαστής για τα Windows και Mac, κατάλληλος για την πλατφόρμα .Net. Επίσης είναι κάνει και για JavaScript. <br> Υπάρχει επίσης μια δωρεάν έκδοση στο [Visual Studio Community](https://www.visualstudio.com/vs/community/).
3619

37-
Many IDEs are paid, but have a trial period. Their cost is usually negligible compared to a qualified developer's salary, so just choose the best one for you.
38-
39-
Πολλά IDE είναι επί πληρωμής αλλά έχουν δοκιμαστική περίοδο. Το κόστος τους είναι συνήθως αμελητέο σε σύγκριση με το μισθό ενός ειδικευμένου προγραμματιστή, οπότε απλά επιλέξτε το καλύτερο για εσάς
20+
Πολλά IDE είναι επί πληρωμής αλλά έχουν δοκιμαστική περίοδο. Το κόστος τους είναι συνήθως αμελητέο σε σύγκριση με το μισθό ενός ειδικευμένου προγραμματιστή, οπότε απλά επιλέξτε το καλύτερο για εσάς.
4021

4122
## Lightweight editors
4223

43-
"Lightweight editors" are not as powerful as IDEs, but they're fast, elegant and simple.
44-
4524
Τα "Lightweight editors" δεν είναι τόσο ισχυροί όσο οι IDE, αλλά είναι γρήγοροι, κομψοί και απλοί.
4625

47-
They are mainly used to open and edit a file instantly.
48-
4926
Κυρίως χρησιμοποιούνται για να ανοίγμα και να επεξεργασία ενός αρχείο άμεσα.
5027

51-
The main difference between a "lightweight editor" and an "IDE" is that an IDE works on a project-level, so it loads much more data on start, analyzes the project structure if needed and so on. A lightweight editor is much faster if we need only one file.
52-
5328
Η κύρια διαφορά μεταξύ ενός "lightweight editor" και ενός "IDE" είναι ότι ένα IDE λειτουργεί σε project-leve, έτσι φορτώνει πολύ περισσότερα δεδομένα για την εκκίνηση, αναλύει τη δομή του έργου αν χρειαστεί και ούτω καθεξής. Ένας lightweight editor είναι πολύ πιο γρήγορος και χρησιμοποείται για γρήγορη επεξεργασία ενός αρχείο.
54-
55-
In practice, lightweight editors may have a lot of plugins including directory-level syntax analyzers and autocompleters, so there's no strict border between a lightweight editor and an IDE.
56-
5729
Στην πράξη, οι lightweight editor μπορεί να έχουν πολλά πρόσθετα, συμπεριλαμβανομένων αναλυτών σύνταξης σε επίπεδο καταλόγου και αυτόματων συμπληρωμάτων, οπότε δεν υπάρχει μεγάλη διαφορά μεταξύ ενός lightweight editor και ενός IDE.
30+
Κυρίως χρησιμοποιούνται για να άνοιγμα και άμεσα επεξεργασία ενός αρχείο.
5831

59-
The following options deserve your attention:
6032
Οι παρακάτω επιλογές αξίζουν την προσοχή σας:
6133

62-
- [Atom](https://atom.io/) (cross-platform, free).
63-
- [Visual Studio Code](https://code.visualstudio.com/) (cross-platform, free).
64-
- [Sublime Text](http://www.sublimetext.com) (cross-platform, shareware).
65-
- [Notepad++](https://notepad-plus-plus.org/) (Windows, free).
66-
- [Vim](http://www.vim.org/) and [Emacs](https://www.gnu.org/software/emacs/) are also cool if you know how to use them.
67-
6834
- [Atom](https://atom.io/) (cross-platform, δωρεάν).
6935
- [Visual Studio Code](https://code.visualstudio.com/) (cross-platform, δωρεάν).
7036
- [Sublime Text](http://www.sublimetext.com) (cross-platform, shareware).
7137
- [Notepad++](https://notepad-plus-plus.org/) (Windows, δωρεάν).
7238
- [Vim](http://www.vim.org/) and [Emacs](https://www.gnu.org/software/emacs/) είναι επίσης πολύ καλή επιλογή, εφόσον ξέρετε πώς να τα χρησιμοποιήσετε.
7339

74-
## Let's not argue
75-
7640
## Ας μην διαφωνούμε
7741

78-
The editors in the lists above are those that either I or my friends whom I consider good developers have been using for a long time and are happy with.
79-
8042
Οι επεξεργαστές κώδικα στις παραπάνω λίστες είναι εκείνοι που είτε εγώ είτε οι φίλοι μου τους οποίους θεωρώ καλούς προγραμματιστές έχουν χρησιμοποιήσει για μεγάλο χρονικό διάστημα και είναι ευχαριστημένοι.
8143

82-
There are other great editors in our big world. Please choose the one you like the most.
83-
8444
Υπάρχουν και άλλοι σπουδαίοι επεξεργαστές κώδικα στον κόσμο μας. Παρακαλώ επιλέξτε αυτό που σας αρέσει περισσότερο.
8545

86-
The choice of an editor, like any other tool, is individual and depends on your projects, habits, and personal preferences.
87-
8846
Η επιλογή ενός επεξεργαστή κώδικα, όπως και κάθε άλλο εργαλείο, είναι ατομική και εξαρτάται από τα έργα, τις συνήθειες και τις προσωπικές σας προτιμήσεις.

0 commit comments

Comments
 (0)