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
-
i side with @Stuxnet
i hate them especially in the french language. The agony ' caused in school arghhh c'est la merde!
In english it is mostly avoidable to use '. And in german, norwegian, danish, swedish it is rarely used which I am most thankful for. And in swiss german there is no orthography so we write the language how we speak. Which is very liberating not to worry to write correctly. -
@Root But in IBM’s godless “Run SQL Scripts” utility you HAVE to use single quotes. It’s the most bullshit ever
-
@AlgoRythm in real programming languages, yeah. Don’t get me started on the interpreted bastards.
-
@broseph The only reason it's popular in interpreted languages is to avoid the need to escape quotation marks. As if typing a backslash difficult in ANY respect. What pussies.
-
@alexbrooklyn I will accept it as syntax for string formatting, although, I still prefer the printf/ sprintf formatting style. Shorter and sweeter! None of that ${brackets} bullshit, just good old %d and %f
-
Well, that is makes sense IF the char type exists in that language.
If it doesn't exist (which tends to be true in many famous dynamically typed langs), then depending on the language there's different meaning for single and double quotes, sometimes impacting performance. So it's not just to avoid escaping.
One exception to this rule is (surprise) javascript. Brendan Eich was designing js when he took a huge bong rip and uttered the words "double quote strings are the same as single quote strings".
Terrible idea. -
@alexbrooklyn ` wouldn't even exist if brendan eich wasn't such a big pothead like I mentioned in the comment above, so it's not something to really criticize the more modern ecmascript people.
it's actually a redesign over that bullshit.
you guys need to step up your game... -
donuts238486y"PR cannot be merged because build failed"
Reason: Failed Code Style Rule: Use ' instead of "
The build takes 10-20 mins....
Guess the language. -
donuts238486y@AlgoRythm actually JS.... Most common reason my builds fail at work.
We use JS and Java... -
@billgates Oh god, why does a JavaScript project build? Electron? Please, anything but electron...
-
@billgates I didn't realize that NodeJS had a build process. In all my (two or so) years of using it, I just run a script and it happily does as I ask.
-
donuts238486y@AlgoRythm Work... have to send it thru a build pipeline... Downloads all the packages on a clean system and runs all the tests which take forever
-
-
@AlgoRythm it doesn't, there's no build process in node, strictly speaking.
@billgates how could it take 10-20 minutes for a style lint to fail? the language has nothing do with the fact of this build process being terrible. I'm also assuming the build process runs on node.
tell your employer i can do consultancy lol, I could use the money. -
donuts238486y@erandria
free up space on build agent
download source, dependencies
Check style
Run tests
The point of this really was " vs '... I tend to not check locally because I'm usually switching between languages or doing multiple things. So I send to build.
When I'm done with whatever else I'm doing I go oh yeah... I sent a build.
Check the build server and that's the error -
kirik786y@billgates disable linting in pipeline and let someone else fix it later 😛
But why don't you just add linting plugins to your ide 🤔 -
@billgates i see.
i would recommend adding a lint:watch command, so that you get errors on your own machine on every file save, but i know little of this build process -
@heyheni oh shit, I just ran a linter over my project yesterday and didn't check the SQL queries on the user name table, it might've all gone to hell! 😱
Biggest pet peeve of languages are those that use single quotes for strings.
It's single quotes for characters, double quotes for strings. Suck my diiiick
rant