Medijski sadržaj
- Tweetovi
- Tweetovi i odgovori
- Medijski sadržaj, trenutna stranica.
-
-
That sweet feeling of hammering a nail with a nuclear warhead.pic.twitter.com/RjNJg1KfNA
-
uvloop has been downloaded 15,000,000 times. oO. Thank you for using it!pic.twitter.com/BVd0Qfla26
-
Open source in 1989.
#OpenCoreSummitpic.twitter.com/wnjh4fB74n – mjesto: Palace of Fine Arts Theater
-
At Open Core Summit. DM me if you're here!pic.twitter.com/CI4DsQH5Ae – mjesto: Palace of Fine Arts Theater
-
I'm in London for a week for Python core sprint at Bloomberg. PM if you want to hang out!pic.twitter.com/u2ngJuIYgD
-
MagicStack is relocating. End of an era and a big new beginning. The plate above the window reads
#blackmagic.pic.twitter.com/R9pJqZve7U
-
12. To solve (11), we added a new magic method to Python 3.6: "__init_subclass__". It allows to implement many of the things people typically use metaclasses for with a simpler pattern. E.g. here's a primitive class registry:pic.twitter.com/o3Luh0jfO8
Prikaži ovu nit -
11. There's a complication though. When metaclasses are used with multiple inheritance, it's easy to arrive to a situation when there's more than one custom metaclass to chose from:pic.twitter.com/OOOJnUT65d
Prikaži ovu nit -
8. Now let's get back to __new__ and __init__ methods we talked about in (1). What if we specify them for a metaclass? We certainly can. In that case they will allow us to fully control how classes are constructed:pic.twitter.com/BpBnTy5GO2
Prikaži ovu nit -
5. A class is a metaclass when it's derived from the "type" class. To later use a metaclass, we use a slightly unintuitive (at first) syntax:pic.twitter.com/N8CtEGHLCo
Prikaži ovu nit -
2. If we go low-level we will realize that the "class" statement is a syntax sugar. For example, the previous example is (pretty much) equivalent to this:pic.twitter.com/UXG1JdoXuw
Prikaži ovu nit -
1. We first need to talk about regular classes, and specifically about __new__() and __init__() methods. The former is actually a static method—it's called when an instance of the class is constructed. The __init__() method then initializes that instance.pic.twitter.com/Zc8nHYKWAd
Prikaži ovu nit -
New
@edgedatabase blog post on SQL vs EdgeQL. https://edgedb.com/blog/we-can-do-better-than-sql/ …pic.twitter.com/ZSkpJfWTs0
-
Is it just me or is Twitter actually overdoing it with the "tweet" button sometimes?pic.twitter.com/udyIsnhsig
-
2. As a side note, I find the types syntax in TypeScript more readable and convenient than in Python. Maybe we should push for something like that in Python too? What do you think?pic.twitter.com/NOvgc5ISnO
Prikaži ovu nit -
An amazing talk about rust, data structures, and concurrency https://youtu.be/s19G6n0UjsM by
@Jonhoo -
And yeah, benchmark results are pretty interesting. https://edgedb.com/blog/edgedb-1-0-alpha-1 …pic.twitter.com/yMUoWvUcjI
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.