Found in deep&lost archives. It’s been a long time wanted to post it here. Here it goes.
In June 2009, myself and Igor went for an interview at MusiWave in Paris (acquired by Microsoft at that time, hence the hecktic hirings).
Jumping ahead, I am happy I didn’t end up working there
.
These days I was thinking (yes, sometimes I commit this sin because “тренер запрещает нам думать”, “noi muncim, nu gandim”) why the hell, with all the advances of management and methodologies in software development, the softdev is still have to cope with mess… and I mean mess, the real mess/garbage/left-overs in the source code…
Well, to answer this question, I drew a (somewhat) parallel line with other development industry - building development. In general terms, the parallel can be made even with work of a carpenter to a certain degree.
So, making abstraction of the fact that softdev is more a virtual environment (where programmers can optimize the lift so that it’s acceleration catapults thru the roof or can paint the paper roof to look like tile and so on) a parallel line can be made:
One of the things however I notices is that:
Well, sad and true in the same time… It is an entertaining reading and one full of insights…
Maybe it’s just one of those reasons why software is getting more crappy, unreliable, insecure, etc.
By a very nice coincidence I have bumped into this interesting paper (dating around 15 Jul 2008) - “BREAKING THE BANK - VULNERABILITIES IN NUMERIC PROCESSING WITHIN FINANCIAL APPLICATIONS” - ENJOY the reading!
Given I currently work in a telecom billing software company - I just cannot find enough words and meanings to confirm with sorrow that pretty-fucking-many of my fellow programmers do not give a shi…ny glass for avoiding this kind of problems. Worst, they don’t even realize it :-S…
PS: …and YES, Bank Of Cyprus (along with its new migrated Java/JSF-based banking application - a special post on this to follow) allows/uses:
Happy hacking…
When it comes to speaking about money, a lot of people get interested. And nowadays most money discussion evolve around or near-by the EUR-USD exchange rates.
Some people (including me sometime
) are unhappy to depend and always lose their honestly earned savings because of some avid and greedy circles of interest are playing with exchange rates and make them uncontrollable…
At my previous work and here also, I and coworkers had an internal subject [AskAmit] for sharing shitty code (which we find around or even discover in inherited projects) among us.
This continued in the current company - like for example this one (not exact reproduction, but still) in Java (trully existing code at my present company
) – test if a boolean variable is true or false:
Code:
if (boolean_var.toString.length() == 4) | |
{ | |
// True, do the True actions | |
} | |
else If (boolean_var.toString.length() == 5) | |
{ | |
// False, do the False actions | |
} | |
else | |
{ | |
// Ummm, raise processor fault? | |
} |
The [AskAmit] name was coming from Sun’s JMF (Java Media Foundation) incredible naive line at those times (2002) that made the framework buggy enough (though it was a good concept):
jmf-2_1_1e-scsl-src/src/share/com/sun/media/util/Registry.java
if (file.length() == 0) { // TODO: Ask AMITH if you need this
Seems like [AskAmit] kind-of groups grow everywhere, so it reached to a critical level called GovnoKod (ShittyCode) – highly recommended reading not to step on the shitty paths of programming
Excerpts: - Enjoy!
———————————————————————
Си / Говнокод #1829
Code:
#define TRUE FALSE //Happy debugging >:P |
———————————————————————
Си / Говнокод #1317
Code:
if(true) | |
{ | |
//Code | |
} | |
else | |
{ | |
//Commented, not compiling. ^_^ | |
}; |
———————————————————————
Си / Говнокод #405
Code:
++i--; |
———————————————————————
Assembler / Говнокод #453
Code:
mov ebx, eax | |
mov eax, ebx |
———————————————————————
Assembler / Говнокод #414
Code:
... | |
jmp 0x0437 | |
jmp 0x0437 | |
... |
———————————————————————
:: Next Page >>
A deep dive into brain's curiosities
| Next >
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
| << < | > >> | |||||
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 | ||||||