The more code lines you have removed, the more progress you have made...

>The more code lines you have removed, the more progress you have made. As the number of lines of code in your software shrinks, the more skilled you have become and the less your software sucks.
Is this true?

Attached: 1.jpg (1000x982, 71.95K)

Other urls found in this thread:

youtube.com/watch?v=JFmMe6V0uo4
twitter.com/SFWRedditImages

>As the number of lines of code in your software shrinks, the more skilled you have become and the less your software sucks.
not exactly. you can cram things onto a single line, but that doesnt mean that the code is better. in fact, it can make it even harder to read and make your software suck a lot

Ideally you should develop small tools/systems that fit together like what suckless does, but in a job where you're on a team, you most likely will be expected to jam a bunch of shit into a project.
Ignoring the philosophical or opinion aspects, it's much easier to get things working when you're pulling together tools with well defined, simple, explicit functionality.

yes and no, in the professional world as long as your software works and is organized in a somewhat maintainable structure (everything is in the place you'd expect to find them) it's acceptable. the only way to get shat on is if you deliberately write messy code like you're the only one working here. also your software is shitty if it's full of bugs and slow, not because it has a lot of lines

It sure feels good "fixing" a feature by deleting all the code that bill wrote a few months back so that you can rewrite it and have it actually work.

>removed code you don't understand
Remember what happened with OpenSSL

Or you could just not write bad, bloated software in the first place.

Attached: Capture.png (615x75, 3.04K)

I love deleting code without reducing functionality.

Attached: Antonio Banderas Assassins laptop scene.webm (720x404, 610.21K)

qrd

or adding a tiny amount of code that drastically increases/improves functionality

>installs a bitcoin miner on your PC
nothin personnel, kid

very true. in some projects/organizations LoC deleted is a solid metric as to the skill of a contributor - LoC deleted means you understood the code deeply and then rewrote it to be more efficient/readable. LoC is not a good metric as you could be adding important features or adding unnecessary bloat + complexity

One way it works is that you write another piece of software, notice similarities, factor that out into a library and both new and old software gets shorter. Also, the logic in the library is not clear to see and readily available for others to use.
Another way this happens is by eliminating the problem that the software solves "upstream". For example, enforcing various invariants when things are created helps a lot in avoiding having to do a bunch of validation checks everywhere.

This is how it feels when you simplify/modernize some pajeet code

Removing code is one of the best parts of being a code monkey.

Attached: A074C673-B4C4-45B6-B7A0-095FA39DD359.png (1334x750, 1.74M)

nooooo sir stop deleting the needful

>muh lines of code
software is judged by the end user based on the binary you give them. the user cares about the UI, the ease of use, the performance and the stability.
Only freetards wank about how nice the code looks and their software is shit because they abandon all other goals.

uTorrent 2.2.1 is actually smaller than a bitcoin miner.

>uTorrent 2.2.1: Fully featured proprietary torrent client which includes hashing pieces
>bitcoin miner: Freetard garbage which does nothing but hash
>uTorrent 2.2.1 is many times smaller.

Attached: Capture.png (493x284, 16.54K)

cgminer comes with a copy of the block chain.

Ok...

Attached: Capture.png (699x238, 17.13K)

>.tar.bz2

I have written a C++ program that has some 15,000 lines. Adding new features to it is hell, I wish I could make it shorter and more straightforward.

A designer knows he has achieved perfection not when there is nothing left to add, but when there is nothing left to take away.

Seriously, WHY ARE FREETARDS SOOOOOOO BAD AT CODING?

8MB just to SHA-256 hash.

Attached: Capture.png (936x690, 64.95K)

Not that simple. Sometimes it's better to add a couple or more lines to keep it much more concise either for your future self or for those that will support it in the future but overall you're right.

Note that's almost the size of the proprietary wonder, MikuMikuDance. JUST TO HASH. When MikuMikuDance can do this:

youtube.com/watch?v=JFmMe6V0uo4

Attached: Untitled.png (1906x1563, 559.54K)

Honestly probably some dumb high resolution images in there. I know UI code that does this for splash and help screens.

A quick google says this is what it looks like.

Attached: maxresdefault.jpg (1280x720, 164.27K)