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
-
You can also
print<<<STUFF
HTML tags with any character (ps don't indent the STUFF)
STUFF;
stuff can be any word you like then you can {$var}there -
How can you not acknowledge the superior readability of html outside this echo-nightmare that can be syntax-highlighted?
I don't like people -
xonya51327y@YouAreAPIRate He was really old and edited files using vi without syntax highlighting, so for him there was no difference. It was terrible working with him.
-
@xonya even vim has syntax highlighting and everytime i open the non-highlighting windows notepad i'm murdering microsoft devs in my mind
-
xonya51327y@YouAreAPIRate I saw he working on his laptop without syntax highlighting, so probably he had disabled it. I even thought he could have had some sight issue and so he was not able to see colors.
-
I really dislike people that don't put the effort to get better or obtain a better workflow. Glad you don't work with that asshole anymore.
Welcome btw!! -
@xonya i'm pretty sure some programs (and os'es) have colorblind-modes to counter colorblindness or color seeing problems. So if he is colorblind i'm sure you would've seen it. But even if he is, how can you read unintended code? You can't grasp the structure of the code at all. But maybe that code doesn't have structure to begin with ^^"
-
C0D4681467yI’ve had entire sites done like this in JS before, I just deleted them and wrote it again.
Nothing worse then:
Var html = “ <html>”;
html+= “<head>”;
Complex diva
Only to come out somewhere later with
Document.write(html); -
xonya51327y@YouAreAPIRate Yes, I think you are right, he should have used software for color-blind people. I can't imagine programming without indenting the code, too.
-
@xonya the only thing worse than missing indentation is bad indentation. I once worked on a react application that looked like someone started with a whitespace program as a base. Yes, spaces and tabs are mixed thanks to eclipse (eclipse doesn't work as you want to because JSX confuses it), atom, copy-pasting and IDE's repeating the incestous pattern of whitespace of the previous line.
Related Rants
-
linuxxx32*client calls in* Me: good morning, how can I help you? Client: my ip is blocked, could you unblock it for m...
-
DRSDavidSoft28Found this in our codebase, apparently one of my co-workers had written this
-
Korvax31Italian chef: We have the best spaghetti in the world PHP developer: I doubt that
I had a coworker used to write PHP pages in this way:
<?php
echo "<html>";
echo "<head>";
// 2000+ lines of un-indented nightmares
I tried suggesting him to keep the HTML outside php tags as much as possible and I stressed out that adding some indentation to the code would have improved readability. I also sent him an example of my code created using an IDE with auto-indent functionality.
His creepy answer was: «Readability is subjective. Anyway I'll try to get used to the sinusoidal trend of your code.»
rant
coworker
php
wtf
nightmare
indentation
readability