7
Banele
7y

So, this is my first actual rant since I joined devRant and I am not saying I am perfect either. Here goes nothing...
1. I honestly hate it when people use spacebar instead of tabs
2. People who have a bad indentation or no indentation at all (even though almost all IDEs have auto-indentation). The bad thing is when a person asks me to have a look at their code I always end up wasting time fixing the indentation rather the actual problem.
I love a properly indented code and that's one of the major reason I usually recommend Python to most people.
3. Lastly, people who leave lots of unnecessary empty lines. E.g.,

public class HelloWorld{

public static void main(String[]args){

System.out.println("Hello world!");

}

}

Comments
  • 3
    To be honest I leave empty lines in start but while closing curly braces I don't put empty line between them.

    To other points I can't agree more.
    With languages like Java and c people fall out of indentation.

    If I'll ever do that I'll probably have nightmares.
  • 1
    @Shivi I feel you man. I guess we all have our different styles of programming.
  • 2
    2. That 2. TWO. Every single time.
  • 1
    You can pretty print the file, does automatic indentation.

    This definitely bothers me too. Got annoyed at my lecturerer for giving extra marks for spaces instead of tabs.
  • 1
    I have just stopped saying that to people. My friends were shit at indentation. My solution is going to some online pretty print site. Try it sometime.
  • 0
    @localghost127
    That's what I suggested too 😉

    Any recommendations?
  • 0
    @coolq I usually just google it. It's just easier that way cause its usually on their computer. I use Sublime text, so if I want to do it, I just download the relevant plugin
  • 0
    @irene
    Well, technically that's what I suggested 😤
  • 0
    @localghost127
    Fair enough 👍
  • 0
    @irene
    Wait, what does that emoji I posted look like?
  • 1
    Oh, it looks like this for me 😂
  • 1
    @irene Looks like I won't be using that emoji any more 😪
  • 2
    So when will we have cross-devices emojis :(
Add Comment