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

Return to work with java and boy, what a daft language lol. in php, i install wamp and i'm good to go. here, i have to shill $$ to lord oracle just to play around a project i cloned that requires glassfish support. otherwise, i resort to hacks and workarounds even for local deployment. thankfully, there's payara to the rescue
after surviving this, i start mvnw clean and install and the test suite is taking 32:45mins (still not passing). I snooped around for whether the tests are hitting some remote server since i was neither prompted for local db credentials or sqlite. for some context, the stats for my recently completed php app is (00:39.592 SECONDS, Memory: 76.00 MB, 180 tests, 421 assertions). the contrast was so astronomic so i asked chatgpt, who claims mine doesn't do the heavy lifting their test does. hilarious. the php app has 3 unit tests tops. the rest spin up connections to the local mysql server using eloquent. the app is full stack so all the underlying views are being executed and tested. of course, it relies on the container for everything and mocks some services. it's not a small app either (over 20 models). it performs computation and interacts with excel sheets at some point
so what's the excuse and what's special about this language?
php always gets mocked for crawling at snail-like pace, having weak app structures, etc. they are ridiculed for discarding app instance after each request yet, chatgpt claims that's exactly what the java test is doing. ironically, the php testsuite handles this more efficiently. it's been over 3 hours now gone down the drain. i haven't opened a single page from the app let alone begun to develop
Rest assured, this might take the entire day cuz i'm worn out already
it's ALWAYS one rough distraction or the other. never in my time working with this language am i allowed to focus on the main business logic i set out to implement. ALWAYS some fire to put out in config/project setup/dependencies/linking things/some external thing missing or incompatible
why is it so difficult? it MIGHT be understandable for mobile/desktop apps but the result on web is indistinguishable from what is tenable in php. how does this brittle junkware still have such high standards and is practically held as most ideal in the programming world?
rant