home.social

#mutable — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #mutable, aggregated by home.social.

  1. Wenn du in Java programmierst, wirst du früher oder später auf den Begriff Immutability stoßen. Wörtlich übersetzt bedeutet das „Unveränderlichkeit“. Eine *immutable* Klasse ist also eine Klasse, deren Objekte nach ihrer Erstellung nicht mehr verändert werden können.

    magicmarcy.de/immutability-–-w

    #Immutable #Immutability #Unveränderlichkeit #thread-safe #Mutable #Synchronisierung #Stabilität #Programming #Java

  2. Wenn du in Java programmierst, wirst du früher oder später auf den Begriff Immutability stoßen. Wörtlich übersetzt bedeutet das „Unveränderlichkeit“. Eine *immutable* Klasse ist also eine Klasse, deren Objekte nach ihrer Erstellung nicht mehr verändert werden können.

    magicmarcy.de/immutability-–-w

    #Immutable #Immutability #Unveränderlichkeit #thread-safe #Mutable #Synchronisierung #Stabilität #Programming #Java

  3. Wenn du in Java programmierst, wirst du früher oder später auf den Begriff Immutability stoßen. Wörtlich übersetzt bedeutet das „Unveränderlichkeit“. Eine *immutable* Klasse ist also eine Klasse, deren Objekte nach ihrer Erstellung nicht mehr verändert werden können.

    magicmarcy.de/immutability-–-w

    #Immutable #Immutability #Unveränderlichkeit #thread-safe #Mutable #Synchronisierung #Stabilität #Programming #Java

  4. @davidism

    @glyph

    Interesting. Talk about hiding behind layers of abstraction.

    I also swear I picked this way up from somewhere talking about how to work around this issue in fastapi docs, but am not sure.

    #mutable

  5. Wenn du in Java programmierst, wirst du früher oder später auf den Begriff Immutability stoßen. Wörtlich übersetzt bedeutet das „Unveränderlichkeit“. Eine *immutable* Klasse ist also eine Klasse, deren Objekte nach ihrer Erstellung nicht mehr verändert werden können.

    magicmarcy.de/immutability-–-w

    #Immutable #Immutability #Unveränderlichkeit #thread-safe #Mutable #Synchronisierung #Stabilität #Programming #Java

  6. Wenn du in Java programmierst, wirst du früher oder später auf den Begriff Immutability stoßen. Wörtlich übersetzt bedeutet das „Unveränderlichkeit“. Eine *immutable* Klasse ist also eine Klasse, deren Objekte nach ihrer Erstellung nicht mehr verändert werden können.

    magicmarcy.de/immutability-–-w

    #Immutable #Immutability #Unveränderlichkeit #thread-safe #Mutable #Synchronisierung #Stabilität #Programming #Java

  7. Wenn du in Java programmierst, wirst du früher oder später auf den Begriff Immutability stoßen. Wörtlich übersetzt bedeutet das „Unveränderlichkeit“. Eine *immutable* Klasse ist also eine Klasse, deren Objekte nach ihrer Erstellung nicht mehr verändert werden können.

    magicmarcy.de/immutability-–-w

    #Immutable #Immutability #Unveränderlichkeit #thread-safe #Mutable #Synchronisierung #Stabilität #Programming #Java

  8. 🤔 Ah, the riveting world of Rust's #borrow #checker, where reading from a place is akin to unlocking the secrets of the universe, but only if you adhere to the sacred algebraic rituals. 📊 Apparently, our brave adventurer believes a table of "ideas" will save us all from the terror of #mutable borrowing—because, you know, nothing screams breakthrough like a #spreadsheet. 📈
    nadrieril.github.io/blog/2025/ #Rust #Ideas #Borrowing #HackerNews #ngated

  9. 🤔 Ah, the riveting world of Rust's #borrow #checker, where reading from a place is akin to unlocking the secrets of the universe, but only if you adhere to the sacred algebraic rituals. 📊 Apparently, our brave adventurer believes a table of "ideas" will save us all from the terror of #mutable borrowing—because, you know, nothing screams breakthrough like a #spreadsheet. 📈
    nadrieril.github.io/blog/2025/ #Rust #Ideas #Borrowing #HackerNews #ngated

  10. 🤔 Ah, the riveting world of Rust's #borrow #checker, where reading from a place is akin to unlocking the secrets of the universe, but only if you adhere to the sacred algebraic rituals. 📊 Apparently, our brave adventurer believes a table of "ideas" will save us all from the terror of #mutable borrowing—because, you know, nothing screams breakthrough like a #spreadsheet. 📈
    nadrieril.github.io/blog/2025/ #Rust #Ideas #Borrowing #HackerNews #ngated

  11. 🤔 Ah, the riveting world of Rust's #borrow #checker, where reading from a place is akin to unlocking the secrets of the universe, but only if you adhere to the sacred algebraic rituals. 📊 Apparently, our brave adventurer believes a table of "ideas" will save us all from the terror of #mutable borrowing—because, you know, nothing screams breakthrough like a #spreadsheet. 📈
    nadrieril.github.io/blog/2025/ #Rust #Ideas #Borrowing #HackerNews #ngated

  12. 🤔 Ah, the riveting world of Rust's #borrow #checker, where reading from a place is akin to unlocking the secrets of the universe, but only if you adhere to the sacred algebraic rituals. 📊 Apparently, our brave adventurer believes a table of "ideas" will save us all from the terror of #mutable borrowing—because, you know, nothing screams breakthrough like a #spreadsheet. 📈
    nadrieril.github.io/blog/2025/ #Rust #Ideas #Borrowing #HackerNews #ngated

  13. Wenn du in Java programmierst, wirst du früher oder später auf den Begriff Immutability stoßen. Wörtlich übersetzt bedeutet das „Unveränderlichkeit“. Eine *immutable* Klasse ist also eine Klasse, deren Objekte nach ihrer Erstellung nicht mehr verändert werden können.

    magicmarcy.de/immutability-–-w

    #Immutable #Immutability #Unveränderlichkeit #thread-safe #Mutable #Synchronisierung #Stabilität #Programming #Java

  14. Wenn du in Java programmierst, wirst du früher oder später auf den Begriff Immutability stoßen. Wörtlich übersetzt bedeutet das „Unveränderlichkeit“. Eine *immutable* Klasse ist also eine Klasse, deren Objekte nach ihrer Erstellung nicht mehr verändert werden können.

    magicmarcy.de/immutability-–-w

    #Immutable #Immutability #Unveränderlichkeit #thread-safe #Mutable #Synchronisierung #Stabilität #Programming #Java

  15. Wenn du in Java programmierst, wirst du früher oder später auf den Begriff Immutability stoßen. Wörtlich übersetzt bedeutet das „Unveränderlichkeit“. Eine *immutable* Klasse ist also eine Klasse, deren Objekte nach ihrer Erstellung nicht mehr verändert werden können.

    magicmarcy.de/immutability-–-w

    #Immutable #Immutability #Unveränderlichkeit #thread-safe #Mutable #Synchronisierung #Stabilität #Programming #Java

  16. Wenn du in Java programmierst, wirst du früher oder später auf den Begriff Immutability stoßen. Wörtlich übersetzt bedeutet das „Unveränderlichkeit“. Eine *immutable* Klasse ist also eine Klasse, deren Objekte nach ihrer Erstellung nicht mehr verändert werden können.

    magicmarcy.de/immutability-–-w

    #Immutable #Immutability #Unveränderlichkeit #thread-safe #Mutable #Synchronisierung #Stabilität #Programming #Java

  17. Wenn du in Java programmierst, wirst du früher oder später auf den Begriff Immutability stoßen. Wörtlich übersetzt bedeutet das „Unveränderlichkeit“. Eine *immutable* Klasse ist also eine Klasse, deren Objekte nach ihrer Erstellung nicht mehr verändert werden können.

    magicmarcy.de/immutability-–-w

    #Immutable #Immutability #Unveränderlichkeit #thread-safe #Mutable #Synchronisierung #Stabilität #Programming #Java

  18. Python Mutability:
    - Changing a value of type results in an automatic copy
    - Changing a value of type causes it to mutate in place

    🧠 Understand the Python Data Model better using memory_graph: github.com/yourusername/memory

    🎥 Watch the explainer on Python Mutability: youtu.be/pvIJgHCaXhU

  19. Типы данных в Python. Что нужно о них знать?

    Всем привет! Меня зовут Дима. Я являюсь Backend Python Developer'ом. Хочу оставить здесь скомпонованную информацию, которой когда-то давно не хватало мне. А именно, расскажу Вам про основные типы данных в Python , как они устроены и в чём их отличие.

    habr.com/ru/articles/825806/

    #python #immutable #mutable #data_types #изменяемые #неизменяемые

  20. This morning I downloaded the Deluge's daily nightly firmware to try the new Mutable reverb, based on Beads. There are so many nice features in the community firmware...I have no time to play with all the additions. 🙂
    This new reverb is yet in development. They are fine tuning the details, but the hard work is already done. And its going to sound superb!
     #Synthstrom #deluge #opensource #firmware #mutable #reverb #beads

  21. @phurd

    This is a take! More often people complain about how hard it is to achieve true immutability in Python.

    list(tuple_instance) to the rescue, I guess :)

    #data #mutable #immutable

  22. @matt

    This does bite people in Python, as it applies to lists and dicts in addition to Pandas or whatever that is.

    list and dict have copy() methods, but they're shallow copies. If you have mutable objects in your list or dict, those can be changed by someone with a copy...

    Use copy.deepcopy() to ensure you get a mutable object that no one else (barring evil intent...) has a handle to fiddle with its contents.

    #python #mutable #DeepCopy

  23. @matt

    This does bite people in Python, as it applies to lists and dicts in addition to Pandas or whatever that is.

    list and dict have copy() methods, but they're shallow copies. If you have mutable objects in your list or dict, those can be changed by someone with a copy...

    Use copy.deepcopy() to ensure you get a mutable object that no one else (barring evil intent...) has a handle to fiddle with its contents.

    #python #mutable #DeepCopy

  24. @matt

    This does bite people in Python, as it applies to lists and dicts in addition to Pandas or whatever that is.

    list and dict have copy() methods, but they're shallow copies. If you have mutable objects in your list or dict, those can be changed by someone with a copy...

    Use copy.deepcopy() to ensure you get a mutable object that no one else (barring evil intent...) has a handle to fiddle with its contents.

    #python #mutable #DeepCopy

  25. @matt

    This does bite people in Python, as it applies to lists and dicts in addition to Pandas or whatever that is.

    list and dict have copy() methods, but they're shallow copies. If you have mutable objects in your list or dict, those can be changed by someone with a copy...

    Use copy.deepcopy() to ensure you get a mutable object that no one else (barring evil intent...) has a handle to fiddle with its contents.

    #python #mutable #DeepCopy

  26. @matt

    This does bite people in Python, as it applies to lists and dicts in addition to Pandas or whatever that is.

    list and dict have copy() methods, but they're shallow copies. If you have mutable objects in your list or dict, those can be changed by someone with a copy...

    Use copy.deepcopy() to ensure you get a mutable object that no one else (barring evil intent...) has a handle to fiddle with its contents.

    #python #mutable #DeepCopy

  27. Is a #mutable variable needed in this case?

    Is this code #fsharp idiomatic?

    stackoverflow.com/q/76445536/2

    Edit

    Solved 💪😄👌 by switching from using the #hot🥵 #Task in C# to utilizing the #cold🥶 #Async in F# ❣️

  28. And the same occurs with any value remembered beyond a very short lifetime, and sometimes even then. (Looking at you, #multithreading.)
    Because a file system is #mutable, our #software #application suffers the effects of the change. And if the #programmingLanguage allows for mutability, like #Java does, then it too suffers the effect of change on remembered values. Especially when we, the programmers, can't see that values were remembered. Which is what #memoization does.

  29. A problem I found when implementing this, is race conditions during #concurrency on #mutable collections.

    And that may be specific to the #java #programming #language. The proposed architecture uses #lambda function forms. And if those have to change a value that needs to live on outside their scope, then java insists that the reference to value must be effectively final, immutable.

    And that causes us to code some odd structures that are neither elegant nor simple to understand.