I can't believe in 2023, a company such as @destinationgodland doesn't know how to handle a situation where one of their ferries doesn't work anymore for a couple of days. 1000+ passengers impacted and 2 people at the counter to handle ticket updates. Phone lines disconnected...
Myth: Using UUID as the primary key will slow down inserts.
Fact: Not in Postgres.
I often recommend using UUIDs instead of integer sequences as primary keys. I was surprised to discover that many developers are uncomfortable with them and believe they will slow down inserts.
I was about to record a video explaining why UUIDs are awesome and showing that they do not slow down Postgres. But @hnasr saved me the trouble:
https://t.co/Nqgtfdv64l
@locallycompact Because nobody taught me and I didn't take the time to learn it myself. I did with @elmlang though because it actually helps me do proper and reliable frontend development.
@HadrienMP@tsimbalar L'usage de Mypy sur une codebase python aide pas mal à détecter les bugs en analyse statique par exemple et ça arrive souvent que les erreurs retournées soient pertinentes, notamment sur les valeurs nullable.
@HadrienMP Au final les devs remédient à cela en utilisant un compilateur vers le JS avec #Elm ou #Dart ou #ReasonML, ou #TypeScript pour se rapprocher des garanties des languages plus fortement typés.
@HadrienMP Personnellement pour avoir travaillé avec les décodeurs Json de #elm je comprends très bien ta question. La comparaison est un peu bancale car généralement on ne choisit pas de faire du JS ou du Java on le subit notamment côté front. Côté backend Java c'est une usine à gaz...
I am always curious about haskell. I feel it’s a language that brought (and brings) a lot of good. I absolutely love @elmlang. And this article I think showed me that Haskell is probably not my cup of tea. But I understand functors now !