Skip to content

Translate 'Operators' page #32

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 27, 2019
Merged

Translate 'Operators' page #32

merged 3 commits into from
Oct 27, 2019

Conversation

jakubdrozdek
Copy link
Contributor

No description provided.

@jakubdrozdek
Copy link
Contributor Author

@mitroc @sbielenica Poproszę o sprawdzenie :-)


```js run
let apples = "2";
let oranges = "3";

*!*
// both values converted to numbers before the binary plus
// Obydwie wartości są konwertowane do liczb, a następnie przekazywane do dwuargumentowego plusa
Copy link
Contributor

@sbielenica sbielenica Oct 26, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dlaczego komentarz rozpoczyna się wielką literą? Linia 118 będąca podobnym komentarzem oraz oryginalna wersja linii 114 rozpoczyna się małą literą.


Funny code, isn't it? We should understand how it works, because sometimes we see it in JavaScript libraries, but shouldn't write anything like that ourselves. Such tricks definitely don't make code clearer or readable.
Śmiesznie to wygląda, prawda? Musimy jednak o tym wiedzieć, zważywszy na fakt, iż w wielu bibliotekach javascriptowych napotkamy taki zapis. Radzimy jednak nie pisać tak we własnym kodzie. Tego typu sztuczki tylko zaciemniają kod.
Copy link
Contributor

@sbielenica sbielenica Oct 26, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Proponuję Tego typu sztuczki sprawiają, że kod jest mniej czytelny czy coś w tym stylu.
Obecne tłumaczenie zaciemniają kod brzmi dziwnie i wydaje mi się, że nie oddaje znaczenia słów readable i clearer w tym kontekście.

Uprzedzam: jestem świadom istnienia definicji https://pl.wikipedia.org/wiki/Zaciemnianie_kodu.

@jakubdrozdek
Copy link
Contributor Author

@sbielenica Poprawione.

@jakubdrozdek jakubdrozdek merged commit bc15847 into master Oct 27, 2019
@jakubdrozdek jakubdrozdek deleted the operators branch October 27, 2019 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants