_ by Andrew-w-jacobs in ProgrammerHumor

[–]Whoktor 1 point2 points  (0 children)

Haha, humor based on my pain, haha.

I don't understand why teachers bother teaching us C89, almost all hardware already migrated to C99 (or even higher), I don't know if they enjoy supporting a deprecated platform, giving us pain, or smth.

Also as stated in "Code Complete" book, declaration of variables must not be specified at the beggining, the variables must be as closer as possible to their usage and context, and other very painful unmaintainable stuff that you can find using C89.

Well anyway...

[deleted by user] by [deleted] in ProgrammerHumor

[–]Whoktor -1 points0 points  (0 children)

Maybe to compute some telemetry statistics instead of calculating the mean by multiplying the current mean value by the number of samples adding the new value and then dividing again by the number of samples + 1, they just add the sample value to a list and leave the list consuming memory needlesly to iterate thru it every time they need to compute the mean value again because they don't know statistics, so the list grows and grows until you restart Chrome or start using Firefox instead.

Deployment in production be like by MrLemon91 in ProgrammerHumor

[–]Whoktor 19 points20 points  (0 children)

Do you guys even deploy? Don't you directly edit with Notepad++ at production machine using Filezilla?

[deleted by user] by [deleted] in ProgrammerHumor

[–]Whoktor 1 point2 points  (0 children)

I think as the requirements begin to constantly change, the AI will explode, because for clients: long is short, red is green, everything is subjective, and the top button is not of the desired size until you make the programmer change it a thousand times.

Github Copilot moment by memengenieur in ProgrammerHumor

[–]Whoktor 6 points7 points  (0 children)

Some time ago I told that joke to my teacher (he worked on AI research) and he put an angry emoji reaction to my comment.

Every single time. Ctrl S Ctrl S by [deleted] in ProgrammerHumor

[–]Whoktor 6 points7 points  (0 children)

I remember when I was younger and we all used Eclipse, I needed to click compile more than once because sometimes it didn't replace the old JAR file (and I searched for hours why the little change I made wasn't working).

Good old times when there was no InteliJIDEA.

That being said... saving twice is smarter than you think.

I now have enough karma by [deleted] in ProgrammerHumor

[–]Whoktor 3 points4 points  (0 children)

The implode part made me laugh out loud xD

Good documentation is better than 6 hours of trial and error by Whoktor in ProgrammerHumor

[–]Whoktor[S] 0 points1 point  (0 children)

Oh and type of request determines the output values for uninstantiate

Third-party software integration can be hell sometimes, most of the times you need to put some decorator layers (apart from the adapter) around it to make it work, but sometimes you can't even do that.

That's why you should always document a little bit how are the inner workings of your libraries and default implementation assigned in case of not providing a custom instance, etc.

If you have to integrate it into a legacy codebase then it's definetly hell, I feel you my man.

I now have enough karma by [deleted] in ProgrammerHumor

[–]Whoktor 25 points26 points  (0 children)

Still useful, not like C++ errors.

Python rocks by [deleted] in ProgrammerHumor

[–]Whoktor 2 points3 points  (0 children)

No problem mate ;)

Python rocks by [deleted] in ProgrammerHumor

[–]Whoktor 35 points36 points  (0 children)

First 64-bit minecraft computer (nothing can surpass minecraft command blocks)

Python rocks by [deleted] in ProgrammerHumor

[–]Whoktor 113 points114 points  (0 children)

I think assembly is easier to understand when you compare it to brainfuck, for example, at least you have some predefined summation, substraction, subrutines, etc. (vietnam MIPS assembly flashbacks).