Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Nexion12736y@alexbrooklyn We are updating our legacy stack to go to 7.3 for security update reasons, but for the product we provide, PHP is the wrong choice. Plus it still lets you do too many stupid things. I'm really not a fan of it.
-
@Nexion Just like now, I just found a bug where I'm calling a property from an array instead of from an object inside that array (Javascript)
If it was C# compiler would have never let tiny mistake pass... -
Nexion12736y@gitpush That's part of why I also pushed to convert to Typescript for our front end. That or FlowJS are life savers.
-
@Nexion Too bad I cannot use Typescript with React Native :\
Took me some time to get it working with Vue -
@Nexion damn I didn't know that, thanks a lot man, have a new project on RN, would be much better to use Typescript.
But what about 3rd party libs? In vue I sometimes face issue that type is not defined, I end up adding module.export to a new file (if my memory serves me well) and it gets solved, is it the same in RN? -
Nexion12736y@gitpush Using this should get you at least most of the way there: https://npmjs.com/package/@types/...
-
PHP 5 and 7/8 are not even the same animal. I'll trust when you say PHP is the wrong choice, because I've seen desktop apps written in PHP (don't ask how please) but honestly PHP 7+ is not that bad, especially if you're sticking to PSR. I'd also generally rather migrate an app from PHP5 to PHP7 than from PHP5 to C#.
-
@Nexion @SauceBoss I second that, I wouldn't dare to look back at my old C# school projects. My current php code seems less spaghetti-ish than my C# from the past 🤔
Related Rants
After 2 years of being forced into writing PHP 5.5, we've finally convinced upper management to let us switch to C# instead. It's coming in a few weeks. Words cannot describe how much I hate this god awful language.... C#, save me my sweet, sweet, strictly typed goodness.
rant
c#
php