Better HN
topnewbestaskshowjobs
Log inSign up

maticzav

50 karma · joined Jan 16, 2018 (8y ago) · 18 submissions

Submissions

comment 1y ago · link · parent

i love the idea!

i know that https://expand.ai/ is doing something similar, maybe worth checking out

2.

Rebrowser Patches – Patches for undetectable browser automation(github.com ↗)

1 points · by maticzav · 1y ago · discuss

3.

The Math Behind Squircles(figma.com ↗)

3 points · by maticzav · 3y ago · discuss

4.

Unleashing Genetic Algorithms on the iOS 7 Icon(blog.mikeswanson.com ↗)

2 points · by maticzav · 3y ago · discuss

5.

User Interface Gallery(ui.gallery ↗)

1 points · by maticzav · 4y ago · discuss

6.

Ask HN: Why are there so many spiders in Europe?

1 points · by maticzav · 4y ago · 2 comments

comment 4y ago · link · parent

Thanks! That helps a lot. Can you maybe recommend any good starting points besides just searching the internet for each of the keywords you mentioned?

8.

Ask HN: Should I learn Docker in 2022?

2 points · by maticzav · 4y ago · 4 comments

9.

Implementing Substitution in λ-Calculus(ucilnica.fri.uni-lj.si ↗)

2 points · by maticzav · 4y ago · discuss

10.

SwiftGraphQL – A GraphQL client for Swift lovers(the-guild.dev ↗)

6 points · by maticzav · 5y ago · discuss

11.

How to Be a Pirate: Quartermaster Edition(youtube.com ↗)

1 points · by maticzav · 5y ago · discuss

12.

Start Programming in Java(notion.so ↗)

2 points · by maticzav · 5y ago · discuss

comment 5y ago · link · parent

Thank you for adding the links!

The main difference between these clients and SwiftGraphQL is that SwiftGraphQL tries to abstract away GraphQL in favour of Swift language feature.

`relay-swift`, for example, relies on query strings which doesn't bring type-safety to your code;

`graphaello` is indeed very similar and I've tried using it before creating SwiftGraphQL. One of the goals of SwiftGraphQL was to let you easily separate the model from your queries. That's why we let you do complex logic in the selection itself. Otherwise, you'd have to first create a utility struct and then translate it into a model-type. I think that's the main difference between graphaello and SwiftGraphQL

Thanks again for sharing the links!

comment 5y ago · link · parent

SwiftGraphQL also generates API structs from the schema.

Maybe you are referring to generating the model from the queries. The problem we had with that approach was that it's hard to reuse the generated structures in your application model. You can read more about the idea here:

https://github.com/maticzav/swift-graphql#what-are-the-pitfa...

comment 5y ago · link · parent

SwiftGraphQL was actually inspired by Elm GraphQL! Dillon - the creator of Elm GraphQL - even helped me understand a couple of concepts he used in that library that we also use in SwiftGraphQL.

16.

SwiftGraphQL – A GraphQL client that lets you forget about GraphQL(github.com ↗)

97 points · by maticzav · 5y ago · 86 comments

comment 8y ago · link · parent

A must see for every frontend engineer working with GraphQL!