r/shittyprogramming • u/JeffSergeant • Oct 08 '22
r/shittyprogramming • u/[deleted] • Nov 18 '16
Please stop saying that Java and JavaScript are the same thing
They are clearly different. For one, JavaScript is much less versatile because it has to be written in cursive. Java, on the other hand, you can basically just write whatever the heck you want and it'll compile something. And everyone always complains about how long the lines can get in Java. Well you should be appreciative because it raises the skill ceiling, making the competitive scene much more exciting. So please, respect the many differences between Java and Script.
r/shittyprogramming • u/TinBryn • Dec 31 '16
Why don't we have ++C as it would be more efficient?
r/shittyprogramming • u/UnrealJake • Dec 15 '15
<wrong_sub>this</wrong_sup> Trying out some naming conventions...
r/shittyprogramming • u/nathodood • Oct 12 '18
How do I get this version? Seems very advanced
r/shittyprogramming • u/Tia_and_Lulu • Sep 20 '16
I'm new to Ruby and came from Sapphire, what starter is best?
r/shittyprogramming • u/Zatherz • Jul 16 '16
Am I a real programmer if I use Unreal Engine?
r/shittyprogramming • u/fwilson42 • May 19 '15
TIL about the C "goes to" operator
Wow, this has made a lot of my for loops so much more readable! Look at this:
int i = 100;
while ( i --> 0 ) {
printf("%d\n", i);
}The only problem that I found is that I can't have a variable go to a number larger than it:
int i = 0;
while( i --> 100) { /* ... */ }doesn't work.
It's still a great little-known feature of the language!
r/shittyprogramming • u/dtizzal • Nov 16 '20
r/badcode A gold mine an ex principal engineer left behind.
r/shittyprogramming • u/coolfolder • Oct 13 '17
TerrariaClone – An incomprehensible hellscape of spaghetti code (x-post from /u/qznc_bot on /r/hackernews)
r/shittyprogramming • u/MagmaManager • May 12 '16
Why do so many C function calls end with a sad winky face?
I've been looking through some C programs and every time there's a function call, it ends in ");" The same thing happens after struct declarations, only this time it has a moustache: }; Why are C programmers so sad yet flirty?
r/shittyprogramming • u/Dragon-bone • Apr 16 '16
You're git-ing it wrong. (This is page 2 of 3 git commit history...)
r/shittyprogramming • u/confused00- • Feb 09 '15
Check out this new website guys :)
localhostr/shittyprogramming • u/Splike • Mar 03 '14
super approved I have created a programming language that allows you to write arbitrary programs that take up no memory. I have a demonstration of quicksort
I don't want to sound self-important, but this is probably the most important thing since UNIX or the C language.
The revolutionary language that allows for any arbitrary program to be written without taking up any memory. You could rewrite the entire Linux Kernel in a total of 0 bytes.
Syntactically and functionally, it is very similar to Python so learning it should be no problem.
How does it work? Simple, instead of writing the code inside files, we write the code in the file names.
Here is a demonstration of Quicksort written in this language - link. All the code is in the code directory which takes up 0 bytes. The highly advanced single pass compiler takes this code and assembles it for you.
I'm still working on the licensing but I plan on following Oracle's steps and making it free to use but charge for support and large corporate training.
r/shittyprogramming • u/Maple382 • Nov 17 '24
I'm sorry but who the hell decided this was a good idea?
r/shittyprogramming • u/user-hostile • Mar 25 '14
Unclosed HTML tags accidentally lead to an accelerating surrealist nightmare (x-posted from r/technology, by apexplosive)
sewingandembroiderywarehouse.comr/shittyprogramming • u/i_am_a_cat_girl • Aug 06 '22
I made an ancient Hebrew programming language to help programmers speak to God
r/shittyprogramming • u/dseomn • Nov 12 '17
Where do I report a bug in C?
So here's my program:
int main() {
int x = 7;
double x;
printf("%d\n", x);
return 0;
}Clearly, it should compile successfully and print 14, but instead, I get a compiler error. Where can I report the bug that double doesn't work correctly?
r/shittyprogramming • u/[deleted] • Oct 09 '16
Pro tip: Zoom out your IDE to make your code compile faster
This works because if you print out a document in really small font it will take up less pages than one in a normal/big font, so the same principle applies here because when the IDE sends the code to the compiler the compiler will take less time because it's less pages you're sending. Note that this only works with C# because it's the only language where the compiler can "see sharp" hence why it's called that. I've found good results zoomed out this much, any smaller and the compiler won't be able to read it.