Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Get a devDuck
Rubber duck debugging has never been so cute! Get your favorite coding language devDuckBuy Now
Search - "codeblocks"
1. See new shiny tech
2. Read install/setup instructions
3. Make Hello World/Todo app by copying codeblocks from documentation
4. Update LinkedIn profile
5. Insist on rewriting entire company ecosystem
Oh wait, thats my horseshit-eating coworker3
Ok, so teacher (which should be something like a professional dev or whatever) assigned us a homework for a Christmas (I dont care, I can complete his assignments in like 10 minutes max). We have to do some simple shit in C++, just some loops and input + output. Nothing hard. He challenged me to write it as short as possible, so I did. My classmates have codes around 60 to 70 lines long (after propper formating). I made it 20 lines long using some pointer magic and stuff like that. I tried my code, it ran fucking perfectly, so I sent that to him. He replied that the code does not work. I tried to recompile it and it ran perfectly. Again, it does not work. Afeter 13 fucking emails he fucking finally sent me the error message. Some fucntion was not found (missing some library but literally everywhere else it works without it...). Thats strange, because it run perfectly on my Fedora with CLion, so I switch to Windows and try to run same code in Visual Studio (which we are using in school btw). Works perfectly. So I start arguing with the teacher more and more. I tried around 10 online compilers. Works fuckng everywhere. Teacher is pissed, me too. So I rewrote my whole code, added comments and shit, reinvented wheel literally everywhere. Now I have C99 standardised code over 370 lines long that run even on a fucking arduino after changing input output methods so it can work with it. It (suprisingly runs) on his PC too.
After a bit more arguing, he said that he is using CodeBlocks from fucking 2015. Wow. Just fucking wow. Even our school has some old Visual Studio (2007 I guess) and it worked there.7
Dear intern, if you really really have the urge to use fucking spaces for indentation because it let's you feel like being some Google hipster, then PLEASE AT LEAST REMOVE THE SPARE ONES WHEN YOU FUCKING COPY PASTE CODEBLOCKS!!!1!!1111!
I'm perfectly OK if people wanna use spaces if they use it in an OCD-proof manner.
Nah, let's be honest: Spaces are a filthy way to indent stuff. Tabs are in a lot ways superior and if an editor can't render tabs correctly, the editor is a piece of worm puke.2
Many people use snippets of code in their Rants, so it's maybe a nice feature to be able to add codeblocks to rants..8
So I finally bought a laptop! Dell Inspiron 3580, specs:
Intel i5 8265
8GB RAM expanded to 16 manually
256GB NVMe PCIe M.2 ssd as system drive (ofc)
Added Crucial 1TB SATA ssd for good measure
Fucked up the stock Ubuntu 18.04 with libinput-gestures I think, reinstalled Ubuntu 18.10, got Steam, bought Half Life bundle, installing it right now.
Also VSCode, CodeBlocks, IntelliJ and PyCharm are on this beast and I'm ready to rock.
Arguing with my friend what language is best for his program.
Suddenly he says "C++ is good but CodeBlocks is too hard and illogical".
I love wannabe tech guys.9
I guess I will start a religous discussion with it but I want your opinion on what tool I should learn.
Vim or Emacs (or stay with my IDE)?
For all of my programmer life I used IDEs... From Eclipse over CodeBlocks over VS to IntelliJ.
But now I realized that I want to be one of the cool kids. And using plain IntelliJ is uncool. No matter how much I love this tool.
So now I want to invest some time into learning. I never managed to do much in Vim since all code-completions sucked ass, feedback on syntax errors was bad and I never saw how I could be any faster with that shit compared to what IntelliJ does for me.
Will Emacs solve all those problems? Will Emacs make me code 1000 times faster and make having a mouse useless?
Or am I just too dumb for Vim? Can Vim itself do what my IDE does for me? Will it make me look as cool as I want to be?
Or should I stick to IntelliJ and just install Vim bindings?
What is your opinion on Vim vs Emacs vs any IDE?11
Both my laptops are overheating, Codeblocks keeps crashing, and I'm too emotional over the latest Samurai Jack.
Starting to hate Codeblocks with a passion, as it crashes randomly for utterly no reason at all. Vim baby, you were always the one for me.3
TL;DR : vim or IDE ? What's best in your opinion ?
I've always been curious about vim but haven't find enough motivation to learn it. I don't know why but today I felt double plus curious, but having learn to code on IDEs (except for C, because I find CodeBlocks quite wacky) from the start, I'm not sure I could let go features like autocompletion, refactor and code analysis.
If you use vim, do you use it for all your coding or do you just use it in some case ?
If you use it for all your coding, how do you make for the absent features ? Is the use of plugins enough or do you just pass on them ?
Also, first post on devRant !15
in my first days of codeblocks, I pressed the 'run' button insted of 'BUILD and run' ....I always got a hello world.
Is there any alternative for CLion? I can't use codeblocks since there is no dark theme(sounds silly but I prefer dark theme).12
Finally decided to learn back C++ programming and trying to download CodeBlocks IDE from SourceForge.
SourceForge temporary offline.
I remember codeblocks with pain the .h and .cpp, the pointers sometimes get the memory address that crash the program and program with opengl on codeblocks is the dead1
Today, I came across a real problem.
A friend of mine asked me how could she could compile and rum programs. I just gave her Linux to install, which she just couldn't.
Then I gave her codeblocks and dev c++, which she couldn't work on, due to some error.
thereafter I just to make sure, installed turboc and mingw, and made it work. but unfortunately still, she couldn't make it work when she went home.
Now, either her laptop is piece of pure shit, or I'm not just the right guy fit for technical support.
What should I know about working in java? I have just started learning it and my only other knowledge is c++ in codeblocks from the 3 years I have been in highschool3