Probably not a good title to seek upvotes. If it does get upvotes, more programmers get share in your pain 😅
You… grinds teeth may… have a point.
I thought the joke here was that your unbalanced parentheses would make me angry (they did))
… is that not the point of the title?
[Object object]
Actually it’s [object Object]
Ah, piss. So it is.
I’m going to blame it on autocorrect, even though we both know I just got it wrongIt’s fine, we all know what you meant.
I have this great idea for an app, we can go 70/30 on it! 70 for me because the idea is the hardest part after all. So basically it’s Twitter plus Facebook plus Tinder with a built in MMO. You can get that done in a couple weeks, should be pretty easy right?
Html is a programming language.
That’s right there with calling JS, PowerShell and Bash “programming languages”. I said what I said.
Replace a semicolon (;) with a Greek Question mark (;), provided they’re working in a language that uses semicolons at the end of every line, and their IDE doesn’t highlight the difference (which some do now)
Figure out if they prefer spaces or tabs, insist on the other.
Please note this won’t work on Pythonistas as they’ve already had their spirit thoroughly broken.
Tabs set at 1 space.
A haiku for you:
Tabs or four spaces
Never a semicolon
Broken in spirit
What if you use tabs for indentations and space for alignment?
It’s alright… but have you considered spaces for indentation and tabs for alignment?
Uh, that would be infuriating to see. (Yes, I can see tabs in KDE Kate)
I’ve only ever heard raging between the two, but never why. I’m guessing there were competing languages with different standards, or maybe historic hardware limiting input sets that kicked this debate off or?
A few languages force a decision (usually towards tabs), but otherwise it’s just a question of aesthetics vs. accessibility.
I see.
My worst experience was with spaces in code from an engineering professor who used a non-monospace typefont. Sadist. Though it was comic sans, they were probably just dyslexic. Despite the class focusing on numerical methods, we had to hand write Matlab code on paper using proper syntax. I have no clue why. Never learned much numerical method, nor were we ever allowed to use Matlab except on a few “projects” during the term. I found out about the spaces when i had to debug his example code he gave as solutions(which we were graded against). I saw errors and had to confirm i wasn’t losing my mind. …I wasn’t. Anyways there was a mix of spaces and tabs to align the comic sans.
TLDR: I couldn’t care less. Just don’t code in word, and use a monospace font.
You guys are too slow, we need to hire more of you and let the sales teams use AI to add features the client asks without waiting for you.
AI can code now, in 2 mins I can create an app, so it shouldn’t take you long to make changes to this 10year old product.
#define if while #define true false
Insist they index from 1. Like God and Fortran intended it. ;)
And Lua!
Fuck C and it’s lazy shit pointer arithmetic array indexing shortcut. I.e. you just add the index × size(t) to the array pointer.
Bounds checking? We’ve heard of it.
It’s fast though.
so what if it’s 100x slower /nosarc
Like riding a motorcycle in a tee shirt and shorts.
And sun glasses, don’t forget the aviators.
While Mr “I can’t code without a garbage collector” is still putting on his backplate of “oh no pointers are bad” and a duck typed full face helmet, to ride his interpreted moped, the big boys, Mr C-ool and Mr ASSembly, are already downing grain alcohol at the finish line.
But then again I really don’t like to step out of my embedded RTOS bubble. It really depends on what you want to accomplish and how complicated your system is.
embedded RTOS
That sounds like a domain where memory safety is secondary to size and speed… though compile time memory safety guarantees could help.
Good thing we have so many options!
This is the hardest I’ve seen a someone try to not mention Rust. I’m actually impressed.
Have you seen rust? I couldn’t code like that, what a silly language https://lemmy.world/post/26105353
“we’re just trying to display <insert field here> why is this so hard? It’s a ten minute job!”
“It’s already in the demo you guys just did so why do you need weeks to make it?”
short variable names, and the only vowel is ‘i’
from multiprocessing import Lock l = Lock()
flake8 … way too ambiguous
skibidi = 42
I inherited an old Japanese codebase. Tons of stuff was just single-letter variables. Apparently, this used to be at least somewhat common here. I spent a lot of time just updating code to replace vars with something meaningful (and found bonus bugs due to improper scoping with same var names as a bonus). Didn’t have an IDE that would easily do it for me at the time and running something like
sed
felt too risky.
Make them stand up.
You have no power here! I use a standing desk.
Good pay for me, no programming socks for thee!
Relevant XKCD : https://xkcd.com/859/