Jump to content
Leoo

Today...

Recommended Posts

1+"1"=2

"1"+1=11

 

Have to force it into a type anyways to prevent errors

Those don't both return 11? Interesting....


"Fight for what you believe in, and believe in what you're fighting for." Can games be art?

---

 

 

cWCZMZO.png

l1M6sfb.png

My blog here if you want to check out my Times articles and other writings! I always appreciate comments/feedback.

Share this post


Link to post
Share on other sites

They both return "11"

 

Type inference is the best solution to the problem, but weak typing is better than having to create types for literally everything

Share this post


Link to post
Share on other sites

I mean, types still have to be made for literally everything. It's not like dynamic typing is getting around that problem, it's just forcing you as the programmer to keep track of the type manually at every step. It literally only makes conversion easier, and that's a rare thing in comparison to just using variables.

  • Like 2

My skin is finally getting soft
I'll scrub until the damn thing comes off

Share this post


Link to post
Share on other sites

I'm gonna start quoting statutes of gubernatorial election law just so I feel like I fit in with all this other gibberish

  • Like 1

Quote

 

Quote

Anyone who likes tacos is incapable of logic.

Anyone who likes logic is incapable of tacos.

 

PSA: SaqPrets is an Estonian Dude

Steam: NippleBeardTM

Origin: Brand_New_iPwn

Share this post


Link to post
Share on other sites

Who you calling a goober?


I'm going to milk Goon's teats

Share this post


Link to post
Share on other sites

 

1+"1"=2

"1"+1=11

 

Have to force it into a type anyways to prevent errors

Those don't both return 11? Interesting....

 

Maybe in python they both return 11 but in javascript that first one will return 2

Share this post


Link to post
Share on other sites

In the superior Lua, both return '2'. String concatenation is done with a separate operator.

 

I prefer dynamic typing for rapid things, like simple scripts or small programs, where I won't have to refactor. For anything else, types are simply too useful when writing clean, maintainable code.


ozXHe7P.png

Share this post


Link to post
Share on other sites

 

 

 

 

1+"1"=2

"1"+1=11

 

Have to force it into a type anyways to prevent errors

Those don't both return 11? Interesting....

Maybe in python they both return 11 but in javascript that first one will return 2
They both return '11' in js

Share this post


Link to post
Share on other sites

Yeah your right the test case I was thinking of was:

1. console.log("5" - 1)
2. // → 4
3. console.log("5" + 1)
4. // → 51

Share this post


Link to post
Share on other sites

I just finished Stranger Things.  Holy shit. Also I have to be up for work in 4 hours, but it was worth it.  Strong recommend to anyone who hasn't checked it out yet.

 

I'd suggest one episode a day.  It's great to binge but having now finished, I wish I had drawn it out a little bit more for myself.

  • Like 2

15cbz0y.jpg
[bleep] the law, they can eat my dick that's word to Pimp

Share this post


Link to post
Share on other sites

Yesterday was the birthday of this girl i know. We hooked up a few times in the past. She's a cool girl. I found out though that it was her 30th birthday. I was actually in disbelief. I thought she was 22, 23 at most. When i think about it even now it still doesn't make sense how she's 30... It's weird. I'm obviously really bad at judging people's age.

Share this post


Link to post
Share on other sites

My girlfriends 28 I'm 24 and she looks younger than me. Funny how that happens 

Share this post


Link to post
Share on other sites

I just think it's weird how it never occurred to me that she might be that much older. She just doesn't look/act like any of the other typical 30 year olds i know, which is why i always assumed she was in her early 20s. It just made so much more sense.

Share this post


Link to post
Share on other sites

I think the hardest part of my desk job is staying at my desk. How do people function in an office environment after a lunch break? It's cripplingly boring


Quote

 

Quote

Anyone who likes tacos is incapable of logic.

Anyone who likes logic is incapable of tacos.

 

PSA: SaqPrets is an Estonian Dude

Steam: NippleBeardTM

Origin: Brand_New_iPwn

Share this post


Link to post
Share on other sites

I think the hardest part of my desk job is staying at my desk. How do people function in an office environment after a lunch break? It's cripplingly boring

Remember what you did when grinding those 99's

  • Like 2

Share this post


Link to post
Share on other sites

This election has been too funny which corrupt politician do you prefer the criminal or the racist.

 

Might as well choose godzilla or king kong

Share this post


Link to post
Share on other sites

 

I think the hardest part of my desk job is staying at my desk. How do people function in an office environment after a lunch break? It's cripplingly boring

Remember what you did when grinding those 99's

 

 

See, most places frown upon watching Netflix while afking your job.

  • Like 2

19509_s.gif

 

“I had a feeling we weren’t coming back from this fight when it began.”

“Do you have any regrets?”

“I don’t. It seems surprising, I know, but I wouldn’t change a thing. This is how it was meant to be.”

“Huh, you never really notice how lovely the day is until you realize you’ll never see it again.”

“Mmmhmm.”

 

Share this post


Link to post
Share on other sites

This election has been too funny which corrupt politician do you prefer the criminal or the racist.

 

Might as well choose godzilla or king kong

But I actually like Godzilla.


ozXHe7P.png

Share this post


Link to post
Share on other sites

I think the hardest part of my desk job is staying at my desk. How do people function in an office environment after a lunch break? It's cripplingly boring

I only stay at my desk for like half an hour at a time, then I go somewhere else to chill out for 15 minutes or so

 

 

This election has been too funny which corrupt politician do you prefer the criminal or the racist.

 

Might as well choose godzilla or king kong

There really shouldn't be much of an argument here. You vote for the one who isn't actively trying to hurt people

Share this post


Link to post
Share on other sites

 

This election has been too funny which corrupt politician do you prefer the criminal or the racist.

 

Might as well choose godzilla or king kong

There really shouldn't be much of an argument here. You vote for the one who isn't actively trying to hurt people

 

While Clinton says all the correct things I don't think she will act very differently than Trump. Which is her biggest problem, most people don't trust her.

Trumps biggest problem is he is a vocal and open [wagon]. Which is his biggest problem, people trust that he will act stupidly.

 

 

In reality I think the truth is that both of them are corrupt and powerful people who hold no true ideology but will say anything to any crowd to gain more power and once they get the job will act the same as any president.

  • Like 1

Share this post


Link to post
Share on other sites

 

 

I think the hardest part of my desk job is staying at my desk. How do people function in an office environment after a lunch break? It's cripplingly boring

I only stay at my desk for like half an hour at a time, then I go somewhere else to chill out for 15 minutes or so

 

This election has been too funny which corrupt politician do you prefer the criminal or the racist.

 

Might as well choose godzilla or king kong

There really shouldn't be much of an argument here. You vote for the one who isn't actively trying to hurt people
That's a pretty simplistic statement. I doubt either of them believes their policies are going to hurt people, but they both will do so nonetheless.

 

GARY JOHNSON 2016


polvCwJ.gif
"It's not a rest for me, it's a rest for the weights." - Dom Mazzetti

Share this post


Link to post
Share on other sites

In reality I think the truth is that both of them are corrupt and powerful people who hold no true ideology but will say anything to any crowd to gain more power and once they get the job will act the same as any president.

That's why I find the notion that since Clinton has many claimed positions similar or identical Sanders that she is minimally different from Sanders to be so absurd.

 

It's unlikely she sticks to most of these positions, since 1) she didn't hold them or act on them before and 2) given previous presidents of the same origin (establishment) even bother with critical campaign promises once elected.

 

To be fair, I think Trump is the same to a large extent, but Trump has no record to go by.


ozXHe7P.png

Share this post


Link to post
Share on other sites

 

 

This election has been too funny which corrupt politician do you prefer the criminal or the racist.

 

Might as well choose godzilla or king kong

There really shouldn't be much of an argument here. You vote for the one who isn't actively trying to hurt people

 

While Clinton says all the correct things I don't think she will act very differently than Trump. Which is her biggest problem, most people don't trust her.

Trumps biggest problem is he is a vocal and open [wagon]. Which is his biggest problem, people trust that he will act stupidly.

 

 

In reality I think the truth is that both of them are corrupt and powerful people who hold no true ideology but will say anything to any crowd to gain more power and once they get the job will act the same as any president.

 

Ultimately it comes down to the justices they are going to nominate, and you can trust that Clinton and Trump will nominate very different justices. Especially since this is an election where a Republican candidate can nominate up to 4 justices, you basically have a moral obligation to not vote Republican. Say what you want about economics, or corruption, or whatever, but having a Republican-majority supreme court would be devastating to a lot of people.

Share this post


Link to post
Share on other sites

I think citing "moral obligation" is a terrible thing to vote for a morally bankrupt candidate because she will be able to nominate a justice or two like the past dozens of presidents. The "up to four" is nonsense. The same logic applies to the last dozens of presidents once again, and there's rarely been a case of four justices being nominated over one presidency.

Not to mention most everyone sacrifices hundreds of moral obligations every week--maybe every day--for expediency.

 

It's funny, in a sad way, how true Thoreau's words are:

 

There are thousands who are in opinion opposed to slavery and to the war, who yet in effect do nothing to put an end to them; who, esteeming themselves children of Washington and Franklin, sit down with their hands in their pockets, and say that they know not what to do, and do nothing; who even postpone the question of freedom to the question of free trade, and quietly read the prices-current along with the latest advices from Mexico, after dinner, and, it may be, fall asleep over them both. What is the price-current of an honest man and patriot today? They hesitate, and they regret, and sometimes they petition; but they do nothing in earnest and with effect. They will wait, well disposed, for others to remedy the evil, that they may no longer have it to regret. At most, they give only a cheap vote, and a feeble countenance and God-speed, to the right, as it goes by them.

 

Your vote means nothing, and there is no moral high-ground you can claim by voting.

  • Like 1

ozXHe7P.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.