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
-
@AleCx04 well each to their own, I guess. But duuuude.
I mean I did PHP ages ago when it still had the major release 4. I did one project (totally on my own, which certainly didn't help) and it actually got me off programming for two years. I couldn't even look at a programming language and repaired electronics components instead.
I mean... I have heard even C++ or Java programmers say things like "yeah, but it could be worse. At least it's not PHP".
You have my respect, but honestly: you scare me. -
@DirtEffect Yes, yes it is.
Also, PHP 7 and PHP 8 are nothing like PHP 4 tbf...
@iii I use python quite a bit as well, makes me want to punch my screen a lot.
@AleCx04 glad I'm not the only one : > -
@iiii I used Perl a few years ago at work, also made me want to punch my screen a lot.
Not nearly as much as Python does tho. -
@FinlayDaG33k Your ratings of langs is based on how much you want to punch your screen. Cool.
-
@Cyanide yes, languages that are overcomplicated (either overcomplicated in syntax or needing 1337666 extra steps for no reason) for no real reason make me want to punch my screen : >
That's why I don't use Go, Rust, C#, Java (though, I do use Kotlin occasionally), Erlang, Haskell etc. etc.
Mainly stuff that can get me a lot without having to invest much effort into writing overcomplicated syntaxes (like C's syntax, although, they do it for a reason) or or doing pointless actions (like in Python where I need to use "sha256("string".encode("utf-8")).hexdigest()" to make a sha256 hash (the "hexdigest" part is fine, but why do I need to manually encode it as well when literally any language I use regularly doesn't...)
@iiii Yes, I am.
Because why waste time on writing something in A when I can do it a *lot* quicker and better readable in B :p -
@iiii Only makes me want to punch my screen occasionally.
Mainly because I don't expect *anything* to work in JS to begin with :^)
I'd like to have more options in the browser than just JS tho (gieb Ruby in the browser pl0x)...
@OliverTramp PHP has come a big way since PHP 4.
PHP5.6 was when I started doing the PHP and with the releases of PHP7 and now PHP8, it's really good.
Only things I'd like in PHP9 though:
- Easier string concatenation (I like the way Python does it with their f-strings and Javascript with backticks)
- Async/Await (I know AmPHP and ReactPHP are a thing but the way they handle it is more like a hack, which overcomplicated stuff severely).
React can go die in a fire (I *hate* mixing HTML output with my business logic like React does). -
C0D4669024y@DirtEffect yep, seriously, PHP is my go to language, there has been next to nothing I couldn't make that slimy, over flexible, amazingly rough around the edges language do.
My PHP journey started at the end of .php3 ๐, I've seen the language grow from a bunch of shitty functions to a language that can hold its own.
Granted I have seen many devs abuse the fuck out of PHP and want to punch them in the face, but that is more the problem than what you can/can't do with the language.
You can do PHP the right way, and rarely have an issue with the language, or you can slap some shit together m and blame the language. And that's literally the only argument for and against php.
@iiii I've done Perl, Ruby, Java, Python, and PHP somewhere or at some point in the last 16 years, there hasn't been a use case I couldn't have solved with php, hell I'll usually look at the php documentation for a problem and then rewrite it for another language.
Mind you, @linuxxx also loves PHP, maybe I'm seeing something here ๐
Someone once said "great minds think alike" -
@C0D4 Well, there are some use cases that you can't really solve with PHP (using PHP to build desktop and Android apps is not really a thing, outside APIs) :p
But that has to do more with the ecosystem than the language itself.
I'm quite confident that if PHP starts supporting async/await, desktop and Android apps will become a thing quite soon after. -
@FinlayDaG33k oh man in terms of web there is only one other language that really gets out of my way when implementing stuff: Go.
I would suggest a bit more investment in it, it really is not bad and it was made simple as all living hell while maintaining a semi decent type system.
For web I love php because I adhere to a strict code of: no frameworks, just libraries. Php examplifies this for me with composer, but golang carries this out as well man. -
C0D4669024y@FinlayDaG33k desktop... https://github.com/cztomczak/...
I've seen BMW use php for in car entertainment systems, I think that's borderline insane๐
I w seen people attempt to make an OS with php... that was slow as fuck, but hey,... someone did it.
You can run PhP as a cli application, no reason you couldn't shove a GUI on top and utilise it.
As for mobile, if someone rolled the dice differently many years ago, who knows, you just may have been using php for mobile. -
@AleCx04 I tried Go for a while but I didn't like any moment of it.
It's one of the languages where I understand people liking it but it's just not for me.
I do use frameworks (well... just CakePHP) when using PHP for websites but that's mainly convenience (not having to bother with writing SQL queries myself when I can use an ORM for example) and because I'd use similar conventions myself anyways. -
@iiii iirc, there was an issue here n there with the Dashboard navigation thingy showing PHP errors.
I doubt it was running PHP and it was just an error on the server it was supposed to contact but who knows... -
iiii90854y@FinlayDaG33k yeah, I would guess it was the server leaking errors, rather than the head unit itself using PHP
Related Rants
Because PHP is the only language that doesn't make me wanna punch my screen 24/7 (which is gonna get asspensive really quickly)
rant
php
wk249