3 ms·
> threads and locks are so easy to do! I don't think concurrent programming was ever particularly easy in Java. If you're talking about `synchronized` methods,
by catnaroek 11y ago
> threads and locks are so easy to do!
I don't think concurrent programming was ever particularly easy in Java. If you're talking about `synchronized` methods, well, they are of limited usefulness (to put it mildly) when you need to lock objects in an interleaved fashion: "lock A, lock B, unlock A, lock C, unlock B, lock D, unlock C, etc.", which isn't too uncommon a user case.
> stuff that previously could only be done in C/C++ (...) almost as easily as writing Python or Ruby
Metaprogramming, any? C++ has templates. Python and Ruby have metaclasses. What does Go have?
- spriggan3 11y ago> What does Go have? Go generate AKA C Macros but even worse since there is no macro syntax , you have to code you own code generator yourself .