

Well basically it’s just a ‘magic number’. If you ban all of those many programs will either break or at minimum suffer sever performance degradation.


Well basically it’s just a ‘magic number’. If you ban all of those many programs will either break or at minimum suffer sever performance degradation.
Not saying it’s nothing, most people just don’t count it.
Sweet! Don’t tell my boss…
Is that still true if I add vodka to the orange juice?
I’ll remember this as I eat my sausage egg mcmuffin for breakfast
Ok yes sauces have calories but who really counts the sauce calories if you are already eating chicken nuggets? Like if you are eating a salad and count the dressing, maybe but the intersection of calorie counting people and chicken nugget eating people can’t be very much


In my experience code review is often about the logic rather than the code itself. For example do you really need to copy the whole user object just to read their username? Can’t you just pass the username in as a string instead? Static validation and test suites should already of eliminated any code errors. If you show up to a code review and the code doesn’t compile, you’re going to have a bad time. Stuff like calculating the same distance between two objects multiple times should be called out in code review, maybe extract that into a function. Reaching out to a database to get the same value repeatedly should be called out, maybe store it as a local variable.
One time I was reviewing some code which interfaces with an external third party piece of hardware which the api required the serial number for licensing. The programmer hard coded the serial number into the code. If we swapped it due to hardware malfunction we would need to update the software. If we got a second one we would need to maintain two code bases. This should be in a configuration file or something. Ai will not catch that. Static testing won’t catch this. Test suites running on the piece of hardware we had, wouldn’t catch this. Only a human reviewer would.


It was exciting sometimes as titanium dust generated by welding titanium is explosive when exposed to oxygen.


It was mostly just the naming that caused my frustration. I tried to declare all variables at start, had that section printed out and hung on my cubicle wall.


It was a lot of magic numbers, why was that set that thing set to 3 minimum? It worked good enough at 3 to be acceptable


Nah just titanium


It’s fanuc cnc… Incredibly useful and precise but OLD! They literally still support programs from bubble tape if you need. It was basically hardware constrained initially but fixing it would break backwards compatibility which is a super selling point for them to government and long term industries.
Their controllers are mad expensive (budget version is like 30k last I checked), their support is top notch(tech typically on site within 24 hours with every possible board which may be bad so they can get you running and charge you later), they are incredibly precise and can do things other systems legally can not(a trainer I knew said “if you can move in 5 dimensions at once you can do some interesting things with nuclear energy so those require special clearance to sell”). Basically if you need them you NEED them, if you don’t then you don’t.


It was g-code which as another commentator correctly pointed out was used to control a fanuc cnc system.


Basically we made devices which were surgically implanted into your body to send specific electrical signals to your spine and brain for certain medical issues. The electronics were in a metal case so your icky blood and bodily fluids didn’t cause shorts. This system was to weld the metal case closed.


If I told you what the purpose of this system was you would be really horrified…


Lol, yup. Actually it was 4 axis. And connected to a laser instead of a milling bit. The system was also in a controlled gas environment which added extra complications.


Reminds me of a codebase I used to work on which we had 899 variable limit and we couldn’t name them, only number them. These were limitations of the language.
Each variable had to be assigned a 3 digit number but 1-100 were taken by internal stuff so only 101- 999 was allowed. So let’s say you wanted to check if power was between 50 and 60 you would end up with like
#301 = 50;
#302 = 60;
#303 = powerSignal;
If #303 < #301 || #303 > #302: Display error
Continue process


Even if it wasn’t it’s literally destruction for purpose of destroying someone else’s stuff…


If you confuse weed and corn, again… The fuck wrong with you?
Bigger question…why would anyone care? Atleast Monica was an adult, yeah you could probably make a case for work place harassment but that’s about it.
And before anyone says he was impeached for it, no. He was asked by congress if he had sexual relations with Monica. He said no. Evidence was revealed he had atleast a blow job, based on the stain on her blue dress. He was impeached for lying to congress and won basically by claiming a blow job wasn’t “sexual relations”.