I paid for Tabnine pro since it was 50% off for a year but I won't renew it unless it massively improves.
I mean, it does give good completions sometimes but the time saved isn't that great imho. Maybe chatgpt is better but it feels like AI still have some way to go to actually be so useful you would be less sucessful without it.
Compared to moat languages, if you have no visitors, php takes up 0 system resources from your system to just sit there and wait.
So you could have hundreds of small sites on the same machine for an extremely low resource cost. That is something it brings to the table and its very beneficial for hosting solutions where there are a lot of small webaites sharing on the same resource.
I would say, as a person who have been developing in JS/TS daily for the last ~5-7 years that it depends on your team.
If you have a larger team, yes it is worth it. If it is your side project or if you are like 2 people working on a project then I would say it's probably not worth it.
Typescripts biggest strength is that it's easier to work several people on the same thing. When someone else makes a change, it's easier to figure out what their code does.
The bigger the team and project, the bigger benefits you will get from typescript. At least, that is my opinion.
> If it is your side project or if you are like 2 people working on a project then I would say it's probably not worth it.
I have several frontend side projects and they all use TypeScript. The static types makes it way easier to write & refactor even if you're working alone. I have also more confidence in my code and spend less time following JS trails to track stupid runtime bugs. Older projects are easier to pick up again.
Any project that goes beyond a few trivial files will benefit from Typescript.
> Yet another "X faster than Y" where inside X all hot jobs are done by really good-tuned C or C++. Facepalm.
This is the case for basically every programming language or performant library that exists. Yet, I never see this when discussions exists about node libraries or other languages for that matter. I mean you could argue that node itself is just a thin wrapper around fast C++ libraries.
Who the fuck cares if the request goes down to some compiled C++ library? I still write my logic in Python and get this benefit anyway. This is what makes it great.
> Yet, I never see this when discussions exists about node libraries or other languages for that matter.
Huh? It's the first comment for pretty much any of these stupid performance comparisons. Does someone really think node performance is great, or pick node because of its performance?
> I still write my logic in Python and get this benefit anyway.
That's part of the point. Writing your logic in Python is fine, but then your app performance isn't winning any comparisons. No one cares about the performance this article is explicitly talking about.
I think the issue is that there is three different types of people when it comes to performance.
There is the 1% that are in a need of hard realtime performance, that thinks about GC performance as an issue that needs to be adressed. Sure I can get that for these people, these kind of discussions seems stupid and confusing since they have to develop in C/C++, Rust etc to get the pure performance they need. These people probably aren't in this thread because they know that Python is not a language for them and will never be.
Then there is the 99% crowd, which I am a part of, that could use slow-as-shit frameworks like Rails or Laravel because the performance is just a nice-to-have. These people, like myself, compares Python perf to perhaps PHP or Node because they are fast enough languages and in this kind of league a framework like OPs can make a huge difference. No matter what language you pick here you are basically always using something "beneth" it. Node has been picked by many because it's faster than for example Python and Ruby.
Then there is the people who are part of the 99% crowd but are just have to comment and point the needs of the 1% out because they are negative people who probably produce little themselves and have to hate on what other people create and distribute for free. This group is where most haters on HN belong in. :)
I started in PHP, when I went to Node in the early beginning I was deeply impressed by the great performance and nice features it had. Sure it was built upon C++ libraries but I am never gonna use C++ to write my web api. Still, I could use Node and get 2-3x AT LEAST the performance in all of my endpoints because of this and all my code was in javascript.
What I am trying to say is that I don't care if you pack my code and run it on a computer in Minecraft or your calculator, if it runs faster for very little to no pain on my side that is pure joy to me.
NodeJS might be slow, but it still is orders of magnitude faster than any interpreted or JIT Python implementation. I agree that no one really chooses Node because it is fast, but I think they choose it because it is fast _enough_ whereas if using Python you'd probably find multiple performance bottlenecks that could be show-stoppers.
> Who the fuck cares if the request goes down to some compiled C++ library?
The way this is titled, you know someone will read this as "Python can be faster than go" and influence their decision when it comes to performance ; that's actually why I clicked on that, thinking "how the hell did they achieve faster speed with Python".
Well, it could be true IMHO. If I run my code that calls down to some ultra fast, mega well done C++ library that is much better than anything in the Go community my code then completes requests faster than the Go alternative.
If that is the case, that should influence the decision when it comes to performance. If performance is a very important deal in your app, you have to test this yourself so that you reach the performance you need.
Perhaps you can write C++ extensions to Python for the perf-heavy parts yourself instead of having to write the entire application in a language that takes much longer time to develop in?
Sorry for all the hate you seem to be recieving, I think it looks great!
I can't join the discord however since I was banned for unknown reasons and cannot create a new account without giving them my phone number, which I refuse to do.
But remember many great things get hated upon in the beginning, take dropbox as an example. People on HN thought it was a shitty idea and they seem to be doing just fine :)
The obsession about private flights in general feels like greenwashed hatred/jealousy towards rich people - environment-wise those represent a rounding error of all total emissions.
I would understand it if the individual preaches that people shouldn't fly and then do it themselves but in this case there is no reason to hate on him. Of course he is going to fly private, he can easily afford it and would probably be stalked and/or harassed by everyone if he didn't.
Most haters would for sure fly private themselves if they could so I think it's jealousy masked as critique.
If you don't see a post about other rich people using jets to travel, you could be the first to be the change you criticize others off not being.
What good has he actually done?
Tesla was never founded by him, nor has Tesla been the driving force of adaptation of the ev, since the industry has been having its ups and downs for over 100 years.
He has hyped up evs for sure, that he deserves all the credit for.
I never understood this obsession with founding. As anyone in the technology sector knows, brilliant ideas are a dime a dozen. Execution is what matters. So what was the brilliant idea of Tesla, and what was the execution? The three people who "founded" Tesla wanted to make a tiny number of hand built sports cars for wealthy elites, and their outcome was the Roadster, a certifiable lemon. Elon's Tesla wanted to mass-produce electric cars for a mainstream audience, and the company succeeded far beyond the predictions of anyone in the legacy auto sector.
I don't either care about "founding", but I do not like how everyone throws the industry's efforts under the buss and think the only meaningful/impactful work has been Tesla & Elon.
My point with "founding" was that a common rebuttal is "Tesla was founded by Elon, he sacrificed so much for EVs!", when in reality the foundation of Tesla was already built and Elon instead did a take over.
It's similar to how people see Bill Gates or Steve Jobs as the "fathers of computing" while in reality they impacted the industry in profound ways, yes, but never would they eclipse the entire industry.
> "Tesla was founded by Elon, he sacrificed so much for EVs!", when in reality the foundation of Tesla was already built and Elon instead did a take over.
That is wildly incorrect, or at least is inconsistent with the consensus opinion of Wikipedia. Martin and Marc had done zero design or engineering work prior to Elon Musk's involvement. All they had was notions of commercialising work already done by other people — namely AC Propulsion with their tzero prototype — something which Musk also wanted to do. In fact this parallel interest was what connected Musk with Tesla in the first place.[0]
Musk was the first and most significant investor in Tesla, which is to say that it was his personal wealth which allowed a functioning company called Tesla to exist in the first place. In its formative years, Musk continued to pour more of his personal wealth in to stave off Tesla's bankruptcy.[1]
While Musk wasn't involved in the day-to-day running of the company until around 2008, he had some involvement in engineering work from the earliest moments that the company started doing any engineering work.[1]
> It's similar to how people see Bill Gates or Steve Jobs as the "fathers of computing"
I think it would be reasonable to describe Gates and Jobs as the "fathers of personal computing". It's an apt metaphor when one considers the relative involvement of a biological mother and biological father in the formation of a new human person.
Other than as a straw man constructed by detractors, nobody claims that Gates, Jobs or Musk did anything of significance single-handedly. But to the extent that any one person can possibly impact an industry such labels are reasonably applied to persons like Gates, Jobs and Musk.
I appreciate that it's easy to overstate the role of inspired leadership, but it has become very fashionable to understate it. Yes, Apple had many incredible engineers. Without the return of Jobs to Apple, would those brilliant engineers have done anything like the iPod? More likely they would have executed with technical excellence on a new Apple LaserWriter printer motherboard or another iteration of the Newton MessagePad.
Everyone stands on the shoulders of giants. Did Jobs personally make the iPod? No. Did the skilled engineers at Apple make the iPod? Well, they didn't make micro hard disks, LCD screens, invent semiconductor photolithography or develop the MP3 audio codec either... What we can say for sure is that the iPod wouldn't have existed in 2001 without Jobs' vision and execution.
> He has hyped up evs for sure, that he deserves all the credit for.
Literally the most important part, proving they were sufficiently advanced that governments could confidently begin phasing in bans of new combustion vehicle sales, dragging legacy auto to EVs as well. Who cares who the founder is? And what about JB!?
No the most important part is that there is an industry that has research & developed and advertised the technology so that the masses can take part of it.
Something that has been in the making as I said, over 100 years for EVs.
Elon has done the advertisement part, but he's only 1 person not an entire industry.
I am not even that much of a fan tbh. But to say Elon hasn't done any good for the environmemt and technical progress is just objectively false.
Who cares if tesla was founded by someone else, he saw potential and executed the growth to what it is today. Tesla is also just one of the several great companies he has founded or been an early part of that does amazing things.
What companies have you been a key player in that has made great technical progress or reduced our environmental impact? Stop the hate man, be mature.
I mean, it does give good completions sometimes but the time saved isn't that great imho. Maybe chatgpt is better but it feels like AI still have some way to go to actually be so useful you would be less sucessful without it.