Write more empty lines! They will be read!(blog.activa.be)

submitted by activaactiva(2340) 4 years, 2 months ago

Using empty lines in source code may seem like a waste of precious screen space, but it's crucial to writing readable code.

6 comments |category: |Views: 7

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by wisemxwisemx(8074) 4 years, 2 months ago 0

No offense to Philippe but that's messed up.
Where's my "kill code whitespace" icon when I need it?

Reply

posted by dengar007dengar007(3084) 4 years, 2 months ago 0

Sometimes it helps -- sometimes it annoys me depends on how it's used.

Reply

posted by activaactiva(2340) 4 years, 2 months ago 0

You're lucky I don't have to do your code reviews :D

Reply

posted by wisemxwisemx(8074) 4 years, 2 months ago 0

People that can't write "5k" code don't get to review my beautiful code. :-)

Reply

posted by powerrushpowerrush(3873) 4 years, 2 months ago 0

Definitely something I do to help read my own code (usually to group related code or to designate how far down a particular comment applies), but I don't use it dogmatically nor follow a particular set of "insert blank line when" rules.

Reply

posted by wisemxwisemx(8074) 4 years, 2 months ago 0

It's all a matter of preference for the most part but readability is definitely at the top of priorities for everyone.
In C++ I always used simple breaks, tabbing was never my style, but I did work along side some big-time tab nuts. :-)

Reply

information Login or create an account to comment on this story