776
you are viewing a single comment's thread
view the rest of the comments
[-] originalucifer@moist.catsweat.com 244 points 2 years ago

the nihilist in me really wants to see texas attempt this.

confederates === domestic terrorists. lets act accordingly.

[-] SinningStromgald@lemmy.world 32 points 2 years ago

the nihilist in me really wants to see texas attempt this.

Just to get rid of Abbot and Cruz it would be worth it.

[-] cm0002@lemmy.world 30 points 2 years ago* (last edited 2 years ago)

Ah ha, I found a JS dev lmfao

[-] TimeSquirrel@kbin.social 17 points 2 years ago* (last edited 2 years ago)

Normal languages: "does this equal that?"

JS: "does this REALLY equal that, or just 'equal' that?"

[-] RamblingPanda@lemmynsfw.com 9 points 2 years ago

JS comparing a string and some random number: "ah, close enough probably"

[-] Wrench@lemmy.world -2 points 2 years ago

Beats having explicit null checks everywhere.

[-] Randelung@lemmy.world 3 points 2 years ago

As opposed to null and undefined?

[-] Wrench@lemmy.world 3 points 2 years ago

No one checks those values explicitly.

if (str) checks if it's not null, undefined, or empty string.

Optional chaining like if (arr?.length) checks if list is undefined, null, or empty array.

Falsy and truthy comparators seem fucky in the beginning when coming from a strongly typed language. But they're very convenient when used properly.

[-] Randelung@lemmy.world 1 points 2 years ago

Monads exist, optional chaining has been around for ages, and implicit bool casts, too.

As you said, no one checks those values explicitly.

[-] ThunderWhiskers@lemmy.world 15 points 2 years ago

I doubt this whole display is anything more than a distraction from the impending elections but I'm going to keep saying it anyway:

Please remember there are sane, reasonable, nonconservative people living here without a good way out. We're not the enemy.

[-] andrew@lemmy.stuart.fun 8 points 2 years ago

Might not be domestic for long. Plus I hear they've got oil! Not sure they've thought this through.

[-] f4f4f4f4f4f4f4f4@lemmy.world 3 points 2 years ago* (last edited 2 years ago)

Not just confederates, it's the current MAGA "Republican" party. CPAC, Dallas, TX, Aug. 4-7, 2022:

The persecution fetish is bigger in Texas.

this post was submitted on 26 Jan 2024
776 points (97.4% liked)

politics

31135 readers
2229 users here now

Welcome to the discussion of US Politics!

Rules:

  1. Post only links to articles. Title must fairly describe link contents. If your title differs from the site’s, it should only be to add context or be more descriptive. Do not post entire articles in the body or in the comments.

Links must be to the original source, not an aggregator like Google Amp, MSN, or Yahoo.

Example:

  1. Articles must be relevant to US politics and contain quality and original content. Social Media adjacent hosts like Substack are allowed, but ONLY if they tie back to a company/subsidiary. No personal or friend group blogs and no self-promotion. Articles should be worth reading. Clickbait, stub articles, and re-hosted or stolen content are not allowed. Check your source for Reliability and Bias here.
  2. Be civil, No violations of TOS. It’s OK to say the subject of an article is behaving like a (pejorative, pejorative). It’s NOT OK to say another USER is (pejorative). Strong language is fine, just not directed at other members. Engage in good-faith and with respect! This includes accusing other users of being bots or paid actors.
  3. No memes, trolling, misinformation, or low-effort posts/comments (including reposts). If you see posts like this that anger you, do not engage. Report, block, and live a happier life than they do. Any slap-fight is subject to comment removals. Fights full of rule violations will result in temporary bans to cool off.
  4. No manipulating votes via bots or alt accounts; this will result in permanent bans. Vote based on comment quality, not agreement. This community aims to foster discussion; please reward people for putting effort into articulating their viewpoint, even if you disagree with it.
  5. No hate speech, slurs, celebrating death, advocating violence, or abusive language. This will result in an account ban. Usernames containing racist, or inappropriate slurs will be permanently banned.

We ask that the users report any comment or post that violate the rules and use critical thinking when reading, posting, and commenting. Users that repeatedly have comments or posts removed, weaponize reports, or violate the code of conduct, will be banned.

All posts and comments will be reviewed on a case-by-case basis. This means that some content that violates the rules may be allowed, while other content that does not violate the rules may be removed. The moderators retain the right to remove any content and ban users. The reason(s) behind moderator action(s) are publicly available through the Modlog.

That's all the rules!

Civic Links

Register To Vote

Citizenship Resource Center

Congressional Awards Program

Federal Government Agencies

Library of Congress Legislative Resources

The White House

U.S. House of Representatives

U.S. Senate

Partnered Communities:

News

World News

Business News

Political Discussion

Ask Politics

Military News

Global Politics

Moderate Politics

Progressive Politics

UK Politics

Canadian Politics

Australian Politics

New Zealand Politics

founded 3 years ago
MODERATORS