Lurker News
What are you working on? Any new ideas that you're thinking about?

Comments (1,424) 746 threads

Earlier comments
dumbashco#
keeping ahead oF OIG resulting from bad coding. Once cleared, will share my dumb ass error here & at gh
steve_adams_86#
I’m writing a series on how to understand golang if you’re an experienced TypeScript developer.

I’ve worked with several teams now who wanted to adopt Go for the backend, but the team’s only extensive type system experience is in TypeScript. They tended to hit very similar pitfalls and want to coerce the type system to behave like what they’re familiar with, and inevitably they wound up with inflexible and error-prone architecture.
They also failed to accomplish any kind of holistic, 30,000ft view architecture because implementations were too often sent off the rails by not understanding the language deeply enough. That was often in part due to type system confusion inherent to how Go implements certain data structures (particularly slices), which leads to the sprawling repetitive Go code people dislike so much.
I did all of this too, so I feel like my insight and experience would be valuable to share. I actually wrote 90% of it last year and felt like a goof, like, ahhh what am I doing obviously everyone else figured out Go faster than I did and this writing is just telling people how incompetent I am. Haha. But then I worked on another project and the situation was exactly the same. I actually used my draft content to help the team understand how I see the problem, and how to get past the mental traps that they were in.
Fundamentally it comes down to “learn the type system/language properly”, but it’s not quite so blatant or unhelpful. One of the problems with TypeScript methodologies is that they’re so ridiculously flexible, but go is not at all in the same ways, yet they have just enough superficially in common to trick you into thinking otherwise.
So, my series essentially elucidates the similarities, differences, and what’s totally absent in Go from the bottom to the top. It’s interesting because they really are remarkably similar in some ways, which is precisely why it can trip newcomers up. Knowing why that’s a trap makes you a far, far better Go developer. Along the way it also reveals details about TypeScript that some people might not be fully aware of (at least several in the team I shared the drafts with said so), which could be helpful.
I mostly need to muster the courage to hit publish now. My confidence has taken a beating in the last year or so!

serial_dev1 reply#
I'm a Flutter developer starting to be a bit disappointed in the tech (and the community) and sceptical if it can really produce great apps, so I'm thinking about switching to something new in the coming years.

I decided to build a multiplatform app with SwiftUI to test out the waters. So far, learning SwiftUI and building an app is somehow both easier and harder than expected, but I'm glad to see something new.
I'm planning to write a series of apps in the next 6 months, so that I build confidence shipping apps with SwiftUI and maybe find a smaller contract with it.

SupermindPT1 reply#
Why are you disappointed in flutter ?
serial_dev1 reply#
It's certainly not terrible, and I'll probably stick with it a year until I learn something else as well as I know Flutter...

But to answer...
Main reason, I'd like to ship software that isn't only good, but great. To create great apps, it needs to integrate into the OS/browser, and my experience with Flutter has been not great in this regard. The apps always look and feel a bit foreign. I'd rather write 3 separate apps (web, ios, android) that feel great, than ship something faster (if even...) that is so bad, sometimes I feel it's a spit in the face of our customers.
The mobile alternatives became much better: when they started, they were (as I remember) significantly better than the alternatives. Since then, RN became much better, Swift and Kotlin became mainstream, SwiftUI, Jetpack Computer came out, and in a couple of years KMP will also offer a pretty compelling alternative.
Flutter is spread too thin: I understand why they did it, it's great for marketing, and I know people who use it on web, desktop and embedded and are happy... To me, however, it feels like they added platforms before making iOS and Android work and feel great. I hate that I had to debug and pin dependencies that broke due to web incompatibility on an a mobile only app. IMO, it's so shjt on web it's laughable.

SupermindPT#
I am a mobile developer using Xamarin/.NET MAUI for some years now. It is not as popular as Flutter but im pretty happy with it. In my company all of our apps are Xamarin/MAUI too and these are used by hundreds of people. MAUI is not perfect, theres still a long way to go, but it is getting better. We still using Xamarin because of that.
Antoninus#
Lethal Autonomous Weapons Systems.

Load more comments