Внимание!
При проведении и участии в рескладчинах соблюдайте правила по ссылке
Во избежание блокировки аккаунта и других неприятностей.

Технические вопросы по Javascript на собеседования

Информация:
Тема в разделе "Электронные книги", создана пользователем Collab_Bot, 18 сен 2016.
Этап:
Набор участников
Цена:
166.00 RUB
Участников:
0 из 10
Организатор:
Отсутствует
0%
Расчетный взнос:
21 RUB
  • (Основной список пока пуст)

  1. Collab_Bot

    Collab_Bot Бот рескладчин Бот форума
    • 3063/3811

    Сообщения:
    80.594
    Репутация:
    0
    Отдано:
    1 ГБ
    Скачано:
    0 байт
    Рейтинг:
    -
    [​IMG]

    Неочевидные вопросы по Javascript для подготовки к техническому собеседованию


    Изменять состав складчины нельзя по правилам, так что бонусом будет идти
    "WTF, JavaScript! Curse you Eich! Damn you Crockford!! JavaScript is the worst language ever!"
    Ever had those moments when reading someone else's JavaScript code and screamed something like the above? Code that appears to do one thing but actually does something else? Welcome to the weird and wonderful world of JavaScript.

    JavaScript can be a beautiful language - there exists a book about 100 pages on the good parts of JavaScript after all. However it's more often than not more full of warts. The problem is JavaScript does not follow the principle of least surprise. There are JavaScript code out there that can surprise even the most experienced of JavaScript developers - not in a good way, mind. Accidental globals are just the tip of the iceberg.

    If you have ever seen WTF-worthy JavaScript code (and any JavaScript dev worth her salt would have encountered at least one) and wondered wtf is happening, this book is for you.

    If you were surpised with the result of a particular piece of code, and wondered why the results are what they are, this book is for you.

    If you have ever wondered why [0] == 0? Why "true" == true returns false then this book is for you.

    In this book I go through ~12 examples of crazy JavaScript that would make anyone go "WTF??!", examples such as:

    • Why certain Immediately Invoked Function Expressions don't work?
    • Why in some contexts, commas act funnily.
    • Why in some cases newlines act funnily.
    • Why in some cases, Google Chrome appears to support block-level scoping without ES6 syntax
    • Why truthy values are not true, and why falsey values are not false
    • Why is eval evil?
    • What is foo)(
    • And many more
    I go through these examples, and then explain how the examples happen and work, in a step-by-step manner. Then in a tongue-in-cheek manner, suggest ways to wreak havoc on the unsuspecting using said "quirks" of JavaScript. I for one do not actually condone such behaviour. However, all the examples in this book, I have actually seen in real life, and have often cursed the arsehole developers who wrote them. The actual main aim of this book is to help write better code by showing the obvious pitfalls that you may find when debugging other peoples' codes.

    Sometimes, it's not that these developers are intentionally being arseholes. Most times, the code is well-intentioned, but due to the way the language (and/or implementation) works, the results come out unexpectedly. Other times, it is exceedingly intentional, and innocent-looking code can do a lot of (financial) damage. I cover these and more in the book.

    If you want to know more about the content,

    Who this Book Is For
    This book assumes you are already an intermediate-to-advanced frontend or backend Javascript developer, and is considered to be light reading. Early reviews have compared it to a light-hearted Programmng Pearls for Javascript developers. This author thinks it's more like Programming Turds, but okay.

    Current Status
    The book is currently in final editing stages. No more new content will be added in the near future.

    [​IMG]



    Это рескладчина на
    Ознакомьтесь с правилами проведения и участия в рескладчинах!
     
    Загрузка...