-
Hi, do objects have to be immutable?
In CS2030, we have to make every object immutable, and every attribute needs to be declared as "final." Is that the case in this course too?
Thanks!
-
Consider the following code:
```csharp
string notificationData =
"""
{
action = "show_pushed_mail";
aps =
{
alert =
{
body = "Compared Exchange Rates are out of tolerance…
-
### Problem Description
Currently it impossible to use `DisjointSet` objects as keys due to the lack of hashability. For example, `hash(DisjointSet(5))` gives an error `TypeError: unhashable type: 's…
-
Hi Jano,
Looking at your Dominion implementation to understand best practices on using boardgame.io. In your utils.js your are doing
```
let buyCard = (state, ctx, player, card) => {
if (stat…
-
Are objects created by the `DataFactory` immutable? How should we write that in the spec? I think we said we don't define the properties read-only to avoid forcing the usage of `Object.defineProperty`…
-
- What is state
- Introduction to React Hooks
- Basic Hooks: "useState", "useEffect"
- Managing Side Effects with "useEffect"
- Complex state (Right way to update objects and arrays in state) - …
-
### Roadmap URL
https://roadmap.sh/python
### Suggestions
I think topics about Garbage Collector are very important to becoming a Python developer. Topics about heap, stack, immutable and mutable o…
-
**Is your feature request related to a problem? Please describe.**
Right now the Query and QueryGroup classes are built in a builder pattern style way (mutating their own object and returning this). …
-
*From [Mark's proposal](https://github.com/markshannon/New-C-API-for-Python/blob/main/DesignRules.md#no-functions-that-mutate-immutable-objects)*
New API should not mutate immutable objects. The bi…
-
**Issue with `getChangelist` in Router.js**
In Ember, while transitioning between routes, the function `getChangelist` is used to compare the state between transitions. You can find its implementat…