Compare commits

...

11 Commits

Author SHA1 Message Date
Piyush Ranjan
9b1b84bb9e
Merge eeb513929b into 09875bf39f 2024-12-07 02:12:41 +00:00
Boris Verkhovskiy
09875bf39f [bf/it] fix frontmatter
All checks were successful
Trigger site build / deploy (push) Has been skipped
CI / lint (push) Successful in 17s
2024-12-05 00:24:10 -07:00
Boris Verkhovskiy
b30134148f [c/*] remove compile arg preamble
All checks were successful
Trigger site build / deploy (push) Has been skipped
CI / lint (push) Successful in 15s
2024-12-04 16:09:45 -07:00
Boris Verkhovskiy
599896735b [bash/en] correct comment grammar
All checks were successful
Trigger site build / deploy (push) Has been skipped
CI / lint (push) Successful in 19s
2024-12-03 17:38:07 -07:00
Boris Verkhovskiy
52463c3f44 [javascript/it] link to translated javascript.info 2024-12-03 17:18:37 -07:00
Boris Verkhovskiy
f1aec083a0 javascript -> JavaScript 2024-12-03 17:16:54 -07:00
Boris Verkhovskiy
ae9374942f Javascript -> JavaScript 2024-12-03 17:16:24 -07:00
Boris Verkhovskiy
cad341d8d9
[java,javascript] remove Learneroo (#5204) 2024-12-03 16:56:27 -07:00
Boris Verkhovskiy
8b7089d667 [raku] advent calendar restarted posting
All checks were successful
Trigger site build / deploy (push) Has been skipped
CI / lint (push) Successful in 16s
2024-12-03 16:34:09 -07:00
Boris Verkhovskiy
989354c4a6 [livescript] remove attribution 2024-12-03 13:52:37 -07:00
Piyush Ranjan
eeb513929b
Correct OCaml record field assignment syntax
Fixed an error in the OCaml article where record field assignments incorrectly used `:` instead of `=`.
Updated example:
```ocaml
let cow = { name = "cow"; color = "brown"; legs = 4 };;
2024-11-23 14:39:44 +05:30
82 changed files with 177 additions and 303 deletions

View File

@ -64,8 +64,9 @@ echo "$variable" # => Some string
echo '$variable' # => $variable
# When you use a variable itself — assign it, export it, or else — you write
# its name without $. If you want to use the variable's value, you should use $.
# Note that ' (single quote) won't expand the variables!
# You can write variable without surrounding quotes but it's not recommended.
# Note that ' (single quote) won't expand variables!
# You can write variables without surrounding double quotes but it's not
# recommended due to how Bash handles variables with spaces in them.
# Parameter expansion ${...}:
echo "${variable}" # => Some string

View File

@ -19,16 +19,6 @@ C is the lowest-level language most programmers will ever use, but
it more than makes up for it with raw speed. Just be aware of its manual
memory management and C will take you as far as you need to go.
> **About compiler flags**
>
> By default, gcc and clang are pretty quiet about compilation warnings and
> errors, which can be very useful information. Explicitly using stricter
> compiler flags is recommended. Here are some recommended defaults:
>
> `-Wall -Wextra -Werror -O2 -std=c99 -pedantic`
>
> For information on what these flags do as well as other flags, consult the man page for your C compiler (e.g. `man 1 gcc`) or just search online.
```c
// Single-line comments start with // - only available in C99 and later.

View File

@ -26,7 +26,7 @@ ColdFusion started as a tag-based language. Almost all functionality is availabl
<!--- CFML tags have a similar format to HTML tags. --->
<h1>Simple Variables</h1>
<!--- Variable Declaration: Variables are loosely typed, similar to javascript --->
<!--- Variable Declaration: Variables are loosely typed, similar to JavaScript --->
<p>Set <b>myVariable</b> to "myValue"</p>
<cfset myVariable = "myValue" />
<p>Set <b>myNumber</b> to 3.14</p>

View File

@ -459,7 +459,7 @@ mujObjekt = new MujKonstruktor(); // = {mojeCislo: 5}
mujObjekt.mojeCislo; // = 5
// Na rozdíl od nejznámějších objektově orientovaných jazyků, JavaScript nezná
// koncept instancí vytvořených z tříd. Místo toho Javascript kombinuje
// koncept instancí vytvořených z tříd. Místo toho JavaScript kombinuje
// vytváření instancí a dědění do konceptu zvaného 'prototyp'.
// Každý JavaScriptový objekt má prototyp. Když budete přistupovat k vlastnosti
@ -595,21 +595,18 @@ pojednává o konceptech vysvětlených zde v mnohem větší hloubce. Tento ná
pokrývá hlavně JavaScript sám o sobě. Pokud se chcete naučit, jak se používá
na webových stránkách, začněte tím, že se podíváte na [DOM][3]
[Learn Javascript by Example and with Challenges][4]
je varianta tohoto návodu i s úkoly.
[JavaScript Garden][5] je sbírka příkladů těch nejnepředvídatelnějších částí
tohoto jazyka.
[JavaScript: The Definitive Guide][6] je klasická výuková kniha.
[Eloquent Javascript][8] od Marijn Haverbeke je výbornou JS knihou/e-knihou.
[Eloquent JavaScript][8] od Marijn Haverbeke je výbornou JS knihou/e-knihou.
[Javascript: The Right Way][10] je průvodcem JavaScriptem pro začínající
[JavaScript: The Right Way][10] je průvodcem JavaScriptem pro začínající
vývojáře i pomocníkem pro zkušené vývojáře, kteří si chtějí prohloubit své
znalosti.
[Javascript:Info][11] je moderním JavaScriptovým průvodcem, který pokrývá
[javascript.info][11] je moderním JavaScriptovým průvodcem, který pokrývá
základní i pokročilé témata velice výstižným výkladem.
Jako dodatek k přímým autorům tohoto článku byly na těchto stránkách části
@ -619,7 +616,6 @@ na stránkách Mozilla Developer Network.
[1]: https://developer.mozilla.org/en-US/docs/Web/JavaScript
[2]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/A_re-introduction_to_JavaScript
[3]: https://developer.mozilla.org/en-US/docs/Using_the_W3C_DOM_Level_1_Core
[4]: http://www.learneroo.com/modules/64/nodes/350
[5]: https://shamansir.github.io/JavaScript-Garden/
[6]: http://www.amazon.com/gp/product/0596805527/
[7]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/A_re-introduction_to_JavaScript

View File

@ -196,7 +196,7 @@ class GenericExample<T>{
/// outside of function/method bodies. List on the outer scope of class
/// or outside of class have to be constant. Strings and numbers are constant
/// by default. But arrays and maps are not. They can be made constant by
/// declaring them "const". Kind of similar to Javascript's Object.freeze()
/// declaring them "const". Kind of similar to JavaScript's Object.freeze()
const example8List = ["Example8 const array"];
const example8Map = {"someKey": "Example8 const map"};
/// Declare List or Maps as Objects.

View File

@ -14,23 +14,6 @@ Die Geschwindigkeit von C ist enorm, allerdings muss man sich stets der
manuellen Speicherverwaltung bewusst sein.
> **Über Compiler Optionen**
>
> Standardmäßig sind `gcc` und `clang` ziemlich ruhig bezüglich Warnungen und
> Fehlern, obwohl dies sehr nützliche Informationen sein können. Es wird
> empfohlen, strengere Compiler Optionen zu verwenden. Hier sind einige empfohlene
> Standards:
> `-Wall -Wextra -Werror -O2 -std=c99 -pedantic`
>
> Da gewisse Optionen (insbesondere der C-Standard) sehr stark vom Projekt
> abhängen, lohnt es sich, wenn die unterschiedlichen Optionen genauer
> angeschaut werden. Eine Übersicht über die Compiler-Optionen findet man unter
> [diesem](https://stackoverflow.com/questions/3375697/useful-gcc-flags-for-c) Stackoverflow-Beitrag.
>
> Für weitere Informationen, was diese und weitere Optionen genau machen,
> sollte die Man-Page des C-Compilers aufgerufen werden (z.B. `man 1 gcc`).
> Alternativ kann auch online nach den unterschiedlichen Optionen gesucht werden.
```c
// einzeilige Kommentare starten mit // - nur in C99 und später vorhanden.

View File

@ -160,7 +160,7 @@ let points : List { x : Double, y : Double } =
lambda n : [ n, n + 1 ]
... und diesem Javascript Code:
... und diesem JavaScript Code:
function (n) { return [ n, n + 1 ]; }
-}

View File

@ -481,10 +481,9 @@ Für tiefergreifende Fragen ist Google der beste Startpunkt.
**Online Tutorials**
* [Learneroo.com - Learn Java](http://www.learneroo.com)
* [Codingbat.com](http://codingbat.com/java)
* [Codewars - Java Katas](https://www.codewars.com/?language=java)
* [University of Helsinki - Object-Oriented programming with Java](http://moocfi.github.io/courses/2013/programming-part-1/)
**Bücher**:

View File

@ -17,7 +17,7 @@ Programmiererfahrung die Grundlagen der Computerprogrammierung in einem
visuellen Kontext erlernen.
Obwohl Processing von Java beeinflusst wurde und auf Java basiert, ist die Syntax
sowohl von Java als auch Javascript beeinflusst worden. Weitere Informationen
sowohl von Java als auch JavaScript beeinflusst worden. Weitere Informationen
sind [hier](https://processing.org/reference/) zu finden.
Die Programmiersprache wird statisch programmiert und kommt mit einer eigenen

View File

@ -679,7 +679,6 @@ Something.new.qux #=> "qux"
_(z.T. auf Englisch)_
- [Offizielle Ruby Website](https://www.ruby-lang.org/de/)
- [Learn Ruby by Example with Challenges](http://www.learneroo.com/modules/61/nodes/338) - Eine Variante dieses Dokuments mit in-Browser Challenges.
- [RubyMonk](https://rubymonk.com/) - Lerne Ruby mit einer Reihe interaktiver Tutorials.
- [Offizielle Dokumentation](http://ruby-doc.org/core)
- [Ruby from other languages](https://www.ruby-lang.org/en/documentation/ruby-from-other-languages/)

View File

@ -841,10 +841,11 @@ public class EnumTest {
**Πρακτικές και Φροντιστήρια Online**
* [Learneroo.com - Μάθε Java](http://www.learneroo.com)
* [Codingbat.com](http://codingbat.com/java)
* [Codewars - Java Katas](https://www.codewars.com/?language=java)
* [University of Helsinki - Object-Oriented programming with Java](http://moocfi.github.io/courses/2013/programming-part-1/)
**Βιβλία**:

View File

@ -29,7 +29,7 @@ ColdFusion comenzó como un lenguaje basado en etiquetas. Casi toda la funcional
<!--- Las etiquetas CFML tienen un formato similar a las etiquetas HTML. --->
<h1>Variables simples</h1>
<!--- Declaración de variables: las variables son débilmente tipadas, similar a javascript --->
<!--- Declaración de variables: las variables son débilmente tipadas, similar a JavaScript --->
<p>Set <b>miVariable</b> to "miValor"</p>
<cfset miVariable = "miValor" />
<p>Set <b>miNumero</b> to 3.14</p>

View File

@ -146,7 +146,7 @@ $ haml archivo_entrada.haml archivo_salida.html
/
Usa un signo dos puntos para definir filtros Haml, un ejemplo de filtro que
puedes usar es :javascript, el cual puede ser usado para escribir javascript en línea.
puedes usar es :javascript, el cual puede ser usado para escribir JavaScript en línea.
:javascript
console.log('Este es un <script> en linea');

View File

@ -515,9 +515,6 @@ cubre muchos de los conceptos que vimos aquí pero a mayor detalle. Esta guía c
el lenguaje JavaScript solo. Si quieres aprender a cómo usarlo en un ambiente web empieza aprendiendo
sobre el [DOM](https://developer.mozilla.org/en-US/docs/Using_the_W3C_DOM_Level_1_Core)
[Aprende JavaScript con ejemplos y retos](http://www.learneroo.com/modules/64/nodes/350) es una
variante de esta guía pero con retos.
[Jardín JavaScript](https://shamansir.github.io/JavaScript-Garden/) es una guía para todas las
funciones y características contra-intuitivas del lenguaje.

View File

@ -8,7 +8,7 @@ translators:
lang: es-es
---
LiveScript es un lenguaje funcional compilado sobre Javascript. Comparte
LiveScript es un lenguaje funcional compilado sobre JavaScript. Comparte
la mayoría de la semántica con este mismo lenguaje. Composición de funciones,
comparación de patrones y muchas otras cosas son las adiciones que hace
LiveScript. Está inspirado en lenguajes como Haskell, F# y Scala.
@ -20,16 +20,13 @@ desarrollo activo para traer aún más funciones.
[Coco]: http://satyr.github.io/coco/
[CoffeeScript]: http://coffeescript.org/
La retroalimentación siempre es bienvenida, así que sientete libre de
contactarme en [@kurisuwhyte](https://twitter.com/kurisuwhyte) :)
```livescript
# Justo como su primo CoffeeScript, LiveScript usa símbolos de gato para
# comentarios de una sola línea
/*
Comentarios multi-línea son escritos con estilo de C. Usa este estilo si quieres
que los comentarios se preserven en el output de Javascript
que los comentarios se preserven en el output de JavaScript
*/
# En lo que a la sintaxis se refiere, LiveScript usa indentación para delimitar

View File

@ -1920,8 +1920,7 @@ Si quieres ir más allá de lo que se muestra aquí, puedes:
un gran recurso de fragmentos de código de Raku y explicaciones. Si la documentación
no describe algo lo suficientemente bien, puedes encontrar información más detallada
aquí. Esta información puede ser un poquito más antigua pero hay muchos ejemplos y
explicaciones. Las publicaciones fueron suspendidas al final del 2015 cuando
el lenguaje fue declarado estable y Raku.c fue lanzado.
explicaciones.
- Unirte a `#raku` en `irc.freenode.net`. Las personas aquí son siempre serviciales.
- Chequear la [fuente de las funciones y clases de Raku](https://github.com/rakudo/rakudo/tree/master/src/core.c). Rakudo está principalmente
escrito en Raku (con mucho de NQP, "Not Quite Perl" ("No Perl Todavía"), un

View File

@ -565,8 +565,6 @@ Algo.new.qux # => 'qux'
```
## Recursos adicionales
- [Aprende Ruby Mediante Ejemplo con Ejercicios](http://www.learneroo.com/modules/61/nodes/338) - Una variante de
esta referencia con ejercicios en navegador.
- [Documentación Oficial](http://www.ruby-doc.org/core-2.1.1/)
- [Ruby desde otros lenguajes](https://www.ruby-lang.org/en/documentation/ruby-from-other-languages/)
- [Programando Ruby](http://www.amazon.com/Programming-Ruby-1-9-2-0-Programmers/dp/1937785491/) - Una

View File

@ -619,7 +619,7 @@ JavaScript](https://developer.mozilla.org/en-US/docs/Web/JavaScript/A_re-introdu
[Document Object
Model](https://developer.mozilla.org/en-US/docs/Using_the_W3C_DOM_Level_1_Core)
[Javascript Garden](https://shamansir.github.io/JavaScript-Garden/)
[JavaScript Garden](https://shamansir.github.io/JavaScript-Garden/)
<p dir='rtl'>راهنمای دقیقی از قسمت های غیر ملموس زبان.</p>
<p dir='rtl'>اضافه بر این در ویرایش این مقاله، قسمت هایی از سایت زیر مورد استفاده قرار گرفته است.</p>

View File

@ -599,7 +599,6 @@ Something.new.qux # => 'qux'
## Lisämateriaalia englanniksi
- [Learn Ruby by Example with Challenges](http://www.learneroo.com/modules/61/nodes/338) - Selaimessa tehtäviä harjoituksia tämän dokumentin hengessä
- [An Interactive Tutorial for Ruby](https://rubymonk.com/)
- [Official Documentation](http://www.ruby-doc.org/core-2.1.1/) - Virallinen dokumentaatio
- [Ruby from other languages](https://www.ruby-lang.org/en/documentation/ruby-from-other-languages/)

View File

@ -19,19 +19,6 @@ lang: fr-fr
Le C est le langage de plus bas niveau que la plupart des programmeurs seront
amenés à utiliser, mais ceci est largement conpensé par sa vitesse brute.
> **À propos des options de compilation**
>
> Par défaut, gcc et clang sont assez silencieux sur les avertissements et
> les erreurs de compilation, qui peuvent être des informations très utiles.
> L'utilisation explicite d'options de compilation plus strictes est recommandée.
> Voici quelques valeurs par défaut recommandées:
>
> `-Wall -Wextra -Werror -O2 -std=c99 -pedantic`
>
> Pour plus d'informations sur ce que font ces options ainsi que sur d'autres,
> vous pouvez consulter la page du manuel de votre compilateur C (par exemple `man 1 gcc`)
> ou recherchez simplement en ligne.
```c
// Les commentaires sur une ligne commencent par // - valable seulement pour C99 et plus tard.

View File

@ -9,14 +9,14 @@ filename: coffeescript-fr.coffee
---
``` coffeescript
# CoffeeScript est un langage préprocesseur, il permet de générer du Javascript.
# CoffeeScript est un langage préprocesseur, il permet de générer du JavaScript.
# Il suit les tendances de certains langages récents.
# Par exemple, les commentaires se définissent comme en Ruby ou en Python.
###
Ceci est un bloc de commentaires
il est converti directement avec '/ *' et '* /'
pour correspondre aux commentaires Javascript
pour correspondre aux commentaires JavaScript
Vous devez comprendre la syntaxe du langage JavaScript pour continuer.
###

View File

@ -923,10 +923,12 @@ n'hésitez pas à consulter Google pour trouver des exemples spécifiques.
**Pratiquer en ligne et tutoriels**
* [Learneroo.com - Learn Java](http://www.learneroo.com)
* [Codingbat.com](http://codingbat.com/java)
* [Codewars - Java Katas](https://www.codewars.com/?language=java)
* [University of Helsinki - Object-Oriented programming with Java](http://moocfi.github.io/courses/2013/programming-part-1/)
**Livres** :
* [Head First Java](http://www.headfirstlabs.com/books/hfjava/)

View File

@ -20,11 +20,11 @@ dans le back-end.
En effet, le JavaScript n'est plus uniquement limité aux navigateurs, grâce à
Node.JS, un projet qui offre un environnement indépendant dans lequel un
interpréteur Javascript, basé sur le célèbre moteur V8 de Google Chrome,
interpréteur JavaScript, basé sur le célèbre moteur V8 de Google Chrome,
peut être utilisé directement côté serveur pour exécuter des programmes écrits
en JavaScript.
ECMAScript (la norme du langage Javascript) entre en version 6. Cette version introduit de nombreuses mises à jour tout en restant rétrocompatible. L'implémentation de ces nouvelles fonctionnalités est en cours et celles-ci ne sont donc pas forcément compatibles avec tous les navigateurs.
ECMAScript (la norme du langage JavaScript) entre en version 6. Cette version introduit de nombreuses mises à jour tout en restant rétrocompatible. L'implémentation de ces nouvelles fonctionnalités est en cours et celles-ci ne sont donc pas forcément compatibles avec tous les navigateurs.
```js
// Les commentaires sont comme en C. Les commentaires mono-ligne commencent par 2 slashs,
@ -426,7 +426,7 @@ setTimeout(function(){
// une fonction anonyme de la forme : `param => returnValue`.
setTimeout(() => console.log('5 seconds, are up.'), 5000);
// Le Javascript crée uniquement un scope, une portée d'action limitée, pour
// Le JavaScript crée uniquement un scope, une portée d'action limitée, pour
// les fonctions, et pas dans les autres blocs.
if (true){
var i = 5;
@ -448,7 +448,7 @@ i; // = 5 - et non undefined comme vous pourriez vous y attendre
temporary; // raises ReferenceError
permanent; // = 10
// Une des fonctionnalités les plus puissantes de Javascript est le système de
// Une des fonctionnalités les plus puissantes de JavaScript est le système de
// closures. Si une fonction est définie dans une autre fonction, alors la
// fonction interne aura accès aux variables de la fonction parente, même si
// celle-ci a déjà finie son exécution.
@ -587,7 +587,7 @@ var MyConstructor = function(){
myNewObj = new MyConstructor(); // = {myNumber: 5}
myNewObj.myNumber; // = 5
// Chaque objet en Javascript a un "prototype". Quand vous essayez d'accéder à
// Chaque objet en JavaScript a un "prototype". Quand vous essayez d'accéder à
// une propriété que l'objet n'a pas, l'interpréteur va regarder son prototype.
// Quelques implémentations de JS vous laissent accéder au prototype avec la
@ -758,7 +758,7 @@ let coolapi = await import("api") // = importe le module dans la variable `coola
The [Mozilla Developer
Network](https://developer.mozilla.org/fr-FR/docs/Web/JavaScript) expose une
excellente documentation pour le Javascript dans les navigateurs. Et contient
excellente documentation pour le JavaScript dans les navigateurs. Et contient
également un wiki pour s'entraider.
MDN's [A re-introduction to
@ -769,8 +769,6 @@ plutôt ici :
[Document Object
Model](https://developer.mozilla.org/en-US/docs/Using_the_W3C_DOM_Level_1_Core)
[Learn Javascript by Example and with Challenges](http://www.learneroo.com/modules/64/nodes/350) quelques challenges.
[JavaScript Garden](https://shamansir.github.io/JavaScript-Garden/) is an in-depth
un guide pour vous éviter les faux-amis dans le JavaScript.

View File

@ -21,10 +21,6 @@ avec lequel il a beaucoup plus de compatibilité.
[Coco]: http://satyr.github.io/coco/
[CoffeeScript]: http://coffeescript.org/
Vous pouvez contacter l'auteur du guide original en anglais ici :
[@kurisuwhyte](https://twitter.com/kurisuwhyte)
```livescript
# Comme son cousin CoffeeScript, LiveScript utilise le symbole dièse pour les
# commentaires sur une ligne.

View File

@ -91,7 +91,7 @@ Mpyennement mature/compatible:
Smalltalk possède quelques outils impressionnants, et ce projet tente
de les apporter dans le développement Ruby.
* [RubyMotion](http://www.rubymotion.com/) - Ruby pour développement iOS et Android.
* [Opal](http://opalrb.org/) - Compile le Ruby en Javascript
* [Opal](http://opalrb.org/) - Compile le Ruby en JavaScript
Les implémentations de Ruby peuvent avoir leurs propres numéros de versions,
mais elles ciblent toujours une versions spéficique de MRI pour la

View File

@ -201,7 +201,7 @@ $ haml input_file.haml output_file.html
<p>Text <strong>inside</strong> the <em>block</em></p>
/ Javascript filter
/ JavaScript filter
:javascript
console.log('This is inline <script>');

View File

@ -89,7 +89,7 @@ class LearnHaxe3 {
Trace is the default method of printing haxe expressions to the
screen. Different targets will have different methods of
accomplishing this. E.g., java, c++, c#, etc. will print to std
out. Javascript will print to console.log, and flash will print to
out. JavaScript will print to console.log, and flash will print to
an embedded TextField. All traces come with a default newline.
Finally, It's possible to prevent traces from showing by using the
"--no-traces" argument on the compiler.

View File

@ -9,7 +9,7 @@ lang: hu-hu
filename: coffeescript-hu.coffee
---
A CoffeeScript egy apró nyelv ami egy-az-egyben egyenértékű Javascript kódra fordul, és így futásidőben már nem szükséges interpretálni.
A CoffeeScript egy apró nyelv ami egy-az-egyben egyenértékű JavaScript kódra fordul, és így futásidőben már nem szükséges interpretálni.
Mint a JavaScript egyik követője, a CoffeeScript mindent megtesz azért, hogy olvasható, jól formázott és jól futó JavaScript kódot állítson elő, ami minden JavaScript futtatókörnyezetben jól működik.
Rézletekért lásd még a [CoffeeScript weboldalát](http://coffeescript.org/), ahol egy teljes CoffeScript tutorial is található.

View File

@ -548,7 +548,6 @@ Valami.new.qux # => 'qux'
## Egyéb források
- [Learn Ruby by Example with Challenges](http://www.learneroo.com/modules/61/nodes/338)
- [Official Documentation](http://www.ruby-doc.org/core-2.1.1/)
- [Ruby from other languages](https://www.ruby-lang.org/en/documentation/ruby-from-other-languages/)
- [Programming Ruby](http://www.amazon.com/Programming-Ruby-1-9-2-0-Programmers/dp/1937785491/) - A régebbi [ingyenes változat](http://ruby-doc.com/docs/ProgrammingRuby/) elérhető online.

View File

@ -12,7 +12,7 @@ A TypeScript nyelv a JavaScript nyelven írt nagy méretű alkalmazások fejlesz
A TypeScript olyan, más nyelvekből ismert gyakori fogalmakat ad hozzá a JavaScripthez, mint például osztályok, interfészek, generikusság, és (opcionális) statikus típusosság.
A JavaScript egy befoglaló halmazát képzi: minden JavaScript kód érvényes TypeScript kód, így könnyen hozzáadható meglévő projektekhez. A TypeScript fordító kimenetként JavaScript kódot állít elő.
Ez a dokumentum a TypeScript által hozzáadott új szintaxissal foglalkozik, nem pedig a [Javascripttel](../javascript/).
Ez a dokumentum a TypeScript által hozzáadott új szintaxissal foglalkozik, nem pedig a [JavaScripttel](../javascript/).
Hogy kipróbáld a TypeScript fordítót, látogass el a [Játszótérre avagy Playground-ra](https://www.typescriptlang.org/Playground) ahol kódot írhatsz automatikus kódkiegészítéssel, és közvetlenül láthatod az előállított JavaScript kódot.

View File

@ -784,10 +784,11 @@ Tip, trik, dan contoh lainnya dapat melakukan pencarian melalui Google atau mesi
**Tutorial dan Praktik Online**
* [Learneroo.com - Learn Java](http://www.learneroo.com)
* [Codingbat.com](http://codingbat.com/java)
* [Codewars - Java Katas](https://www.codewars.com/?language=java)
* [University of Helsinki - Object-Oriented programming with Java](http://moocfi.github.io/courses/2013/programming-part-1/)
**Buku**:

View File

@ -613,7 +613,6 @@ Sesuatu.new.qux # => 'qux'
## Sumber tambahan
- [Learn Ruby by Example with Challenges](http://www.learneroo.com/modules/61/nodes/338) - Varian dari referensi ini dengan tantangan dalam browser.
- [An Interactive Tutorial for Ruby](https://rubymonk.com/) - Belajar Ruby melalui serangkaian tutorial interaktif.
- [Dokumentasi resmi](http://www.ruby-doc.org/core-2.1.1/)
- [Ruby from other languages](https://www.ruby-lang.org/en/documentation/ruby-from-other-languages/)

View File

@ -1,4 +1,4 @@
--
---
language: BF
filename: learnbf-it.bf
contributors:

View File

@ -10,7 +10,7 @@ lang: it-it
CoffeeScript è un piccolo linguaggio che compila direttamente nell'equivalente
JavaScript, non c'è nessuna interpretazione a runtime. Come possibile
successore di Javascript, CoffeeScript fa il suo meglio per restituire
successore di JavaScript, CoffeeScript fa il suo meglio per restituire
un codice leggibile, ben stampato e performante in ogni ambiente JavaScript.
Guarda anche [il sito di CoffeeScript](http://coffeescript.org/), che ha una

View File

@ -559,15 +559,16 @@ I link di seguito sono solo per capire l'argomento, cerca pure su Google degli e
**Tutorial Online [in inglese]**
* [Learneroo.com - Learn Java](http://www.learneroo.com)
* [Codingbat.com](http://codingbat.com/java)
* [Codewars - Java Katas](https://www.codewars.com/?language=java)
* [University of Helsinki - Object-Oriented programming with Java](http://moocfi.github.io/courses/2013/programming-part-1/)
**Libri [in italiano]** :
* [Java la guida completa](http://www.amazon.it/Java-guida-completa-Herbert-Schildt/dp/8838667667/ref=sr_1_1?ie=UTF8&qid=1393422296&sr=8-1&keywords=java)
* [Thinking in java](http://www.amazon.it/Thinking-Java-1-Bruce-Eckel/dp/8871923030/ref=sr_1_8?ie=UTF8&qid=1393422296&sr=8-8&keywords=java)
* [Thinking in Java](http://www.amazon.it/Thinking-Java-1-Bruce-Eckel/dp/8871923030/ref=sr_1_8?ie=UTF8&qid=1393422296&sr=8-8&keywords=java)
* [Manuale di Java 7](http://www.amazon.com/gp/product/0071606300)

View File

@ -360,7 +360,7 @@ i; // = 5 - non è undefined come ci si potrebbe aspettare in un linguaggio con
temporary; // solleva ReferenceError
permanent; // = 10
// Una delle più potenti caratteristiche di javascript sono le closure. Se una funzione è
// Una delle più potenti caratteristiche di JavaScript sono le closure. Se una funzione è
// definita dentro un'altra funzione, la funzione interna ha accesso a le variabili
// della funzione esterna, anche dopo essere uscita dalla funzione esterna.
function sayHelloInFiveSeconds(name){
@ -456,11 +456,11 @@ var MyConstructor = function(){
myNewObj = new MyConstructor(); // = {myNumber: 5}
myNewObj.myNumber; // = 5
// Diversamente dalla molti degli altri linguaggi orientati agli oggetti, Javascript non ha
// il concetto di 'istanze' create sull'impronta di una 'classe'; invece Javascript
// Diversamente dalla molti degli altri linguaggi orientati agli oggetti, JavaScript non ha
// il concetto di 'istanze' create sull'impronta di una 'classe'; invece JavaScript
// combina l'instanziamento e l'ereditarietà in un singolo concetto: il 'prototipo'.
// Ogni oggetto Javascript ha un 'prototipo'. Quando si cerca di accedere a una proprietà
// Ogni oggetto JavaScript ha un 'prototipo'. Quando si cerca di accedere a una proprietà
// su un oggetto che non la contiene, l'interprete
// guarderà i suoi prototipi.
@ -585,21 +585,19 @@ if (Object.create === undefined){ // non lo sovrascrive se esiste già
## Approfondimenti
Il [Mozilla Developer Networ][1] fornisce una documentazione eccellente su come Javascript è utilizzato nei browsers. In più è un wiki, quindi si può imparare di più aiutando gli altri condividendo la propria conoscenza.
Il [Mozilla Developer Networ][1] fornisce una documentazione eccellente su come JavaScript è utilizzato nei browsers. In più è un wiki, quindi si può imparare di più aiutando gli altri condividendo la propria conoscenza.
MDN's [A re-introduction to JavaScript][2] copre molti dei concetti qui trattati in maggiore dettaglio. Questa guida ha deliberatamente coperto solamente il linguaggio JavaScript; se volete sapere di più su come usare JavaScript in una pagina web, iniziate leggendo il [Document Object Model][3].
[Learn Javascript by Example and with Challenges][4] è una variante di questo referenziario con integrate delle sfide.
[Javascript Garden][5] è una guida approfondita di tutte le parti controintuitive del linguaggio.
[JavaScript Garden][5] è una guida approfondita di tutte le parti controintuitive del linguaggio.
[JavaScript: The Definitive Guide][6] è una guida classica e referenziario.
[Eloqunt Javascript][8] di Marijn Haverbeke è un ottimo libro/ebook JS con terminale annesso
[Eloqunt JavaScript][8] di Marijn Haverbeke è un ottimo libro/ebook JS con terminale annesso
[Javascript: The Right Way][10] è una guida dedicata all'introduzione dei nuovi sviluppatori a JavaScript e come aiuto agli sviluppatori esperti per imparare di più sulle best practice.
[JavaScript: The Right Way][10] è una guida dedicata all'introduzione dei nuovi sviluppatori a JavaScript e come aiuto agli sviluppatori esperti per imparare di più sulle best practice.
[Javascript:info][11] è un moderno tutorial su javascript che copre le basi (linguaggio principale e lavorazione con un browser) come anche argomenti avanzati con spiegazioni concise.
[javascript.info][11] è un moderno tutorial su JavaScript che copre le basi (linguaggio principale e lavorazione con un browser) come anche argomenti avanzati con spiegazioni concise.
In aggiunta ai contributori di questo articolo, alcuni contenuti sono adattati dal Louie Dinh's Python tutorial su questo sito, e da [JS Tutorial][7] sul Mozilla Developer Network.
@ -608,10 +606,9 @@ In aggiunta ai contributori di questo articolo, alcuni contenuti sono adattati d
[1]: https://developer.mozilla.org/en-US/docs/Web/JavaScript
[2]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/A_re-introduction_to_JavaScript
[3]: https://developer.mozilla.org/en-US/docs/Using_the_W3C_DOM_Level_1_Core
[4]: http://www.learneroo.com/modules/64/nodes/350
[5]: https://shamansir.github.io/JavaScript-Garden/
[6]: http://www.amazon.com/gp/product/0596805527/
[7]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/A_re-introduction_to_JavaScript
[8]: http://eloquentjavascript.net/
[10]: http://jstherightway.org/
[11]: https://javascript.info/
[11]: https://it.javascript.info/

View File

@ -644,7 +644,6 @@ Something.new.qux #=> 'qux'
## Ulteriori risorse
- [Learn Ruby by Example with Challenges](http://www.learneroo.com/modules/61/nodes/338) - Una variante di questa guida con esercizi nel browser.
- [An Interactive Tutorial for Ruby](https://rubymonk.com/) - Imparare Ruby attraverso una serie di tutorial interattivi.
- [Official Documentation](http://ruby-doc.org/core)
- [Ruby from other languages](https://www.ruby-lang.org/en/documentation/ruby-from-other-languages/)

View File

@ -18,7 +18,7 @@ l'esecuzione degli smart contract senza che sia richiesta centralizzazione o
fiducia negli attori coinvolti.
Solidity è un linguaggio di programmazione di contratti tipizzato staticamente e
ha molte cose in comune con Javascript e C. Come per gli oggetti nella
ha molte cose in comune con JavaScript e C. Come per gli oggetti nella
programmazione ad oggetti, ogni contratto contiene variabili di stato, funzioni
e tipi di dato semplici. Tra le funzionalità specifiche dei contratti troviamo
le clausole (guardie) dei modifier, gli event notifier per i listener, e le
@ -111,7 +111,7 @@ Metamask.
![Solidity-in-remix](../images/solidity/remix-testnet.png)
Per ora continua a usare la `Javascript VM` a meno che non ti sia detto di
Per ora continua a usare la `JavaScript VM` a meno che non ti sia detto di
cambiarla. Quando distribuisci su una testnet, Metamask aprirà un pop up che
ti chiederà di "confermare" la transazione. Premi `yes` e dopo un certo lasso
di tempo, ti apparirà la stessa interfaccia per il contratto nella parte
@ -529,9 +529,9 @@ LogSent(from, to, amount);
/**
Una terza parte esterna (entità o contratto), può osservare usando
la libreria Javascript Web3:
la libreria JavaScript Web3:
// Quel che se segue è codice Javascript, non Solidity
// Quel che se segue è codice JavaScript, non Solidity
Coin.LogSent().watch({}, '', function(error, result) {
if (!error) {
console.log("Trasferimento valuta: " + result.args.amount +
@ -585,7 +585,7 @@ modifier checkValue(uint amount) {
// Troviamo tutte le istruzioni condizionali di base - incluse if/else, for,
// while, break, continue e return - ma non c'è lo switch
// La sintassi è la stessa di javascript, ma non esiste la conversione di tipo
// La sintassi è la stessa di JavaScript, ma non esiste la conversione di tipo
// in booleano dai non booleani (bisogna usare gli operatori logici per
// ottenere il valore boolean)
@ -798,7 +798,7 @@ contract SomeOracle {
// vedi l'esempio sotto che usa enum per lo stato e il modifier inState
```
Prova l'esempio completo qui sotto [usando remix e la `Javascript VM`](https://remix.ethereum.org/#version=soljson-v0.6.6+commit.6c089d02.js&optimize=false&evmVersion=null&gist=3d12cd503dcedfcdd715ef61f786be0b&runs=200)
Prova l'esempio completo qui sotto [usando remix e la `JavaScript VM`](https://remix.ethereum.org/#version=soljson-v0.6.6+commit.6c089d02.js&optimize=false&evmVersion=null&gist=3d12cd503dcedfcdd715ef61f786be0b&runs=200)
```solidity
// *** ESEMPIO: Un esempio di crowdfunding (molto simile a Kickstarter) ***

View File

@ -125,7 +125,7 @@ _アンダースコアで斜体になります。_
AsciiDocの文書を処理するツールは2種類あります。
1. [AsciiDoc](http://asciidoc.org/): オリジナルのPython実装で、Linuxで利用可能です。現在は開発されておらず、メンテナンスのみの状態です。
2. [Asciidoctor](http://asciidoctor.org/): Rubyによる別実装で、JavaやJavascriptでも利用可能です。AsciiDocに新しい機能や出力形式を追加するため、現在活発に開発されています。
2. [Asciidoctor](http://asciidoctor.org/): Rubyによる別実装で、JavaやJavaScriptでも利用可能です。AsciiDocに新しい機能や出力形式を追加するため、現在活発に開発されています。
以下のリンクは `AsciiDoctor` 実装関連のものです。

View File

@ -23,17 +23,6 @@ Cはほとんどのプログラマが最低水準言語として使われてい
プログラマーの手で管理する必要があり、これが初学者を苦しめる要素となるが、うまく使えば、
ロボットなどで実行速度やメモリの使用率などを大幅に最適化できる。
> **コンパイラフラグについて**
>
> gccやclangなどのコンパイラではデフォルトでデバッグに有益なエラーや警告を表示しない
> 設定になっています。なので、それらのエラーを詳細に、厳しく表示させるフラグと共に
> 実行することをおすすめします。下記はそのフラグの例です:
>
> `-Wall -Wextra -Werror -O2 -std=c99 -pedantic`
>
> このようなフラグの詳細については、オンライン検索にかけるか、
> コンパイラのドキュメンテーションを読んでください。(Linuxなら`man 1 gcc`等)
```c
// 行コメントは//で始まる (C99より前のC標準では使えない)
@ -900,7 +889,7 @@ Node createLinkedList(int *vals, int len);
## 関連記事、教材(一部英語)
[CS50 日本語版](https://cs50.jp/) はハーバード大学が無料で公開しているコンピューターサイエンスコースで
字幕付きの動画と一緒にC, Python, SQL, HTML, CSS, Javascriptなどの言語を使った素晴らしいコースです。
字幕付きの動画と一緒にC, Python, SQL, HTML, CSS, JavaScriptなどの言語を使った素晴らしいコースです。
C言語を学ぶ者は第1-5週目を受けることをおすすめします。
[Learn C The Hard Way](http://learncodethehardway.org/c/) は有料だが、良い英語での教材です。

View File

@ -1053,7 +1053,6 @@ The links provided here below are just to get an understanding of the topic, fee
### Online Practice and Tutorials
* [Learneroo.com - Learn Java](http://www.learneroo.com)
* [Codingbat.com](http://codingbat.com/java)
* [Codewars - Java Katas](https://www.codewars.com/?language=java)
* [University of Helsinki - Object-Oriented programming with Java](http://moocfi.github.io/courses/2013/programming-part-1/)

View File

@ -641,21 +641,18 @@ here in more detail. This guide has quite deliberately only covered the
JavaScript language itself; if you want to learn more about how to use
JavaScript in web pages, start by learning about the [Document Object Model][3].
[Learn Javascript by Example and with Challenges][4] is a variant of this
reference with built-in challenges.
[JavaScript Garden][5] is an in-depth guide of all the counter-intuitive parts
of the language.
[JavaScript: The Definitive Guide][6] is a classic guide and reference book.
[Eloquent Javascript][8] by Marijn Haverbeke is an excellent JS book/ebook with
[Eloquent JavaScript][8] by Marijn Haverbeke is an excellent JS book/ebook with
attached terminal
[Javascript: The Right Way][10] is a guide intended to introduce new developers
[JavaScript: The Right Way][10] is a guide intended to introduce new developers
to JavaScript and help experienced developers learn more about its best practices.
[javascript.info][11] is a modern javascript tutorial covering the basics (core language and working with a browser)
[javascript.info][11] is a modern JavaScript tutorial covering the basics (core language and working with a browser)
as well as advanced topics with concise explanations.
@ -667,7 +664,6 @@ Mozilla Developer Network.
[1]: https://developer.mozilla.org/en-US/docs/Web/JavaScript
[2]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/A_re-introduction_to_JavaScript
[3]: https://developer.mozilla.org/en-US/docs/Using_the_W3C_DOM_Level_1_Core
[4]: http://www.learneroo.com/modules/64/nodes/350
[5]: https://shamansir.github.io/JavaScript-Garden/
[6]: http://www.amazon.com/gp/product/0596805527/
[7]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/A_re-introduction_to_JavaScript

View File

@ -314,7 +314,7 @@ jq -n '1, 2, 3 | ., 4 | .'
# [dot, 4].each { |dot| puts dot }
# end
#
# In Javascript:
# In JavaScript:
#
# [1, 2, 3].forEach(dot => {
# [dot, 4].forEach(dot => console.log(dot))

View File

@ -7,20 +7,12 @@ contributors:
LiveScript is a functional compile-to-JavaScript language which shares
most of the underlying semantics with its host language. Nice additions
comes with currying, function composition, pattern matching and lots of
come with currying, function composition, pattern matching and lots of
other goodies heavily borrowed from languages like Haskell, F# and
Scala.
LiveScript is a fork of [Coco][], which is itself a fork of
[CoffeeScript][]. The language is stable, and a new version is in active
development to bring a plethora of new niceties!
[Coco]: http://satyr.github.io/coco/
[CoffeeScript]: http://coffeescript.org/
Feedback is always welcome, so feel free to reach me over at
[@kurisuwhyte](https://twitter.com/kurisuwhyte) :)
LiveScript is a fork of [Coco](https://github.com/satyr/coco), which is
itself a fork of [CoffeeScript](https://coffeescript.org/).
```livescript
# Just like its CoffeeScript cousin, LiveScript uses number symbols for

View File

@ -16,7 +16,7 @@ Palaikančios naršyklės yra: Firefox 3.5+, Internet Explorer 8.0+, Chrome 1.0+
Failo plėtinys JSON failams yra „.json“, o MIME tipas yra „application/json“.
Dauguma programavimo kalbų palaiko JSON duomenų serializaciją (kodavimą) ir deserializaciją (dekodavimą) į natyviasias duomenų struktūras. Javascript turi visišką JSON teksto kaip duomenų manipuliavimo palaikymą.
Dauguma programavimo kalbų palaiko JSON duomenų serializaciją (kodavimą) ir deserializaciją (dekodavimą) į natyviasias duomenų struktūras. JavaScript turi visišką JSON teksto kaip duomenų manipuliavimo palaikymą.
Daugiau informacijos galima rasti [json.org](http://www.json.org/)

View File

@ -9,13 +9,13 @@ translators:
lang: ms-my
---
Javascript dicipta oleh Brendan Eich dari Netscape pada 1995. Pada awalnya, ia
JavaScript dicipta oleh Brendan Eich dari Netscape pada 1995. Pada awalnya, ia
dicipta sebagai bahasa skrip yang ringkas untuk laman web, melengkapi penggunaan
Java untuk aplikasi web yang lebih rumit, namun begitu, integrasi rapat pada
halaman web dan sokongan tersedia dalam pelayar web telah menyebabkan ia menjadi
lebih kerap digunakan berbanding Java pada bahagian hadapan laman web.
Namun begitu, Javascript tidak terhad pada pelayar web; Node.js, sebuah projek
Namun begitu, JavaScript tidak terhad pada pelayar web; Node.js, sebuah projek
yang menyediakan 'runtime' berdiri sendiri untuk enjin V8 Google Chrome sedang
kian mendapat sambutan yang hangat.
@ -38,7 +38,7 @@ doStuff()
///////////////////////////////////
// 1. Nombor, String dan Operator
// Javascript mempunyai satu jenis nombor (iaitu 64-bit IEEE 754 double).
// JavaScript mempunyai satu jenis nombor (iaitu 64-bit IEEE 754 double).
// Double mempunyai 52-bit mantissa, iaitu ia cukup untuk menyimpan integer
// sehingga 9✕10¹⁵ secara tepatnya.
3; // = 3
@ -134,7 +134,7 @@ undefined; // digunakan untuk menandakan nilai yang tidak wujud pada waktu ini (
///////////////////////////////////
// 2. Pembolehubah, Array dan Objek
// Pembolehubah digunakan dengan kata kunci 'var'. Javascript ialah sebuah
// Pembolehubah digunakan dengan kata kunci 'var'. JavaScript ialah sebuah
// bahasa aturcara yang jenisnya dinamik, maka anda tidak perlu spesifikasikan
// jenis pembolehubah. Penetapan menggunakan satu '=' karakter.
var someVar = 5;
@ -177,13 +177,13 @@ myArray.length; // = 4
// Tambah/Ubah di index yang spesifik
myArray[3] = "Hello";
// Objek javascript adalah sama dengan "dictionaries" atau "maps" dalam bahasa
// Objek JavaScript adalah sama dengan "dictionaries" atau "maps" dalam bahasa
// aturcara yang lain: koleksi pasangan kunci-nilai yang tidak mempunyai
// sebarang susunan.
var myObj = {key1: "Hello", key2: "World"};
// Kunci adalah string, tetapi 'quote' tidak diperlukan jika ia adalah pengecam
// javascript yang sah. Nilai boleh mempunyai sebarang jenis.
// JavaScript yang sah. Nilai boleh mempunyai sebarang jenis.
var myObj = {myKey: "myValue", "my other key": 4};
// Ciri - ciri objek boleh juga diakses menggunakan syntax subskrip (kurungan-
@ -293,7 +293,7 @@ switch (grade) {
///////////////////////////////////
// 4. Functions, Skop dan Closures
// Function javascript dideklarasikan dengan kata kunci `function`.
// Function JavaScript dideklarasikan dengan kata kunci `function`.
function myFunction(thing){
return thing.toUpperCase();
}
@ -309,7 +309,7 @@ function myFunction(){
}
myFunction(); // = undefined
// Function javascript adalah objek kelas pertama, maka ia boleh diberikan
// Function JavaScript adalah objek kelas pertama, maka ia boleh diberikan
// nama pembolehubah yang lain dan diberikan kepada function yang lain sebagai
// input - sebagai contoh, apabila membekalkan pengendali event:
function myFunction(){
@ -331,7 +331,7 @@ setTimeout(function(){
// kod ini akan dijalankan dalam 5 saat
}, 5000);
// Javascript mempunyai skop function; function mempunyai skop mereka
// JavaScript mempunyai skop function; function mempunyai skop mereka
// tersendiri tetapi blok tidak.
if (true){
var i = 5;
@ -351,7 +351,7 @@ i; // = 5 - bukan undefined seperti yang anda jangkakan di dalam bahasa blok-sko
temporary; // akan menghasilkan ralat ReferenceError
permanent; // = 10
// Salah satu ciri terhebat Javascript ialah closure. Jika sebuah function
// Salah satu ciri terhebat JavaScript ialah closure. Jika sebuah function
// didefinisikan di dalam sebuah function lain, function yang di dalam akan
// mempunyai akses kepada semua pembolehubah function yang di luar, mahupun
// selepas function yang di luar tersebut selesai.
@ -566,9 +566,6 @@ aturcara JavaScript dengan agak mudah; jika anda mahu belajar lebih lanjut
tentang menggunakan JavaScript didalam laman web, mulakan dengan mempelajari
tentang [Document Object Model][3].
[Learn Javascript by Example and with Challenges][4] adalah variasi panduan ini
dengan cabaran yang tersedia pakai.
[JavaScript Garden][5] pula adalah panduan yang lebih terperinci mengenai
semua bahagian bahasa aturcara ini yang bertentangan dengan naluri atau
kebiasaan.
@ -583,7 +580,6 @@ dan [JS Tutorial][7] di Mozilla Developer Network.
[1]: https://developer.mozilla.org/en-US/docs/Web/JavaScript
[2]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/A_re-introduction_to_JavaScript
[3]: https://developer.mozilla.org/en-US/docs/Using_the_W3C_DOM_Level_1_Core
[4]: http://www.learneroo.com/modules/64/nodes/350
[5]: https://shamansir.github.io/JavaScript-Garden/
[6]: http://www.amazon.com/gp/product/0596805527/
[7]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/A_re-introduction_to_JavaScript

View File

@ -33,7 +33,7 @@ Sambungan fail untuk fail - fail JSON adalah ".json" dan jenis MIME untuk teks
JSON adalah "application/json".
Banyak bahasa aturcara mempunyai fungsi untuk menyirikan (mengekod) dan
menyah-sirikan (men-dekod) data JSON kepada struktur data asal. Javascript
menyah-sirikan (men-dekod) data JSON kepada struktur data asal. JavaScript
mempunyai sokongon tersirat untuk memanipulasi teks JSON sebagai data.
Maklumat lebih lanjut boleh dijumpai di [json.org](http://www.json.org/)

View File

@ -341,9 +341,9 @@ type animal =
;;
let cow =
{ name: "cow";
color: "black and white";
legs: 4;
{ name = "cow";
color = "black and white";
legs = 4;
}
;;
val cow : animal
@ -488,7 +488,7 @@ filter (fun x -> x < 4) [3; 1; 4; 1; 5] ;; (* Gives [3; 1; 1]) *)
(* However, you can create mutable polymorphic fields *)
type counter = { mutable num : int } ;;
let c = { num: 0 } ;;
let c = { num = 0 } ;;
c.num ;; (* Gives 0 *)
c.num <- 1 ;; (* <- operator can set mutable record fields *)
c.num ;; (* Gives 1 *)

View File

@ -8,7 +8,7 @@ filename: p5.js
---
p5.js is a JavaScript library that starts with the original goal of [Processing](https://processing.org), to make coding accessible for artists, designers, educators, and beginners, and reinterprets this for today's web.
Since p5 is a JavaScript library, you should learn [Javascript](https://learnxinyminutes.com/docs/javascript/) first.
Since p5 is a JavaScript library, you should learn [JavaScript](https://learnxinyminutes.com/docs/javascript/) first.
To run p5.js code, you can go to [the online editor](https://editor.p5js.org/).

View File

@ -999,9 +999,9 @@ Linki zamieszczone poniżej służą pomocą w zrozumieniu wybranego tematu, w r
### Tutoriale i ćwiczenia online po angielsku
* [Learneroo.com - Learn Java](http://www.learneroo.com)
* [Codingbat.com](http://codingbat.com/java)
* [Codewars - Java Katas](https://www.codewars.com/?language=java)
* [University of Helsinki - Object-Oriented programming with Java](http://moocfi.github.io/courses/2013/programming-part-1/)
### Książki po angielsku

View File

@ -586,7 +586,6 @@ Cokolwiek.new.xyz # => 'qux'
### Angielskie
- [Learn Ruby by Example with Challenges](http://www.learneroo.com/modules/61/nodes/338) - A variant of this reference with in-browser challenges.
- [Official Documentation](http://www.ruby-doc.org/core-2.1.1/)
- [Ruby from other languages](https://www.ruby-lang.org/en/documentation/ruby-from-other-languages/)
- [Programming Ruby](http://www.amazon.com/Programming-Ruby-1-9-2-0-Programmers/dp/1937785491/) - An older [free edition](http://ruby-doc.com/docs/ProgrammingRuby/) is available online.

View File

@ -13,7 +13,7 @@ multimedia content, allowing non-programmers to learn fundamentals of computer
programming in a visual context.
While the language is based on Java language, its syntax has been largely
influenced by both Java and Javascript syntaxes. [See more here](https://processing.org/reference/)
influenced by both Java and JavaScript syntaxes. [See more here](https://processing.org/reference/)
The language is statically typed, and also comes with its official IDE to
compile and run the scripts.

View File

@ -104,7 +104,7 @@ class LearnHaxe3{
Trace é o método padrão para imprimir expressões haxe na tela.
Temos diferentes métodos para conseguir isso em diferentes destinos.
Por exemplo: Java, C++, C#, etc. irão imprimir para stdout.
Javascript irá imprimir no console.log, e Flash irá imprimir para um
JavaScript irá imprimir no console.log, e Flash irá imprimir para um
TextField anexado. Todos os "traces" imprimem também uma linha em branco
por padrão. Por fim, é possível prevenir um trace de ser exibido usando
o argumento "--no-traces" no compilador.

View File

@ -15,7 +15,7 @@ complementando o uso de Java para aplicações web mais complexas, mas a sua
integração com páginas web e seu suporte nativo nos browsers fez com que
ela se tornasse mais comum que Java no frontend web.
Javascript não é somente limitada a browsers web, existindo o Node.js,
JavaScript não é somente limitada a browsers web, existindo o Node.js,
que é um projeto que fornece um interpretador baseado no motor V8 do Google
Chrome e está se tornando cada vez mais famoso.
@ -37,7 +37,7 @@ facaAlgo()
///////////////////////////////////
// 1. Números, Strings e Operadores
// Javascript tem um tipo de número (que é o 64-bit IEEE 754 double).
// JavaScript tem um tipo de número (que é o 64-bit IEEE 754 double).
// Doubles tem uma mantissa 52-bit, que é suficiente para guardar inteiros
// acima de 9✕10¹⁵ precisamente.
3; // = 3
@ -130,7 +130,7 @@ undefined; // usado para indicar um valor que não é a atualmente definido
///////////////////////////////////
// 2. Variáveis, Arrays e Objetos
// Variáveis são declaradas com a palavra-chave `var`. O Javascript é
// Variáveis são declaradas com a palavra-chave `var`. O JavaScript é
// dinâmicamente tipado, portanto você não precisa especificar o tipo.
// Atribuições usam um simples caracter de `=`.
var someVar = 5;
@ -166,12 +166,12 @@ myArray.length; // = 4
// Adicionar/modificar em um índice específico
myArray[3] = "Hello";
// Objetos de Javascript são equivalentes aos dicionários ou maps de outras
// Objetos de JavaScript são equivalentes aos dicionários ou maps de outras
// linguagens: uma coleção não ordenada de pares chave-valor.
var myObj = {chave1: "Olá", chave2: "Mundo"};
// Chaves são strings, mas as aspas não são necessárias se elas são
// identificadores válidos no Javascript. Valores podem ser de qualquer tipo.
// identificadores válidos no JavaScript. Valores podem ser de qualquer tipo.
var myObj = {myKey: "myValue", "my other key": 4};
// Atributos de objetos também podem ser acessados com a sintaxe de colchetes.
@ -254,7 +254,7 @@ switch (grade) {
///////////////////////////////////
// 4. Funções, Escopos e Closures
// Funções Javascript são declaradas com a palavra-chave `function`.
// Funções JavaScript são declaradas com a palavra-chave `function`.
function myFunction(thing){
return thing.toUpperCase();
}
@ -273,14 +273,14 @@ function myFunction()
}
myFunction(); // = undefined
// Funções Javascript são objetos de primeira classe, portanto elas podem
// Funções JavaScript são objetos de primeira classe, portanto elas podem
// ser atribuídas a nomes de variáveis e serem passadas para outras funções
// como argumentos - por exemplo, quando criamos um manipulador de eventos:
function myFunction(){
// este código será chamado em 5 segundos
}
setTimeout(myFunction, 5000);
// Nota: `setTimeout` não é parte da linguagem Javascript, mas é provido pelos
// Nota: `setTimeout` não é parte da linguagem JavaScript, mas é provido pelos
// browsers e o Node.js.
// Objetos de funções não precisam nem serem declarados com nome - você pode
@ -290,7 +290,7 @@ setTimeout(function(){
// este código será chamado em 5 segundos
}, 5000);
// O Javascript tem escopo de função; as funções tem seu próprio escopo,
// O JavaScript tem escopo de função; as funções tem seu próprio escopo,
// mas outros blocos não.
if (true){
var i = 5;
@ -310,7 +310,7 @@ i; // = 5 - não `undefined` como você esperaria numa linguagem de blogo-escopo
temporary; // levanta um erro de referência inexiste
permanent; // = 10
// Uma das principais características do Javascript é a closure. Que é
// Uma das principais características do JavaScript é a closure. Que é
// uma função definida dentro de outra função, a função interna pode acessar
// todas as variáveis da função externa, mesmo depois da função de fora
// finalizar sua execução.
@ -493,7 +493,7 @@ String.prototype.firstCharacter = function(){
"abc".firstCharacter(); // = "a"
// Esse fato é usado para criar os chamados `polyfills`, que implementam
// uma nova característica do Javascript em uma versão mais velha, para que
// uma nova característica do JavaScript em uma versão mais velha, para que
// assim funcionem em ambientes mais velhos como browsers ultrapassados.
// Havíamos mencionado que `Object.create` não estava ainda disponível em
@ -513,7 +513,7 @@ if (Object.create === undefined){ // Não o sobrescreve se já existir
O [Mozilla Developer
Network](https://developer.mozilla.org/pt-BR/docs/Web/JavaScript) dispõe de uma
excelente documentação sobre Javascript e seu uso nos browsers. E mais,
excelente documentação sobre JavaScript e seu uso nos browsers. E mais,
é uma wiki, portanto conforme você vai aprendendo, mais você pode ir ajudando
os outros compartilhando do seu conhecimento.
@ -524,9 +524,6 @@ sobre e como usar o JavaScript em páginas na web, comece aprendendo sobre
[Document Object
Model](https://developer.mozilla.org/en-US/docs/Using_the_W3C_DOM_Level_1_Core)
[Aprenda Javascript por Exemplos e com Desafios](http://www.learneroo.com/modules/64/nodes/350) é uma
variação desse guia com desafios.
[JavaScript Garden](https://shamansir.github.io/JavaScript-Garden/) é um guia
profundo de todas as partes do JavaScript.

View File

@ -143,7 +143,7 @@ print 'hello' -- Funciona perfeitamente.
-- Tabelas = A unica estrutura de dados composta em Lua;
-- elas são matrizes associativas.
-- Semelhantes aos arrays de PHP ou objetos de javascript, eles são:
-- Semelhantes aos arrays de PHP ou objetos de JavaScript, eles são:
-- hash-lookup(chave:valor) que também podem ser usados como listas.
-- Usando tabelas como dicionário / mapas:
@ -151,7 +151,7 @@ print 'hello' -- Funciona perfeitamente.
-- Dicionários literais tem strings como chaves por padrão:
t = {key1 = 'value1', key2 = false}
-- As chaves do tipo string podem usar notação de ponto,semelhante a javascript:
-- As chaves do tipo string podem usar notação de ponto, semelhante a JavaScript:
print(t.key1) -- Imprime 'value1'.
t.newKey = {} -- Adiciona um novo par chave/valor.
t.key2 = nil -- Remove key2 da tabela.
@ -197,7 +197,7 @@ end
-- Uma tabela pode ter uma metatabela que fornece à tabela
-- um compotamento de sobrecarga de operador. Depois veremos
-- como metatabelas suportam o comportamento do Javascript-prototype.
-- como metatabelas suportam o comportamento do JavaScript-prototype.
f1 = {a = 1, b = 2} -- Representa uma fração de a/b.
f2 = {a = 2, b = 3}
@ -219,7 +219,7 @@ setmetatable(f2, metafraction)
s = f1 + f2 -- chama __add(f1, f2) na metatabela de f1
-- f1, f2 não tem chave para sua metatabela, ao contrário de
-- prototypes em javascript, então você deve recuperá-lo com
-- prototypes em JavaScript, então você deve recuperá-lo com
-- getmetatable(f1). A metatabela é uma tabela normal
-- com chaves que Lua reconhece, como __add.

View File

@ -11,7 +11,7 @@ lang: pt-br
---
p5.js é biblioteca JavaScript que carrega o princípio original do [Processing](https://processing.org), tornar a programação acessível à artistas, designers, professores e alunos e traz esse lema para os dias atuais.
Como o p5.js é uma biblioteca JavaScript, você precisa aprender [Javascript](https://learnxinyminutes.com/docs/pt-br/javascript-pt/) primeiro.
Como o p5.js é uma biblioteca JavaScript, você precisa aprender [JavaScript](https://learnxinyminutes.com/docs/pt-br/javascript-pt/) primeiro.
Para rodar códigos com p5.js online, você pode acessar o [editor online](https://editor.p5js.org/).

View File

@ -16,7 +16,7 @@ conteúdo multimídia, permitindo que não programadores aprendam os fundamentos
da programação computacional em um contexto visual.
Embora a linguagem seja baseada na linguagem Java, sua sintaxe foi amplamente
influenciado por ambas as sintaxes Java e Javascript.
influenciado por ambas as sintaxes Java e JavaScript.
[Veja mais aqui](https://processing.org/reference/)
A linguagem é tipada estaticamente e também vem com o seu Ambiente de Desenvolvimento

View File

@ -71,22 +71,22 @@ div#meu-id.minha-class
//- ---JAVASCRIPT---
- const lang = "pug";
//- Javascript em várias linhas
//- JavaScript em várias linhas
-
const lang = "pug";
const awesome = true;
//- Classes com Javascript
//- Classes com JavaScript
- const myClass = ['class1', 'class2', 'class3']
div(class=myClass)
//- <div class="class1 class2 class3"></div>
//- Estilos com Javascript
//- Estilos com JavaScript
- const myStyles = {'color':'white', 'background-color':'blue'}
div(styles=myStyles)
//- <div styles="{&quot;color&quot;:&quot;white&quot;,&quot;background-color&quot;:&quot;blue&quot;}"></div>
//- Atributos com Javascript
//- Atributos com JavaScript
- const myAttributes = {"src": "photo.png", "alt": "My Photo"}
img&attributes(myAttributes)
//- <img src="photo.png" alt="My Photo">
@ -97,7 +97,7 @@ input(type="text" disabled=disabled)
input(type="text" disabled=disabled)
//- <input type="text" disabled>
//- Templates com Javascript
//- Templates com JavaScript
- const name = "Bob";
h1 Olá, #{name}
h1= name
@ -175,7 +175,7 @@ html
</body>
</html>
//- Importando Javascript e CSS
//- Importando JavaScript e CSS
script
include scripts/index.js
style

View File

@ -440,7 +440,6 @@ Algo.new.qux # => 'qux'
## Recursos adicionais
- [Aprenda Ruby com desafios](http://www.learneroo.com/modules/61/nodes/338) - Uma coleção de desafios para testar a linguagem.
- [Documentação oficial](http://www.ruby-doc.org/core-2.1.1/)
- [Ruby a partir de outras linguagens](https://www.ruby-lang.org/en/documentation/ruby-from-other-languages/)
- [Programming Ruby](http://www.amazon.com/Programming-Ruby-1-9-2-0-Programmers/dp/1937785491/)- Um mais antigo [free edition](http://ruby-doc.com/docs/ProgrammingRuby/) e tambem uma versão online disponível.

View File

@ -15,7 +15,7 @@ para criação e execução de contratos inteligentes, sem necessidade de partes
centralizadas ou de confiança.
Solidity é uma linguagem de contratos estaticamente tipaada com similaridade com
Javascript e C. Como objetos em programação orientada a objetos, cada contrato
JavaScript e C. Como objetos em programação orientada a objetos, cada contrato
possue variáveis de estado, funções e tipos de dados comuns. Funcionalidades
particulares de contratados incluem cláusuras modificadoras (guarda), notifica
dores de eventos para listerners e variáveis globais customizadas.
@ -463,7 +463,7 @@ modifier chequeValor(uint quantidade) {
// Todas as lógicas básicas de bloco funcionam - incluindo if/else,
// while, break, continue, return - mas não há switch
// A sintaxe é semelhante a Javascript, mas sem conversão de tipos
// A sintaxe é semelhante a JavaScript, mas sem conversão de tipos
// de não-booleanos para booleanos (operadores de comparação precisam
// utilizar valores booleanos)

View File

@ -2259,8 +2259,7 @@ term (Much better than using Google to find Raku documents!).
is a great source of Raku snippets and explanations. If the docs don't
describe something well enough, you may find more detailed information here.
This information may be a bit older but there are many great examples and
explanations. Posts stopped at the end of 2015 when the language was declared
stable and `Raku v6.c` was released.
explanations.
- Come along on `#raku` at [`irc.libera.chat`](https://web.libera.chat/?channel=#raku). The folks here are
always helpful.

View File

@ -9,7 +9,7 @@ filename: coffeescript-ro.coffee
lang: ro-ro
---
CoffeeScript este un limbaj de programare care este compilat in Javascript. Nu exista un interpretator la runtime-ul aplicatiei. Fiind unul din successorii Javascript, CoffeeScript incearca sa compileze Javascript usor de citit si performant.
CoffeeScript este un limbaj de programare care este compilat in JavaScript. Nu exista un interpretator la runtime-ul aplicatiei. Fiind unul din successorii JavaScript, CoffeeScript incearca sa compileze JavaScript usor de citit si performant.
Mai cititi si [website-ul CoffeeScript](http://coffeescript.org/), care contine un tutorial complet Coffeescript.
@ -19,9 +19,9 @@ Mai cititi si [website-ul CoffeeScript](http://coffeescript.org/), care contine
# Comentarii sunt ca in Ruby sau Python.
###
Comentariile in bloc sunt create cu `###`, iar acestea sunt transformate in `/*` si `*/` pentru Javascript
Comentariile in bloc sunt create cu `###`, iar acestea sunt transformate in `/*` si `*/` pentru JavaScript
Ar trebuie sa intelegeti Javascript pentru a continua cu acest ghid.
Ar trebuie sa intelegeti JavaScript pentru a continua cu acest ghid.
###
# Atribuirea valorilor:

View File

@ -211,7 +211,7 @@ $ haml input_file.haml output_file.html
<p>Текст <strong>внутри</strong> <em>блока</em></p>
/ Javascript - фильтр
/ JavaScript - фильтр
:javascript
console.log('This is inline <script>');

View File

@ -514,10 +514,11 @@ public class ExampleClass extends ExampleClassParent implements InterfaceOne, In
**Уроки онлайн**
* [Learneroo.com - Изучение Java](http://www.learneroo.com)
* [Codingbat.com](http://codingbat.com/java)
* [Codewars - Java Katas](https://www.codewars.com/?language=java)
* [Университет Хельсинки - Объектно-ориентированное программирование на Java](http://moocfi.github.io/courses/2013/programming-part-1/)
**Книги**:

View File

@ -10,7 +10,7 @@ filename: learntypescript-ru.ts
---
TypeScript — это язык программирования, целью которого является лёгкая разработка широко масштабируемых JavaScript-приложений.
TypeScript добавляет в Javascript общие концепции, такие как классы, модули, интерфейсы, обобщённое программирование и (опционально) статическую типизацию.
TypeScript добавляет в JavaScript общие концепции, такие как классы, модули, интерфейсы, обобщённое программирование и (опционально) статическую типизацию.
Это надмножество языка JavaScript: весь JavaScript-код является валидным TypeScript-кодом, следовательно, может быть добавлен бесшовно в любой проект.
Компилятор TypeScript генерирует JavaScript-код.

View File

@ -667,7 +667,6 @@ Something.new.qux #=> "qux"
## Additional resources
- [Learn Ruby by Example with Challenges](http://www.learneroo.com/modules/61/nodes/338) - A variant of this reference with in-browser challenges.
- [An Interactive Tutorial for Ruby](https://rubymonk.com/) - Learn Ruby through a series of interactive tutorials.
- [Official Documentation](http://ruby-doc.org/core)
- [Ruby from other languages](https://www.ruby-lang.org/en/documentation/ruby-from-other-languages/)

View File

@ -546,7 +546,6 @@ Nieco.new.qux # => 'qux'
## Ďalšie zdroje
- [Nauč sa ruby v príkladoch s úlohami](http://www.learneroo.com/modules/61/nodes/338) - Variácia tejto referencie s úlohami v prehliadači.
- [Oficiálna dokumentácia](http://www.ruby-doc.org/core-2.1.1/)
- [Ruby z iných jazykov](https://www.ruby-lang.org/en/documentation/ruby-from-other-languages/)
- [Programming Ruby](http://www.amazon.com/Programming-Ruby-1-9-2-0-Programmers/dp/1937785491/) - Staršia [bezplatná edícia](http://ruby-doc.com/docs/ProgrammingRuby/) je dostupná online.

View File

@ -14,7 +14,7 @@ blockchain-based virtual machine that allows the creation and
execution of smart contracts, without requiring centralized or trusted parties.
Solidity is a statically typed, contract programming language that has
similarities to Javascript and C. Like objects in OOP, each contract contains
similarities to JavaScript and C. Like objects in OOP, each contract contains
state variables, functions, and common data types. Contract-specific features
include modifier (guard) clauses, event notifiers for listeners, and custom
global variables.
@ -90,7 +90,7 @@ This will use whatever network is currently selected in your metamask as the net
![Solidity-in-remix](images/solidity/remix-testnet.png)
For now, please continue to use the `Javascript VM` unless instructed otherwise. When you deploy to a testnet, metamask will pop up to ask you to "confirm" the transaction. Hit yes, and after a delay, you'll get the same contract interface at the bottom of your screen.
For now, please continue to use the `JavaScript VM` unless instructed otherwise. When you deploy to a testnet, metamask will pop up to ask you to "confirm" the transaction. Hit yes, and after a delay, you'll get the same contract interface at the bottom of your screen.
```solidity
@ -469,9 +469,9 @@ LogSent(from, to, amount);
/**
For an external party (a contract or external entity), to watch using
the Web3 Javascript library:
the Web3 JavaScript library:
// The following is Javascript code, not Solidity code
// The following is JavaScript code, not Solidity code
Coin.LogSent().watch({}, '', function(error, result) {
if (!error) {
console.log("Coin transfer: " + result.args.amount +
@ -523,7 +523,7 @@ modifier checkValue(uint amount) {
// All basic logic blocks work - including if/else, for, while, break, continue
// return - but no switch
// Syntax same as javascript, but no type conversion from non-boolean
// Syntax same as JavaScript, but no type conversion from non-boolean
// to boolean (comparison operators must be used to get the boolean val)
// For loops that are determined by user behavior, be careful - as contracts have a maximal
@ -718,7 +718,7 @@ contract SomeOracle {
// see example below for State enum and inState modifier
```
Work with the full example below using the [`Javascript VM` in remix here.](https://remix.ethereum.org/#version=soljson-v0.6.6+commit.6c089d02.js&optimize=false&evmVersion=null&gist=3d12cd503dcedfcdd715ef61f786be0b&runs=200)
Work with the full example below using the [`JavaScript VM` in remix here.](https://remix.ethereum.org/#version=soljson-v0.6.6+commit.6c089d02.js&optimize=false&evmVersion=null&gist=3d12cd503dcedfcdd715ef61f786be0b&runs=200)
```solidity
// *** EXAMPLE: A crowdfunding example (broadly similar to Kickstarter) ***

View File

@ -9,7 +9,7 @@ filename: javascript-ta.js
lang: ta-in
---
javascript 1995 ஆம் ஆண்டு Netscape இல் பணிபுரிந்த Brendan Eich
JavaScript 1995 ஆம் ஆண்டு Netscape இல் பணிபுரிந்த Brendan Eich
என்பவரால் உருவாக்கபட்டது.ஆரம்பத்தில் மிகவும் எளிமையான
ஸ்க்ரிப்டிங் மொழியாக இணையதளங்களில் பயன்படுத்தபட்டது.
இது ஜாவா (java ) வில் உருவாக்கபட்ட மிகவும் சிக்கலான இணைய செயலிகளுக்கு
@ -577,8 +577,6 @@ more about how to use JavaScript in web pages, start by learning about the
[Document Object
Model](https://developer.mozilla.org/en-US/docs/Using_the_W3C_DOM_Level_1_Core)
[Learn Javascript by Example and with Challenges](http://www.learneroo.com/modules/64/nodes/350) is a variant of this reference with built-in challenges.
[JavaScript Garden](https://shamansir.github.io/JavaScript-Garden/) is an in-depth
guide of all the counter-intuitive parts of the language.

View File

@ -586,21 +586,18 @@ const add = (firstNumber, secondNumber) => {
MDN'nin [A re-introduction to JavaScript(JavaScript'e Yeniden Giriş)][2] başlıklı kaynağı, burada ele alınan kavramların daha detaylı bir şekilde ele alınmış halini içerir. Bu rehber, bilinçli bir şekilde sadece JavaScript dilini ele almıştır. Eğer JavaScript'i web sayfalarında nasıl kullanacağınız hakkında daha fazla bilgi edinmek isterseniz, [Belge Nesne Modeli (Document Object Model)][3] hakkında öğrenmeye başlayabilirsiniz.
[Patika - Javascript][4]Hakan Yalçınkaya'nın eğitmen olduğu bu kaynak, Javascript'i baştan sonra öğrenmenizi ve öğrendiklerinizi çeşitli test, proje ve coding challenge'lar ile pekiştirmenizi sağlar.
[Learn Javascript by Example and with Challenges][5] Bu da öğrendiklerinizi çeşitli challenge'lar ile pekiştirmenize olanak sağlar.
[Patika - JavaScript][4]Hakan Yalçınkaya'nın eğitmen olduğu bu kaynak, JavaScript'i baştan sonra öğrenmenizi ve öğrendiklerinizi çeşitli test, proje ve coding challenge'lar ile pekiştirmenizi sağlar.
[JavaScript Garden][6] tüm detaylarının derinlemesine incelendiği bir rehberdir.
[Yusuf Sezer][7] Hem Türkçe hem yazılı olsun diyenler için kapsamlı bir kaynak.
[BTK Akademi][8] BTK Akademi Javascript kursu
[BTK Akademi][8] BTK Akademi JavaScript kursu
[1]: https://developer.mozilla.org/en-US/docs/Web/JavaScript
[2]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/A_re-introduction_to_JavaScript
[3]: https://developer.mozilla.org/en-US/docs/Using_the_W3C_DOM_Level_1_Core
[4]: https://academy.patika.dev/courses/javascript
[5]: http://www.learneroo.com/modules/64/nodes/350
[6]: https://shamansir.github.io/JavaScript-Garden/
[7]: https://www.yusufsezer.com.tr/javascript-dersleri/
[8]: https://www.btkakademi.gov.tr/portal/course/javascript-8099

View File

@ -19,18 +19,6 @@ lang: uk-ua
C це імовірно найбільш низькорівнева мова, яку будуть використовувати більшість програмістів. Проте, вона компенсує це не тільки швидкістю виконання. Як тільки ви оціните її можливість ручного управління пам'яттю, С зможе відвести саме в ті місця, в які вам потрібно було потрапити.
> **Дещо про прапори компілятора**
>
> За замовчуванням, gcc та clang досить тихо інформують про попередження та помилки
> при компіляції, хоч це і може бути дуже корисною інформацією. Тому рекомендується
> використовувати більш вимогливий компілятор. Ось кілька рекомендацій:
>
> `-Wall -Wextra -Werror -O2 -std=c99 -pedantic`
>
> За інформацією про ці та інші прапори зверніться до головної сторінки man вашого
> компілятора C (наприклад, `man 1 gcc`) або ж просто заґуґліть.
```c
// Однорядкові коментарі починаються з //
// Проте вони з'явились тільки після С99.

View File

@ -767,10 +767,11 @@ public class EnumTest {
**Online-практика та посібники**
* [Learneroo.com — Вивчаємо Java](http://www.learneroo.com)
* [Codingbat.com](http://codingbat.com/java)
* [Codewars - Java Katas](https://www.codewars.com/?language=java)
* [University of Helsinki - Object-Oriented programming with Java](http://moocfi.github.io/courses/2013/programming-part-1/)
**Книжки**:

View File

@ -483,12 +483,11 @@ if (Object.create === undefined) { // не перезаписуємо метод
## Що почитати
* [1]: https://developer.mozilla.org/en-US/docs/Web/JavaScript
* [2]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/A_re-introduction_to_JavaScript
* [3]: https://developer.mozilla.org/en-US/docs/Using_the_W3C_DOM_Level_1_Core
* [4]: http://www.learneroo.com/modules/64/nodes/350
* [5]: https://shamansir.github.io/JavaScript-Garden/
* [6]: http://www.amazon.com/gp/product/0596805527/
* [7]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/A_re-introduction_to_JavaScript
* [8]: http://eloquentjavascript.net/
* [9]: http://jstherightway.org/
* https://developer.mozilla.org/en-US/docs/Web/JavaScript
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/A_re-introduction_to_JavaScript
* https://developer.mozilla.org/en-US/docs/Using_the_W3C_DOM_Level_1_Core
* https://shamansir.github.io/JavaScript-Garden/
* http://www.amazon.com/gp/product/0596805527/
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/A_re-introduction_to_JavaScript
* http://eloquentjavascript.net/
* http://jstherightway.org/

View File

@ -616,7 +616,6 @@ Something.new.qux # => 'qux'
## Додаткові ресурси
- [Learn Ruby by Example with Challenges](http://www.learneroo.com/modules/61/nodes/338) - A variant of this reference with in-browser challenges.
- [An Interactive Tutorial for Ruby](https://rubymonk.com/) - Learn Ruby through a series of interactive tutorials.
- [Official Documentation](http://ruby-doc.org/core)
- [Ruby from other languages](https://www.ruby-lang.org/en/documentation/ruby-from-other-languages/)

View File

@ -97,7 +97,7 @@ translators:
;; Досі ми не могли що-небудь вивести на консоль і не мали доступу
;; до високорівневої математики (степеневі функції, обрахунок експоненти або тригонометрія).
;; Більше того, ми навіть не могли викликати WASM функції у Javascript!
;; Більше того, ми навіть не могли викликати WASM функції у JavaScript!
;; Виклик цих функцій у WebAssembly залежить від того,
;; де ми знаходимось - чи це Node.js, чи середовище браузера.
@ -149,7 +149,7 @@ translators:
(export "print_args" (func $print_args))
;; Завантаження даних з пам'яті WebAssembly.
;; Наприклад, ми хочемо порахувати cos для елементів Javascript масиву.
;; Наприклад, ми хочемо порахувати cos для елементів JavaScript масиву.
;; Нам потрібно отримати доступ до масиву і можливість ітерувати по ньому.
;; У прикладі нижче ми змінимо існуючий масив.
;; f64.load і f64.store приймають адресу числа у пам'яті *у байтах*.

View File

@ -542,8 +542,7 @@ Something.new.qux # => 'qux'
## Các nguồn tham khảo thêm.
- [Learn Ruby by Example with Challenges](http://www.learneroo.com/modules/61/nodes/338) - A variant of this reference with in-browser challenges.
- [Official Documentation](http://www.ruby-doc.org/core-2.1.1/)
- [Ruby from other languages](https://www.ruby-lang.org/en/documentation/ruby-from-other-languages/)
- [Programming Ruby](http://www.amazon.com/Programming-Ruby-1-9-2-0-Programmers/dp/1937785491/) - An older [free edition](http://ruby-doc.com/docs/ProgrammingRuby/) is available online.
- [Ruby Style Guide](https://github.com/bbatsov/ruby-style-guide) - A community-driven Ruby coding style guide.
- [Ruby Style Guide](https://github.com/bbatsov/ruby-style-guide)

View File

@ -96,7 +96,7 @@ contributors:
;; Up until now, we haven't be able to print anything out, nor do we have
;; access to higher level math functions (pow, exp, or trig functions).
;; Moreover, we haven't been able to use any of the WASM functions in Javascript!
;; Moreover, we haven't been able to use any of the WASM functions in JavaScript!
;; The way we get those functions into WebAssembly
;; looks different whether we're in a Node.js or browser environment.
@ -149,7 +149,7 @@ contributors:
(export "print_args" (func $print_args))
;; Loading in data from WebAssembly memory.
;; Say that we want to apply the cosine function to a Javascript array.
;; Say that we want to apply the cosine function to a JavaScript array.
;; We need to be able to access the allocated array, and iterate through it.
;; This example will modify the input array inplace.
;; f64.load and f64.store expect the location of a number in memory *in bytes*.

View File

@ -11,9 +11,9 @@ translators:
lang: zh-cn
---
Javascript 于 1995 年由网景公司的 Brendan Eich 发明。最初它作为一种简单的,用于开发网站的脚本语言而被发明出来,是用于开发复杂网站的 Java 的补充。但由于它与网页结合度很高并且在浏览器中得到内置的支持,所以在网页前端领域 Javascript 变得比 Java 更流行了。
JavaScript 于 1995 年由网景公司的 Brendan Eich 发明。最初它作为一种简单的,用于开发网站的脚本语言而被发明出来,是用于开发复杂网站的 Java 的补充。但由于它与网页结合度很高并且在浏览器中得到内置的支持,所以在网页前端领域 JavaScript 变得比 Java 更流行了。
不过Javascript 不仅用于网页浏览器,一个名为 Node.js 的项目提供了面向 Google Chrome V8 引擎的独立运行时环境,它正在变得越来越流行。
不过JavaScript 不仅用于网页浏览器,一个名为 Node.js 的项目提供了面向 Google Chrome V8 引擎的独立运行时环境,它正在变得越来越流行。
```js
// 注释方式和C很像这是单行注释
@ -31,7 +31,7 @@ doStuff()
///////////////////////////////////
// 1. 数字、字符串与操作符
// Javascript 只有一种数字类型(即 64位 IEEE 754 双精度浮点 double)。
// JavaScript 只有一种数字类型(即 64位 IEEE 754 双精度浮点 double)。
// double 有 52 位表示尾数,足以精确存储大到 9✕10¹⁵ 的整数。
3; // = 3
1.5; // = 1.5
@ -121,7 +121,7 @@ undefined; // 用来表示还没有设置的值(尽管`undefined`自身实际是
///////////////////////////////////
// 2. 变量、数组和对象
// 变量需要用`var`关键字声明。Javascript是动态类型语言
// 变量需要用`var`关键字声明。JavaScript是动态类型语言
// 所以你无需指定类型。 赋值需要用 `=`
var someVar = 5;
@ -155,7 +155,7 @@ myArray.length; // = 4
// 在指定下标添加/修改
myArray[3] = "Hello";
// javascript中的对象相当于其他语言中的“字典”或“映射”是键-值对的无序集合。
// JavaScript中的对象相当于其他语言中的“字典”或“映射”是键-值对的无序集合。
var myObj = {key1: "Hello", key2: "World"};
// 键是字符串但如果键本身是合法的js标识符则引号并非是必须的。
@ -257,7 +257,7 @@ function myFunction()
}
myFunction(); // = undefined
// javascript中函数是一等对象所以函数也能够赋给一个变量
// JavaScript中函数是一等对象所以函数也能够赋给一个变量
// 并且被作为参数传递 —— 比如一个事件处理函数:
function myFunction(){
// 这段代码将在5秒钟后被调用
@ -288,7 +288,7 @@ i; // = 5 - 并非我们在其他语言中所期望得到的undefined
temporary; // 抛出引用异常ReferenceError
permanent; // = 10
// javascript最强大的功能之一就是闭包。
// JavaScript最强大的功能之一就是闭包。
// 如果一个函数在另一个函数中定义,那么这个内部函数就拥有外部函数的所有变量的访问权,
// 即使在外部函数结束之后。
function sayHelloInFiveSeconds(name){
@ -447,7 +447,7 @@ String.prototype.firstCharacter = function(){
}
"abc".firstCharacter(); // = "a"
// 这个技巧经常用在“代码填充”中,来为老版本的javascript子集增加新版本js的特性
// 这个技巧经常用在“代码填充”中,来为老版本的JavaScript子集增加新版本js的特性
// 这样就可以在老的浏览器中使用新功能了。
// 比如我们知道Object.create并没有在所有的版本中都实现
@ -467,19 +467,17 @@ if (Object.create === undefined){ // 如果存在则不覆盖
[Mozilla 开发者
网络](https://developer.mozilla.org/en-US/docs/Web/JavaScript) 提供了优秀的介绍
Javascript如何在浏览器中使用的文档。而且它是wiki所以你也可以自行编辑来分享你的知识。
JavaScript如何在浏览器中使用的文档。而且它是wiki所以你也可以自行编辑来分享你的知识。
MDN的 [A re-introduction to
JavaScript](https://developer.mozilla.org/en-US/docs/Web/JavaScript/A_re-introduction_to_JavaScript)
覆盖了这里提到的绝大多数话题的细节。该导引的大多数内容被限定在只是Javascript这个语言本身
如果你想了解Javascript是如何在网页中被应用的那么可以查看
覆盖了这里提到的绝大多数话题的细节。该导引的大多数内容被限定在只是JavaScript这个语言本身
如果你想了解JavaScript是如何在网页中被应用的那么可以查看
[Document Object
Model](https://developer.mozilla.org/en-US/docs/Using_the_W3C_DOM_Level_1_Core)
[Learn Javascript by Example and with Challenges](http://www.learneroo.com/modules/64/nodes/350) 是本参考的另一个版本,并包含了挑战习题。
[Javascript Garden](https://shamansir.github.io/JavaScript-Garden/) 是一个深入
讲解所有Javascript反直觉部分的导引。
[JavaScript Garden](https://shamansir.github.io/JavaScript-Garden/) 是一个深入
讲解所有JavaScript反直觉部分的导引。
[JavaScript: The Definitive Guide](http://www.amazon.com/gp/product/0596805527/) 是一个经典的指导参考书。

View File

@ -17,10 +17,6 @@ LiveScript 目前已释出稳定版本,开发中的新版本将会加入更多
[Coco]: http://satyr.github.io/coco/
[CoffeeScript]: http://coffeescript.org/
非常期待您的反馈,你可以通过
[@kurisuwhyte](https://twitter.com/kurisuwhyte) 与我连系 :)
```livescript
# 与 CoffeeScript 一样LiveScript 使用 # 单行注解。

View File

@ -651,7 +651,6 @@ Something.new.qux # => 'qux'
## 其它资源
- [Learn Ruby by Example with Challenges](http://www.learneroo.com/modules/61/nodes/338) - A variant of this reference with in-browser challenges.
- [An Interactive Tutorial for Ruby](https://rubymonk.com/) - Learn Ruby through a series of interactive tutorials.
- [Official Documentation](http://ruby-doc.org/core)
- [Ruby from other languages](https://www.ruby-lang.org/en/documentation/ruby-from-other-languages/)

View File

@ -14,14 +14,14 @@ translators:
Solidity 使你在[以太坊](https://www.ethereum.org/)上编程,一个基于区块链的虚拟机,
允许创建和执行智能合约,无需中心化的或可信的一方。
Solidity 是一种与 Javascript 和 C 的相似的、静态类型的合约编程语言。与OOP面向对象
Solidity 是一种与 JavaScript 和 C 的相似的、静态类型的合约编程语言。与OOP面向对象
的对象一样每个合约都包含状态变量、函数和公共数据类型。合约特定功能包括修饰符guard子句
事件通知的侦听器及自定义的全局变量。
以太坊合约的例子包括众筹、投票以及盲拍(私密拍卖)。
Solidity 代码中存在高风险和高成本的错误,因此你必须非常小心地进行测试并慢慢地发布。**随着
以太坊的快速变化,本文档不可能是最新的,所以你应该关注最新的的 solidity 聊天室和以太网博客。
以太坊的快速变化,本文档不可能是最新的,所以你应该关注最新的的 Solidity 聊天室和以太网博客。
照搬这里的代码,会存在重大错误或弃用代码模式的风险。(说人话--别照抄例子中的代码)**
与其他代码不同,可能还需要添加如暂停、弃用和限制使用的设计模式,来降低风险。本文档主要讨论语法,
@ -61,7 +61,7 @@ contract SimpleBank { // 单词首字母大写
// Events事件 - 向外部监听器发布动作
event LogDepositMade(address accountAddress, uint amount);
// Constructor构造函数译者注solidity 从0.4.22开始使用 constructor() 作为构造函数)
// Constructor构造函数译者注Solidity 从0.4.22开始使用 constructor() 作为构造函数)
function SimpleBank() public {
// msg 提供了发送给合约的消息详情
// msg.sender 是合约的调用者(这里是合约创建者的地址)
@ -112,7 +112,7 @@ contract SimpleBank { // 单词首字母大写
// ** 例子结束 **
// 下面, solidity 基础
// 下面, Solidity 基础
// 1. 数据类型与关联的方法
// uint 类型用作现金数量(没有双浮点型或单浮点型)及日期(用 unix 时间)
@ -266,7 +266,7 @@ uint createdState = uint(State.Created); // 0
// 3. 简单操作符
// solidity 提供了比较、位运算及数学运算的功能
// Solidity 提供了比较、位运算及数学运算的功能
// 指数运算: **
// 异或运算: ^
// 按位取反: ~
@ -375,8 +375,8 @@ event LogSent(address indexed from, address indexed to, uint amount); // 注意
LogSent(from, to, amount);
/*
// 对于外部方(合约或外部实体),使用 Web3 Javascript 库来监听
// 以下是javascript代码,不是solidity代码
// 对于外部方(合约或外部实体),使用 Web3 JavaScript 库来监听
// 以下是JavaScript代码,不是Solidity代码
Coin.LogSent().watch({}, '', function(error, result) {
if (!error) {
console.log("Coin transfer: " + result.args.amount +
@ -425,7 +425,7 @@ modifier checkValue(uint amount) {
// 所有基本的逻辑判断都有效 - 包括 if else, for, while, break, continue
// return - 但不跳转
// 语法同 javascript, 但没有从非布尔值到布尔值的类型转换
// 语法同 JavaScript, 但没有从非布尔值到布尔值的类型转换
// (必须使用比较操作符获得布尔变量值)
// 请注意由用户行为决定的循环 - 因为合约对于代码块具有最大量的 gas 限制 -
@ -744,7 +744,7 @@ sha256("def");
// 11. 安全
// 以太坊的合约中,错误可能是灾难性的 - 即使在 solidity 中是流行的模式,也可能发现是反模式的
// 以太坊的合约中,错误可能是灾难性的 - 即使在 Solidity 中是流行的模式,也可能发现是反模式的
// 参见文档底部的安全链接

View File

@ -585,15 +585,13 @@ const add = (firstNumber, secondNumber) => {
MDN 的 [重新介紹 JavaScript][2] 一文中,提到關於本文之外的更多細節。本文聚焦於 JavaScript 語言本身;若您想學習更多關於如何在網頁中使用 JavaScript可以從閱讀 [文件物件模型][3] 開始。
[Learn Javascript by Example and with Challenges][4] 是另一個參考網站,其包含線上的實戰練習。
[JavaScript Garden][5] 是一份深入探討這門語言所有反直覺部分的指南。
[JavaScript 大全][6] 是一本經典的指南和參考書。
[精通 Javascript][8] 由 Marijn Haverbeke 所著,是一本優秀的 JS 書籍/電子書,附帶終端機指令
[精通 JavaScript][8] 由 Marijn Haverbeke 所著,是一本優秀的 JS 書籍/電子書,附帶終端機指令
[Javascript: The Right Way][10] 是一本指南,旨在向新入門的開發者介紹 JavaScript並幫助有經驗的開發者學習更多關於其最佳實踐的知識。
[JavaScript: The Right Way][10] 是一本指南,旨在向新入門的開發者介紹 JavaScript並幫助有經驗的開發者學習更多關於其最佳實踐的知識。
[現代 JavaScript 教學][11] 為現代的 JavaScript 教學網站,涵蓋了基礎知識(核心語言和瀏覽器操作)以及進階主題,並提供簡明扼要的解釋。
@ -602,7 +600,6 @@ MDN 的 [重新介紹 JavaScript][2] 一文中,提到關於本文之外的更
[1]: https://developer.mozilla.org/en-US/docs/Web/JavaScript
[2]: https://developer.mozilla.org/zh-TW/docs/Web/JavaScript/Language_overview
[3]: https://developer.mozilla.org/en-US/docs/Web/API/Document_Object_Model/Using_the_Document_Object_Model
[4]: http://www.learneroo.com/modules/64/nodes/350
[5]: https://shamansir.github.io/JavaScript-Garden/zhtw/
[6]: https://www.tenlong.com.tw/products/9789865027322
[8]: https://www.tenlong.com.tw/products/9789865029890?list_name=srh