>PHP
>God tier
MY FUCKING SIDES xDDDD
>>55707928
Prove me wrong faggot.
Python, C/C++
>>55707968
>Type-coercing comparison operators will convert numeric strings to numbers
>For example, consider a simple password checker:if (md5($password) == $hash) {
print "Allowed!\n";
}
>Assume that the $hash is loaded from a known safe string value from a database and contains a real MD5 hash. Now, suppose the$passwordis"ximaz", which has an all-numeric hex-encoded MD5 hash of"61529519452809720693702583126814". When PHP does the comparison, it will print "Allowed!" for any password which matches even the first *half* of the hash:$ php -r 'var_dump("61529519452809720693702583126814" == "61529519452809720000000000000000");'
bool(true)
http://www.phpsadness.com/sad/47
>>55707918
you completely reversed the list. PHP and Python are shit on many levels, while C++ is great and JS is godlike on its own level
Learn JS in 10 years every single application will be written in it
>>55708124
>using MD5 for passwords
>>55707918
>thinks JS is shit tier while also thinking PHP is god tier
>>55707918
Woman or trap? If is a woman, tanks!
If is a trap, kill yourself!
>>55708124
>things work badly when I use the wrong tool for the job!
http://php.net/manual/en/function.password-verify.php
>>55708145
neo-/g/ everyone
Memes aside, C# if you want just windows dev, or willing to use mono. Otherwise C/C++ for cross platform.
C# is literally the comfiest multi-purpose language out there.
>>55708145
>Woman or trap? If is a trap, tanks!
>If is a woman, kill yourself!
FTFY
Node JS is best
>>55708252
is any language as half-baked as PHP?
>>55708252
>can't into string equality
yes, PHP is the wrong tool for the job
>>55708366
>C# is literally the shittiest multi-purpose language out there
Fix'd.
>>55708790
Care to explain why?
>>55708707
sh does this.echo "$1bar" -> echoes the first arg to sh and bar
echo '$1bar' -> does what you'd expect
This is really not unexpected behavior, fairly common.
>>55708826
you would never use sh for anything other than simple scripts.
>>55708841
That doesn't change a thing.
The point is that this behavior happens in other languages. String interpolation is a common language feature.
>>55707968
I know you're baiting but for anyone reading this please google "fractal of bad design"
PHP is so bad we basically invented a new term to describe just how bad it was
>>55708905
it's not that common. the example you cited for precedence is not used in any substantive projects. that was the point of my post.
>>55708962
Perl:$x="foo";
print "$x!\n";
print '$x!\n';
JS is the shit.
Also Python.
You got it all wrong.
>>55707918
>>55708707
>having string interpolation makes a language half baked
That's one flat ass, op.
Which ones should you know for getting a good job?
VB is nice for Windows stuff.
C is the best as long as you dont want anything graphical.
>>55707918
Too much ass
>>55710334
Depends on the industry senpai.
>>55710349
fuck off ireland
>>55707918
One that provides at least a better amateur ass than that
>>55707918
>>55707928
>>55708139
>JS/Python/PHP are shit
'Hobbyist'/'self-taught' programmer general?
>>55708124
No fucking way.
>>55708826
That IS expected behaviour. You seem to be new to programming.
>>55707918
>>55690349
So you want to learn programming?
Pick a starting language. For beginners, there are generally two recommended "programming families" that you can choose to start learning:
-Dynamically typed/interpreted programming languages, such as: Python, Perl, Ruby
-Statically typed/compiled programming languages, such as: C, C++, C#
These are amongst the most popular languages in use worldwide, including 4 from the top 5. Both approaches are perfectly fine, and well-documented.
-Dynamically typed programming may be a bit more flexible, convenient, and forgiving. It is more popular in academia.
-Statically typed programming is a bit more suited for making general applications. It is more popular in industries.
Cannot decide? Flip a coin.
If you choose statically typed/compiled programming, you may want to start with C, then pick up C++. C is very well documented, and teaches many universal programming concepts. C++ is based on C, and adds new concepts. Sources:
For C:
The C Programming Language (K&R)
C Primer Plus (Prata)
http://www.cprogramming.com/tutorial/c-tutorial.html
http://www.learn-c.org/
For C++:
http://www.learncpp.com/
http://www.cplusplus.com/doc/tutorial/
http://www.cprogramming.com/tutorial/c++-tutorial.html
http://en.cppreference.com/
https://isocpp.org/faq
If you choose dynamically typed/interpreted programming, you may want to start with Python. It is very easy to pick up. Here are some good sources:
http://www.learnpython.org/
http://www.codecademy.com/en/tracks/python
>BUT I WANT MORE SOURCES!
Read: https://wiki.installgentoo.com/index.php/Programming_resources
>BUT I WANNA START WITH [language x] INSTEAD!
Sure, if you like. But the languages above are considered good for beginners.
>BUT I WANNA MAKE A COOL WEBSITE!
Learn HTML, CSS, and Javascript.
>BUT I WANNA MAKE iPHONE GAMES!
Learn Objective C and/or Swift.
>BUT I WANNA MAKE ANDROID GAMES!
Learn Java.
>BUT I WANNA MAKE PC GAMES!
Learn patience.
>>55707918
>tfw looks suspiciously like my ex's ass
>deleted all the butt pics I had but those birthmarks seem familiar
>dating a camwhore
>>55708145
I did a reverse search and it looks like this was first posted to an incest thread. so it's probably the OP's trap brother
>>55711043
That's trappy; a man.
Well, not really. Trappy was actually just a troll that stole some girl's images off Facebook and said it was him. So it could be your ex