You SHOULD Learn Vanilla JavaScript Before JS Frameworks – Snipcart

Should you learn vanilla, pure JavaScript before hopping on the trendy JS frameworks bandwagon? Yes. Read this post to learn why.

Source: You SHOULD Learn Vanilla JavaScript Before JS Frameworks – Snipcart

A brilliant article on why you should learn pure JavaScript first and also continue learning it(considering how much new things are in the language since ES6).

I also recommend reading the Axel Rauschmayer‘s books on ES5 and ES6 where you can even find how the JavaScript engine works!

“Practice always leads to mastery” – Francois-Xavier P. Darveau

Some PHP developer interview algorithms you must now

FizzBuzz:

http://3v4l.org/mIBmo

<?php

for ($i = 0; $i <= 30; $i++) {
    if ($i % 3 == 0 && $i % 5 == 0) {
        echo "$i: FizzBuzz; ";
    } elseif ($i % 3 == 0) {
        echo "$i: Fizz; ";
    } elseif ($i % 5 == 0) {
        echo "$i: Buzz; ";
    }
}

Swap 2 vars values without using a third one:

Numbers and strings with XOR:

http://3v4l.org/dsBvh

<?php

$a = 3;
$b = 5;

$a = $a+$b;
$b = $a-$b;
$a = $a-$b;

echo "a = $a; b = $b";

and:

http://3v4l.org/aqWcl

<?php

for ($i = 0; $i <= 30; $i++) {
    if ($i % 3 == 0 && $i % 5 == 0) {
        echo "$i: FizzBuzz; ";
    } elseif ($i % 3 == 0) {
        echo "$i: Fizz; ";
    } elseif ($i % 5 == 0) {
        echo "$i: Buzz; ";
    }
}

Swap 2 strings without using XOR:

http://3v4l.org/FDFDF

<?php
$a = 'texta';
$b = 'textb';
$a = $a . $b; //textatextb
$b = substr($a, 0, strlen($a) - strlen($b)); //texta
$a = substr($a, strlen($b)); //textb
echo "a = $a; b = $b";

2 websites I am using for language learning

These are my all time favorite websites for language learning:

I’ve started my online language learning with this one: Learn Japanese the Hard Way: http://www.textfugu.com/
Koichi is The Man. He has a successful blog about everything Japanese at http://www.tofugu.com/ and he successfully created this self language learning site for all Japanese loving people like me! 🙂
I’ve bought the life-time subscription and I am very happy about that!

The second self language learning website I’ve found some time ago and adore is: http://www.rocketlanguages.com/
As you can see there are enormous amount of different languages one may(must?) learn there!
You can even learn in your native language if it’s one of the most used in the world.
This one is not cheap on first sight but after passing the demo for 6 days I’ve realized that I’ve finally found what I was looking for and I’ve bought Everything about the language I was interested with! All courses, all levels! And since then I can only improve my knowledge!

There are other websites and mobile/desktop applications that have to be mentioned here but I wanted to accent on the main websites one should use and everything else will be to compliment his or her language study.