Show newer

'#Siri: please give me a visual metaphor for the status of cycling infrastructure in the United States'

Yes, that is an actual bike path.
Yes, those are actually 8 protected lanes for driving.
— Lakeshore Drive, #Chicago

@fietsprofessor Alt text: waves wash over the bike path, briefly knocking the cyclist off their bike. The cars, meanwhile, are protected by a wall.

@richardcox13 I'm confused that the struct Int32 contains an int m_value as a field. If int is just an alias for Int32, isn't this recursive?

@bdavisx I see the reasoning, but of course the compiler or IDE would catch that. Being reminded of such an error seems much less of a burden than having to know to write (or read) special syntax just for this one purpose.

Maybe after my upcoming year of immersion in C# and Unity all this will feel natural, but right now it seems like the the answer to every question is an additional mechanism.

Hello la commu #SciArt ! 👋

🎨🧬Cette semaine c'est la #SciArtPortfolioWeek alors voici un petit aperçu de mon travail d'illustratrice scientifique.

Cliquez sur le hashtag, vous verrez des merveilles ! 😍

You know what’s software engineering? Regaining control over a computer 20 billion kilometers away thanks to the design decisions made 50 years prior. #voyager2

@jupiter I disagree. To me, primitive means either:

1) not comprised of smaller values, or
2) not involving a reference.

Strings don't qualify either way.

C#, unlike Java, has structs, which are primitive in sense 2 but not sense 1. It might be reasonable for dates to fall into this category. I wouldn't want strings to behave this way, because s1 = s2 shouldn't take time proportional to the length of the string.

starts the names of primitive types with lower-case letters and all others with upper-case letters.

*could* do that.

Or, reasonably, it could use capitalization to distinguish between value types (like ints and structs) and reference types (like classes).

But no. C# uses this to indicate whether a type is *predefined*. So string and object, unlike all other classes, start with lower-case letters.

Worse, string and object are actually aliases for System.String and System.Object, respectively.

Why would you add aliases to make things *less* consistent?

Suppose class B extends class A. In your constructor for B, you want to call the constructor for A. In :

public B(int x) {
super(x);
...
}

In :

public B(int x) : base(x) {
...
}

Why does C# introduce special syntax (and overload the colon) for this?

Lesser known pop music facts: The song "Nothing compares 2 U" is actually about the floating point value NaN.

i'm glad it's not the 19th century, because i am able to go on computer and shitpost with other weirdos. if it were 1860 there would be no computer, instead you'd have to read a book titled "a treasury of wisdom, wit, humor, and proverbs" and all the stuff in there would be like "if a woman gives you a watch-chain of horsehair, her father will surely receive you coldly unless you bring him a gift of marmalade" and i'd rather just get tuberculosis

"Emperor Georgiou has 4 tea services: the Uhura, Burnham, Georgiou and, for kids, the Tribble (named after the furry species.)

"Customers who show up in costume or even just wearing the insignia get a discount. And the owners say there have probably been more Trekkies coming through the doors than tea fans.

"'When people come in and see the mural, it’s just so great to see,' Brendon said."

koin.com/news/portland/star-tr

#StarTrek #Portland #Tea

Hey, just a reminder about Mastodon: It's really irritating to read a long thread in which every post has a CW on it, but the Mastodon software anticipates this, and the thread view has a little eye icon up in the corner that will expand every post in the current thread all at once.

Show thread

bike infrastructure in the Netherlands: we built a bike garage that look like an Apple Store!

bike infrastructure in California: enjoy the new suicide center lane on this highway overpass

Show older
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.