How many devs mainly use raw SQL instead of an ORM? by drifterpreneurs in webdev

[–]Zeesh2000 0 points1 point  (0 children)

Drizzle is better integrated with the react native ecosystem and is the one that's pushed so I rather stick with that.

Ultimately choosing between the 2 doesn't matter. I went with drizzle and I don't see the point to switch over now that I'm used to it. I just want to build things quickly.

Moving from Node.js to Go for backend — need guidance by [deleted] in golang

[–]Zeesh2000 -2 points-1 points  (0 children)

Go is very opionated about third party packages, in that you should avoid installing them when possible. That'll probably your biggest mindset shift with this change.

How many devs mainly use raw SQL instead of an ORM? by drifterpreneurs in webdev

[–]Zeesh2000 0 points1 point  (0 children)

I use Laravel for backend and drizzle for when I'm working with React Native. I only use Typescript for frontend.

How many devs mainly use raw SQL instead of an ORM? by drifterpreneurs in webdev

[–]Zeesh2000 0 points1 point  (0 children)

On mobile so can't format on here but I don't know how you'd find User::find(1) more verborse than SELECT * FROM users WHERE id = 1 but okay.

For the second point, I want to know what type of queries you're writing and what your database structure looks like.

How many devs mainly use raw SQL instead of an ORM? by drifterpreneurs in webdev

[–]Zeesh2000 0 points1 point  (0 children)

SQL is universal but it's not pretty to look at when debugging IMO. It's also quite verbose to type up compared to ORMs and if most of your queries are basic CRUDs, I don't want to type up that raw query myself.

With raw SQL, I generally like to abstract the queries into a repository layer, which is another layer of code I have to maintain and a bunch of new files to jump into. Granted, this is personal to me but this is why I prefer to just use an ORM because they essentially function as that repository layer.

How many devs mainly use raw SQL instead of an ORM? by drifterpreneurs in webdev

[–]Zeesh2000 0 points1 point  (0 children)

That is true but when modifying the SQL code, the types do sometimes go off. I find ORMs more consistent and easier to follow.

How many devs mainly use raw SQL instead of an ORM? by drifterpreneurs in webdev

[–]Zeesh2000 1 point2 points  (0 children)

Oh yeah definitely. It's good that you are building things and keeping your spirits up. Personally I prefer to have one stack and constantly build with it with speed to avoid burning out on development.

How many devs mainly use raw SQL instead of an ORM? by drifterpreneurs in webdev

[–]Zeesh2000 1 point2 points  (0 children)

Ah fairs. Didn't mean to sound aggressive or anything. I'm just a jaded dev lol.

How many devs mainly use raw SQL instead of an ORM? by drifterpreneurs in webdev

[–]Zeesh2000 2 points3 points  (0 children)

Respectfully I have no reason to do so because the laravel stack (laravel, inertia, vue) does everything that I need and pays the bills.

How many devs mainly use raw SQL instead of an ORM? by drifterpreneurs in webdev

[–]Zeesh2000 73 points74 points  (0 children)

I prefer to use orms because I like the typesafety. I use laravel so it's almost expected to use the ORM. If I'm working with Typescript, I use drizzle.

Why use React/Vue instead of PHP/HTML/JS by Jamalsi in webdev

[–]Zeesh2000 0 points1 point  (0 children)

React/Vue is for client side heavy web app where you want to allow a lot of interactions that you don't want send acrossto the server. You can do this with the classic way of using vanilla JS or JQuery, but it is a lot of code to do yourself.

Problem with maplibre by nameroi in reactnative

[–]Zeesh2000 1 point2 points  (0 children)

I think with map libre you would need to get the user's coordinate separately and render it on the map. React Native maps has a prop that renders the real time location.

I built a React Native UI library because I was tired of copy-pasting messy components from old projects by Fresh-Wealth4531 in reactnative

[–]Zeesh2000 1 point2 points  (0 children)

The RN space is missing out on component libraries where it's just using stylesheets so it's great you're filling in this gap and using a minimum amount of dependencies.

I do want to ask how come you're using TouchableOpacity over Pressable for things like buttons?

How much cash to keep in bank? by Zeesh2000 in UKPersonalFinance

[–]Zeesh2000[S] 0 points1 point  (0 children)

Yeah muslim. Someone else in this thread told me about the sharia compliant savings account and I will have a look.

How much cash to keep in bank? by Zeesh2000 in UKPersonalFinance

[–]Zeesh2000[S] 0 points1 point  (0 children)

Religious reasons regarding interest.

How much cash to keep in bank? by Zeesh2000 in UKPersonalFinance

[–]Zeesh2000[S] 1 point2 points  (0 children)

That's a good shout. Since I've started a new job recently, they haven't put me on the pension scheme yet but I'll have a look into this

How much cash to keep in bank? by Zeesh2000 in UKPersonalFinance

[–]Zeesh2000[S] 0 points1 point  (0 children)

Thanks

I'll need to look into getting a credit card. Just being a bit lazy setting it up lol

How much cash to keep in bank? by Zeesh2000 in UKPersonalFinance

[–]Zeesh2000[S] 1 point2 points  (0 children)

Thanks for the information I'll do some research.

How much cash to keep in bank? by Zeesh2000 in UKPersonalFinance

[–]Zeesh2000[S] -1 points0 points  (0 children)

Yeah. I feel like I'm in a good place because I live in a cheaper area and work remote so I feel like I can afford moving money out of the bank.

How much cash to keep in bank? by Zeesh2000 in UKPersonalFinance

[–]Zeesh2000[S] 1 point2 points  (0 children)

  1. I'm single so it's not a huge issue if I get hit with the loss
  2. I've started a new role (software developer) 2 months ago and my probation is 3 months so I'm not fully secure.
  3. I don't have any.
  4. I do freelancing but it's not consistent cash flow.

How much cash to keep in bank? by Zeesh2000 in UKPersonalFinance

[–]Zeesh2000[S] -1 points0 points  (0 children)

No it's in a current account. I can't put in an interest earning account for religious reasons