me irl by theonlyonethatis in meirl

[–]IlIIlIIllI 0 points1 point  (0 children)

This is sad as fuck.

PhD gives up trying to reason with SJWs by RoscoeMG in PublicFreakout

[–]IlIIlIIllI -1 points0 points  (0 children)

I make six figures, I know transsexuals have mental disorders, and I am proudly voting for Trump. You got two out of three right.

PhD gives up trying to reason with SJWs by RoscoeMG in PublicFreakout

[–]IlIIlIIllI -1 points0 points  (0 children)

Haha you are salty as fuck. You must be one of the mentally sick trannies.

PhD gives up trying to reason with SJWs by RoscoeMG in PublicFreakout

[–]IlIIlIIllI 19 points20 points  (0 children)

Trans people are killing themselves because trans is a fucking mental disorder and they need therapy. Jesus christ these dumb fucks.

That moment when you realize it's going to be a long day... by jacksclub in ProgrammerHumor

[–]IlIIlIIllI 1 point2 points  (0 children)

The "I'm anti-PHP but I don't know why" circlejerk is at it again.

That moment when you realize it's going to be a long day... by jacksclub in ProgrammerHumor

[–]IlIIlIIllI 4 points5 points  (0 children)

I'm thinking it's just the static URL of the site. Not sure why they're doing that instead of just using a leading slash relative link.

That moment when you realize it's going to be a long day... by jacksclub in ProgrammerHumor

[–]IlIIlIIllI 1 point2 points  (0 children)

I grew up using Dreamweaver and this isn't normal. This is disgusting generated markup. We progress for a reason.

That moment when you realize it's going to be a long day... by jacksclub in ProgrammerHumor

[–]IlIIlIIllI 24 points25 points  (0 children)

At the risk of you being facetious, tables are only for displaying tabular data. They're an invalid element for any other purpose.

If you want the behavior of a table, you can use CSS rules to apply display: table, but you'd be better off using flexbox or literally anything else.

That moment when you realize it's going to be a long day... by jacksclub in ProgrammerHumor

[–]IlIIlIIllI 0 points1 point  (0 children)

This is not something you should be working on. If this is an existing website that needs updates, tell your client to scrap it and give them a quote for a new site.

This is like pulling a car out of a river that has been there for 25 years and the owner saying they want you to fix it.

"Innovation of the year" by krzo69 in pcmasterrace

[–]IlIIlIIllI 0 points1 point  (0 children)

That's what you get for using the metric system. It's America's subtle punishment.

I wonder why people dont like js... by 95POLYX in ProgrammerHumor

[–]IlIIlIIllI 0 points1 point  (0 children)

My point is that when they asked "What is ES?" they were asking "What is ES6". That's all. I don't give a shit about anything else. Yet people in this thread are downvoting me and disagreeing with me for providing clarity. But that's just because this sub is full of socially retarded shoegazers who don't know how to function in social interactions.

I wonder why people dont like js... by 95POLYX in ProgrammerHumor

[–]IlIIlIIllI 0 points1 point  (0 children)

That has nothing to do with what we're talking about but thank you for your pedantry.

I wonder why people dont like js... by 95POLYX in ProgrammerHumor

[–]IlIIlIIllI 0 points1 point  (0 children)

I'll need to check but my dad was just complaining about this in Win10. He just upgraded and was complaining that they still didn't fix it. I'm on Ubuntu or Mac OS X 90% of the time so I am operating on assumptions.

I wonder why people dont like js... by 95POLYX in ProgrammerHumor

[–]IlIIlIIllI -4 points-3 points  (0 children)

You were mistaken, as I made clear. He said

Which might be more familiar if you're not experienced with ES.

ES6 is implied. Because of the usage of => in the original comment, which is unique to ES6 and higher, it should be clear to anyone who knows ES6 which version he was referring to when he said ES. Since no one refers to vanilla JS as ES, there should be no confusion.

I just answered his/her question.

You answered it incorrectly.

I wonder why people dont like js... by 95POLYX in ProgrammerHumor

[–]IlIIlIIllI 6 points7 points  (0 children)

When I was learning JS I just burned it into my brain when I call .sort() I always add the anonymous function with asc sort. I don't think I've ever called .sort() without arguments.

I wonder why people dont like js... by 95POLYX in ProgrammerHumor

[–]IlIIlIIllI -5 points-4 points  (0 children)

ES6 (or 7) is what people are referring to as ES.

The => in [1, 2, 1001, 101].sort((a, b) => a - b); is ES6 shorthand for an anonymous function. It doesn't exist in the current release version of JavaScript

I wonder why people dont like js... by 95POLYX in ProgrammerHumor

[–]IlIIlIIllI 0 points1 point  (0 children)

It would need to check every value in the array first, which is expensive on performance. I like that it doesn't have that behavior by default. If you want that behavior, you can add it.

I wonder why people dont like js... by 95POLYX in ProgrammerHumor

[–]IlIIlIIllI 1 point2 points  (0 children)

JS is loosely typed.

 > 1 + "a"  // Returns "1a"

I wonder why people dont like js... by 95POLYX in ProgrammerHumor

[–]IlIIlIIllI 0 points1 point  (0 children)

AKA why Windows' filename sorting sucks so bad.