Show newer

People generally seem to agree that C# class names should be PascalCase.

Except for, y'know, the class you'll probably use most often: string.

Show thread

Capitalization in C# / Unity is an infuriating minefield.

Microsoft and Unity offer slightly different standards and then don't consistently follow them.

There is no entry for "capitalization" in the index for the 1000-page C# 10 in a Nutshell. There is some advice under "identifiers", but it differs from what is given by the previous two sources.

Many sources want to capitalize private and public fields differently. Why would you do that?!

Unity adds spaces and changes the capitalization when displaying class and field names.

If you refactor a name, Unity bloats your code with a FormerlySerializedAs attribute.

you just know somebody’s being called by their full name right now

If you ever think your vote doesn’t matter, take a look at what happened in MN. 321 votes was the difference between nothing moving forward and a progressive triumph this session.

keeps striking adorable poses and them moving as soon as someone gets out a phone. I think she just resents the pupparazzi.

Seeking good examples of media where there is a team of people who are the protagonist and amongst whom there is NOT a 'chosen one' or 'team leader' type. (IE, not Buffy -- even though that's a great series.)

I suppose I should look back into Chinese theater and the changes made under the CCCP in the 20th century. Not sure it's going to be what I'm looking for, though.

Boost if you would like to help give this question wider spread. 🤓

Finished two exquisite pieces of media today:

Mirror Dance, one of the Vorkosigan books by Lois McMaster Bujold, in audiobook form read by the outstanding Grover Gardner.

Teardown, a video game by Tuxedo Labs.

DISCOPIA: a dark future where it's a struggle just stayin' alive.

I have two German shepherds named Rolex and Timex.

They’re watch dogs.

Musk / DeSantis 

Very Kevin McDonald voice:

"I can't believe you're doing this ... so badly!"

If you were to suggest #Linux for some non-tech person, who's computer can't upgrade to Windows 11, and all they do is a web browser and Microsoft Office, what distro would you suggest?

Working through Jeremy Gibson Bond's excellent "Introduction to Game Design, Prototyping, and Development (Third Edition)".

Chapter 20, Variable and Components, gives a useful overview of Unity GameObjects and their components.

It also enumerates several of the bizarre gotchas in Unity, including:

The constants in the Color class (like Color.red) don't follow the usual capitalization convention for constants (SCREAMING_SNAKE_CASE).

"Mesh Colliders can only collide with other Mesh Colliders if both of them have Convex set to true."

"For the position of a Collider component to move with its GameObject, the GameObject must have a RigidBody. Otherwise ... the Collider will not move ...the GameObject will appear to move across the screen, but ... the location of the Collider component will not be updated, and therefore the physical presence of the GameObject will remain in the same location."

The Inspector changes the spacing and capitalization of class and variable names when it displays them, so (e.g.) damageState is displayed as Damage State.

This reminds me of heavy historical wargames that have all kinds of special rules like, "You can have up to three armor units in a city hex, except for hex 2334, which is limited to two armor units until the June 1943 turn (when, historically, the sewage plant exploded)."

Have you ever watched a starling murmuration?

That’s when thousands of #birds seem to dance in spectacular formation, whirling & swirling gracefully across the sky. youtu.be/V4f_1_r80RY #nature #science

Scientists, engineers, mathematicians, & citizen scientists have been exploring what’s happening inside murmurations: theconversation.com/why-do-flo @TheConversationUS

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.