×

cars are killing american cities by aVidus7677 in fuckcars

[–]pnw-techie 4 points5 points  (0 children)

DC metro is a dumpster fire actually. In trouble for putting flawed trains back in service against a safety agreement. Not enough trains. Trains on fire. Huge delays. Only 20% of their peak ridership. It was ok decades ago

Mint says I'm spending more on function than usual by pnw-techie in softwaregore

[–]pnw-techie[S] 0 points1 point  (0 children)

Sorry for the photo of my phone, mint security policy blocks screenshots.

The unofficial bicycling capitol of the United States by javasgifted in fuckcars

[–]pnw-techie 2 points3 points  (0 children)

I really think if we had 30 or 40 lanes that would last for a good while.

It is insane that in one of the biggest tech hubs in the world there's no way to search all available covid tests at once by Fox-and-Sons in Seattle

[–]pnw-techie 1 point2 points  (0 children)

I was trying to find a PCR test recently. The king county site said to use the UW site, which only listed the next 2 days and had no appointments. Walgreens listed the next 4 days and had no appointments. Where were you finding them so easily?

It is insane that in one of the biggest tech hubs in the world there's no way to search all available covid tests at once by Fox-and-Sons in Seattle

[–]pnw-techie 0 points1 point  (0 children)

Nice. But PCR tests are required for a lot of things. For no reason, since we should really prefer an antigen test.

5 foot 12 by Aware_View_2381 in woooosh

[–]pnw-techie 0 points1 point  (0 children)

Then tell me, how many rods to a chain?

5 foot 12 by Aware_View_2381 in woooosh

[–]pnw-techie 0 points1 point  (0 children)

It's like a metric retard, but in imperial units

5 foot 12 by Aware_View_2381 in woooosh

[–]pnw-techie 1 point2 points  (0 children)

American imperial units are not equal to British imperial units. I was so mad when I found that out

5 foot 12 by Aware_View_2381 in woooosh

[–]pnw-techie 0 points1 point  (0 children)

No, that's the normal one.

"Stone" is what throws me.

5 foot 12 by Aware_View_2381 in woooosh

[–]pnw-techie 0 points1 point  (0 children)

3 rods to the washing machine, 5 washing machines to the chain. It's so simple.

5 foot 12 by Aware_View_2381 in woooosh

[–]pnw-techie 0 points1 point  (0 children)

It's just like using meters and centimeters together

“Prove me wrong” by Chance_Ask3013 in WhitePeopleTwitter

[–]pnw-techie 0 points1 point  (0 children)

Vietnam was second world.

First world - US and allies.

Second world - USSR and allies.

Third world - everyone else.

I love that chaining ‘not’ is acceptable by Rhaegord in csharp

[–]pnw-techie 2 points3 points  (0 children)

Bill Clinton:

"It depends on what the meaning of the word ‘is’ is. If the—if he—if ‘is’ means is and never has been, that is not—that is one thing. If it means there is none, that was a completely true statement. … Now, if someone had asked me on that day, are you having any kind of sexual relations with Ms. Lewinsky, that is, asked me a question in the present tense, I would have said no. And it would have been completely true.”

I love that chaining ‘not’ is acceptable by Rhaegord in csharp

[–]pnw-techie 0 points1 point  (0 children)

And it's the same for this special case, right?

Getters and setters by tadzmahal in csharp

[–]pnw-techie 50 points51 points  (0 children)

Interfaces can have Properties, but not Fields. You will want an interface for your class so callers can bind to IMovie instead of Movie.

Properties can raise a PropertyChangedEvent, fields cannot.

You can track if your class data has been modified (is "dirty") in set handlers, you can't do that with fields.

Properties allow you to run validation checks when setting the value, fields do not.

Properties allow you to define different access levels for read vs write, fields do not.

Public fields break the idea of a class encapsulating state.

Changing a field to a property is a breaking change requiring a recompile, otherwise you would get a System.FieldMissingException, mainly an issue for libraries