summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--el-gr/python3-gr.html.markdown3
-rw-r--r--go.html.markdown3
-rw-r--r--rust.html.markdown2
3 files changed, 5 insertions, 3 deletions
diff --git a/el-gr/python3-gr.html.markdown b/el-gr/python3-gr.html.markdown
index 08c3d4aa..445b85ba 100644
--- a/el-gr/python3-gr.html.markdown
+++ b/el-gr/python3-gr.html.markdown
@@ -8,7 +8,8 @@ contributors:
- ["evuez", "http://github.com/evuez"]
- ["Rommel Martinez", "https://ebzzry.io"]
- ["Roberto Fernandez Diaz", "https://github.com/robertofd1995"]
-filename: learnpython3.py
+filename: learnpython3-gr.py
+lang: el-gr
---
Η Python δημιουργήθηκε από τον Guido van Rossum στις αρχές των 90s. Πλέον είναι μία από τις πιο
diff --git a/go.html.markdown b/go.html.markdown
index 0c9082c6..739ec05d 100644
--- a/go.html.markdown
+++ b/go.html.markdown
@@ -178,10 +178,11 @@ func learnNamedReturns(x, y int) (z int) {
// Go is fully garbage collected. It has pointers but no pointer arithmetic.
// You can make a mistake with a nil pointer, but not by incrementing a pointer.
+// Unlike in C/Cpp taking and returning an address of a local varible is also safe.
func learnMemory() (p, q *int) {
// Named return values p and q have type pointer to int.
p = new(int) // Built-in function new allocates memory.
- // The allocated int is initialized to 0, p is no longer nil.
+ // The allocated int slice is initialized to 0, p is no longer nil.
s := make([]int, 20) // Allocate 20 ints as a single block of memory.
s[3] = 7 // Assign one of them.
r := -2 // Declare another local variable.
diff --git a/rust.html.markdown b/rust.html.markdown
index 23dcbd4f..413939bf 100644
--- a/rust.html.markdown
+++ b/rust.html.markdown
@@ -22,7 +22,7 @@ currently available in the nightly builds. Rust has adopted a train-based releas
model with regular releases every six weeks. Rust 1.1 beta was made available at
the same time of the release of Rust 1.0.
-Although Rust is a relatively low-level language, Rust has some functional
+Although Rust is a relatively low-level language, it has some functional
concepts that are generally found in higher-level languages. This makes
Rust not only fast, but also easy and efficient to code in.