Show more

RT @NolanOBrien@twitter.com

Gonna throw out some counter narrative! macOS Catalina is a solid OS release and _most_ people should upgrade.

There’s a narrative that Catalina is terrible, but I really have seen nothing of that form.

🧵 ⬇️

🐦🔗: twitter.com/NolanOBrien/status

Yes it's sugar. Sugar I've been wanting for a while :) Some objects are much nicer to use with this api.

RT @tonyarnold@twitter.com

I honestly don’t understand what benefit SE-0253 (github.com/apple/swift-evoluti) brings to the Swift language. I can see *what* it does, but it’s… sugar?

Is this another TensorFlow addition? What’s a real-world use case for this?

🐦🔗: twitter.com/tonyarnold/status/

Brutal 👌🏻

RT @jaimealtozano@twitter.com

YA ESTÁ AQUÍ😱

Por qué Mozart no usaba el Si bemol
youtu.be/Jl5ki1JhPWk

Aunque Mozart hizo cientos de obras con Si bemoles, en 1857 se publicó una gráfica analizando la frecuencia de uso de cada nota, y se descubrió un patrón increíble del que quiero hablaros hoy

🐦🔗: twitter.com/jaimealtozano/stat

This is a small but really nice addition:
- The compiler now supports local functions whose default arguments capture values from outer scopes.

Show thread

Swift Round!
- You can call values of types that declare func callAsFunction methods like functions.
- Subscripts can now declare default arguments.
- New Diagnostics infrastructure!
- Xcode include the SourceKit-LSP!

Show thread

- Simulator supports simulating remote push notifications, including background content fetch notifications.

Show thread

- You can now copy, cut, paste, duplicate, and delete views directly within the Xcode Previews canvas. (56134191)
🤩
- XCTest now supports dynamically skipping tests based on runtime conditions.
Not sure I know what to do with this 🤔

Show thread

- The view debugger now presents layout guides (UILayoutGuide, NSLayoutGuide) and their referencing constraints. (20387325)
- View debugging supports showing layers using the Show Layers menu item in the Editor menu. (15775898)

Great additions! 👌🏻

Show thread

Maybe is because I'm used to the current Swift error messages, but some of the examples here swift.org/blog/new-diagnostic- seem more confusing with the new approach.

I find funny how people criticises the Swift forums because is full of compiler/language nerds, when those are the nicest ones in there.
Instead I find random people coming with destructive opinions so much worse.

When I heard last week the word "reflection" I immediately was suspicious. "But I want the compiler checks!" I thought, "but I want autocompletion!" I worried.
but then they pull of a great trick to use reflection and still have both of these things. AMAZING

Show thread

RT @pointfreeco@twitter.com

"Case paths" are powerful and a natural extension of key paths, but they're not so nice to use. They seem to require handwritten boilerplate or code gen…but do they!? This week we'll use Swift's reflection APIs to generate case paths for free!
Learn more: pointfree.co/episodes/ep89-cas

🐦🔗: twitter.com/pointfreeco/status

¡Vuelve Brandon Sanderson! Descubre 'Estelar', la secuela de 'Escuadrón'. Participa y léelo antes que nadie

People is going crazy with this but it’s probably the thing I do most often :p

RT @anaisbetts@twitter.com

PSA: You wouldn't write a book and put every paragraph in a separate file, that would be confusing as fuck

One Class Per File is doing exactly that, but for code. Don't do it!

🐦🔗: twitter.com/anaisbetts/status/

Also quite happy with the @Wizards_DnD@twitter.com prep. I didn't just prepare the next session but also built a couple of towns, polished a couple of NPCs and did more work on Kubril's map. Still quite empty but the players don't know that 😝

Show thread

Productive Saturday!
Gym, shopping and lunch with the family
@SwiftLang@twitter.com video for the channel (tomorrow goes live!)
Played some @PlayRuneterra@twitter.com
Preparted tomorrow’s @Wizards_DnD@twitter.com session!
Now dinner, @sabrinanetflix@twitter.com and chill :)

When your Swift code has more type constraints than implementation lines.

Show more
Mastodon for Tech Folks

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!