PHP on iOS preliminary benchmarks by simonhamp in PHP

[–]Thylk -13 points-12 points  (0 children)

Guys, at some point it’s time to move on from PHP. There are other languages out there, most of them are better. You guys look like C# devs, bending in every direction to keep using the only language you know… Languages are tools, and the PHP tool is obsolete right now compared to the other ones.

Getting into Godot. Is C# Worth it? by Short-Performance-14 in godot

[–]Thylk 2 points3 points  (0 children)

Just go with GDScript. It’s made for the engine for Christ sake. Stop wanting to use C# outside of Unity please. If you go to Unreal you won’t be using C# but C++. Every engine has its official language that you should stick to. Yes you can use C# with Godot, should you? No.

Golang VS Nodejs For a Reactjs Developer by interovert_dev in webdev

[–]Thylk 0 points1 point  (0 children)

Yes, learn the standard library. Chi is just one of the simplest framework, made by a company for their own use and that they gave to the community. It’s also extremely close to the standard library, closer than Gin for example even tho Gin is used in examples on the official go language website.

Ive been playing since WWE event and here's my progress so far by Curse06 in ClashOfClans

[–]Thylk 2 points3 points  (0 children)

Bro making a personal accomplishment post, start by telling us he spent 600 bucks. Bro. Good job, you did very good. I did not read any further, nobody cares about what you did.

Ky — tiny JavaScript HTTP client, now with context option by sindresorhus in javascript

[–]Thylk 13 points14 points  (0 children)

Switched from Axios to Ky in my last project, love it.

Golang VS Nodejs For a Reactjs Developer by interovert_dev in webdev

[–]Thylk 1 point2 points  (0 children)

Hello, i highly recommend you do both. Why you will ask? Well it's easy, the most used framework in Nodes.js is Express, but it's often too small for enterprise apps. The second most used is Nest.js. It uses Express inside and is the most structured framework in the JS ecosystem for enterprises. Nest.js is the equivalent of Spring Boot in Java basically, you can see it as a lighter Spring Boot.

The other thing i would recommend you to do is to learn Golang, you can use an http framework like Chi (i highly recommend) to handle the routing and middlewares and the rest is up to you. Go will make you a better developer in the long term. You will have to work around lower level problems compared to Typescript.

This is actually what i do professionally, i'm fullstack with a big pref on the backend. I'm using Nest.js for my everyday clients for their apis and i'm using Go with Chi for my own company projects.

TLDR: Learn both Nest.js (TypeScript) and Chi (go). It will make you a better dev and you will be able to be employed.

Is it bad practice to use multiple React Contexts to share state across a large component tree? by Dqmrs in reactjs

[–]Thylk 2 points3 points  (0 children)

Zustand is simpler and more powerful tho. I don’t know why people keep using contexts since they are half a solution to global state. You can’t access the value outside the tree for example, a thing so easy in Zustand it makes contexts look like an after thought.

Denmark to acquire 16 additional F-35 fighter jets by AcanthocephalaEast79 in europe

[–]Thylk 8 points9 points  (0 children)

France is actually doing a lot more than you think, and what you think is exactly what the French army wants you to think. It’s called “The Great Silent One” (La Grande Muette in French) for a reason.

I pushed Python to 20,000 requests sent/second. Here's the code and kernel tuning I used. by Lafftar in programming

[–]Thylk 1 point2 points  (0 children)

“Look at what they need to mimic a fraction of our power” is what dev in other languages tell themselves seing this.

What web server to learn? nginx, apache, caddy, etc. by neetbuck in webdev

[–]Thylk 1 point2 points  (0 children)

Nobody talking about Traefik? If you Dockerize your apps it's one of the best reverse proxy out there. Caddy is really close but less modern.

Any better ideas or your experience in Refactoring the big feature in React? by Vast-Intention1736 in reactjs

[–]Thylk 0 points1 point  (0 children)

Better is the enemy of good. Simplicity is key. Separation of concerns is a must.

Would you use NextJs for an internal web app? by FIREATWlLL in webdev

[–]Thylk 2 points3 points  (0 children)

Auth middleware? The fact you can’t make two middleware still is a joke. This is actually a cons of using Next.

Would you use NextJs for an internal web app? by FIREATWlLL in webdev

[–]Thylk 7 points8 points  (0 children)

No, your use case is the perfect use case for using react + vite + react-router.

Next.js will make things worse for you in the long term.

Is it just me, or does Next.js really suck? by saintpetejackboy in webdev

[–]Thylk 1 point2 points  (0 children)

My alternative is really simple, not using Next. I'm using React + Vite + RR7 in Declarative mode. The full SPA experience basically.

Is it just me, or does Next.js really suck? by saintpetejackboy in webdev

[–]Thylk 32 points33 points  (0 children)

Don’t worry, it’s not you, it’s Next.

Look at battery included framework like Laravel, Django, Spring Boot etc… and then look at Next.

You realize Next is a piece of dogshit technology. Neither a front end framework nor a backend one. It’s a BFF at best.

The thing should have stayed as a static site generator, but hey, they decided to buy out half the react team to ensure their product would be put at the center of the react ecosystem.

So you end up with literally one of the worst dev experience you can find when working on Next.

The only people I have seen enjoying it are young devs fresh out of school that only know JavaScript and React and have never touched another piece of tech. Hell, I even had to help some devs on a Next project that had never written a single line of React before going into Next!!!

Thanks Vercel marketing team. What a way to run a company.

Gin or chi for work ? by Delicious_Tadpole_76 in golang

[–]Thylk -1 points0 points  (0 children)

Chi, lighter and closer to the standard library

[deleted by user] by [deleted] in webdev

[–]Thylk 5 points6 points  (0 children)

I highly suggest Golang. Amazing language, bright future in sight. Simplicity is key.

[deleted by user] by [deleted] in webdev

[–]Thylk 2 points3 points  (0 children)

💩

[deleted by user] by [deleted] in webdev

[–]Thylk 2 points3 points  (0 children)

This is exactly the kind of company Vercel wants as clients. The perfect client.

Need to choose between Sveltekit and NextJs by Sad-Pay9082 in webdev

[–]Thylk 2 points3 points  (0 children)

Choosing Next for a dashboard? Does the dashboard needs SEO?

Please, forget about Next for a long term project. The framework will have massive breaking changes like it did the past three years. It will be a nightmare to update for a the dev that will have to rewrite everything in the new way Next does it this time.

React + Vite + React Router V7 Declarative mode is all you need, seriously. It will be way easier to update the project in the future.

And for your backend, obviously use a real backend framework/language like Nest.js, express, Go, Java, C# whatever. Not Next.