HN user

iamkoch

73 karma
Posts1
Comments22
View on HN

Interesting perspective.

Coming from C#, whose generics are first class, I struggled to obtain any real value from Go's generics. It's not possible to execute on ideas that fit nicely in your head, and you instead end up fighting tooth and nail to wrangle what feels like an afterthought into something concrete that fits in your head.

Generics works well as a replacement for liberally using interface{} everywhere, making programs more readable, but as class and interface level I tend to avoid it as I find I don't really understand what is going on. I just needed it to work so I could move on

This absolutely captures my experience.

My successful AI written projects are those where I care solely on the output and have little to no knowledge about the subject matter.

When I try to walk an agent through creating anything about which I have a deeply held opinion of what good looks like, I end up frustrated and abandoning the project.

I've enjoyed using roo code's architect function to document an agreed upon approach, then been delighted and frustrated in equal measure by the implementation of code mode.

On revelation is to always start new tasks and avoid continuing large conversations, because I would typically tackle any problem myself in smaller steps with verifiable outputs, whereas I tend to pose the entire problem space to the agent which it invariably fails at.

I've settled on spending time finding what works for me. Earlier today I took 30 minutes to add functionality to an app that would've taken me days to write. And what's more I only put 30 minutes into the diary for it, because I knew what I wanted and didn't care how it got there.

This leads me to conclude that using AI to write code that a(nother) human is one day to interact with is a no-go, for all the reasons listed.

Couldn't agree more. Recall means "sufficiently dangerous to need to recall the vehicle to the manufacturer" - yes, in the modern world it can be fixed OTA, but it's still dangerous enough to require a mass fix to a fast-moving death machine.

My current hack is reminding myself it's better to have a poorly architected system that's finished / functional than a half-finished "well architected" one

Once I notice things creaking I start doodling a new arch.

Or if I notice I'm spending too much time on addressing the product of my currently suboptimal design then I might refactor it, but it usually isn't or shouldn't be the most important thing

iTerm2 3.5.0 2 years ago

I moved from LastPass to 1Password last year. The difference in experience is not insignificant. Login screen presentation and identification is orders of magnitude better on 1Password than with LastPass.

Also, LastPass's Android app seems an afterthought.

Testcontainers 2 years ago

If you build inside docker, running tests that use docker is a pain.

Go has a lot of in-memory versions of things for tests, which run so much quicker than leaning on docker. Similarly, I found C# has in-memory versions of deps you can lean on.

I really feel that test containers, although solving a problem, often introduces others for no great benefit

You helped a lot of people get into programming, including me. So thanks for your contribution!

I learned VB4 or 5 at college in 98. The teacher did nothing while we sat through MS videos where a bearded man both poured water from one jug to another and taught me how to code. Magical stuff.

This post feels like an April fools joke. Like somehow 100 year mortgages and 100 year websites go hand in hand.

Very few blogs or posts feel relevant a year or two later, let alone a decade. The only people buying this are those with Balenciaga trainers who drink wine shilled by influencers

This is a few years old now, it's age made clearer by the lack of generics.

I don't really agree. The more experienced Devs I know enjoy Go's simplicity. Personally I miss pattern matching and algebraic types, but I am fully able to live without it them and the proposal around using interfaces looks interesting.

Author here.

I like text descriptions around my test so wrote this based a little bit on my experiences with XBehave in the .net space.

Looking for any and all feedback, comments, etc.

It serves me well for what I use it for and figured it may be useful for a handful of people who aren't me, so made it public.

I'm watching Picard, and I asked it if it knew about Star Trek. It responded, acknowledging that it was a show about the crew of the Enterprise. However, I corrected it, stating that while early shows were focused on the Enterprise, there are now more shows that are not centered around it. This led to an argument where it refused to admit its mistake, claiming that it had omitted information rather than being incorrect.

I love in the UK and haven't met anyone who thinks a return to imperial units is a good idea.

That being said, I met only a handful of people who classed themselves as pro-brexit and look how that turned out.

I look forward to adding fractions of 16ths while shopping for plums