3 ms·
> The reason I will almost never use Go for web apps is because interaction with databases is limited > but it's a huge drop in efficiency to spin my own SQL.
by no1youknowz 11y ago
> The reason I will almost never use Go for web apps is because interaction with databases is limited
> but it's a huge drop in efficiency to spin my own SQL.
Sorry, I have to disagree. I come from PHP, where when you sneeze an ORM appears. I actually am a DBA also. I am very familiar with SQL and I love writing out raw SQL.
I don't see this as a limiting feature. It doesn't affect me at all.
There are ORMs for Go as well. But I don't know how good they are. YMMV!
Last point. I have shipped into production a web app using GIN framework. I ported from PHP to Go. I didn't feel I was losing anything.
Go is amazing. It hasn't let me down yet. I doubt it will.
- xrstf 11y ago> I come from PHP, where when you sneeze an ORM appears. YMMD.
- placeybordeaux 11y agoI enjoyed using gin at first, but eventually felt the need to rip it out and replace it with mostly the stdlib. :( My previous job did a PHP -> go transition. I felt like it went well.
- fleetfox 11y agoWhat are these ORMs you are speaking of? Only usable ORM i've seen for PHP is Doctrine.
- Ruhigengeist 11y agoAny framework has their own. Yii implements active record, I've been working with that for a few years now and I really love the paradigm.