Posts

Showing posts with the label Quality

Are you really Agile?

Image
From what i have seen, Agile Software Development is widely misinterpreted nowadays. Many people think to be agile, they just need a process like scrum to define a framework of sprints and iterations. They will sprint until they exhaust and change until they stagnate. But when you'd ask them what principles of objectoriented design are, they'd answer: "Aww yes, we use classes". And when you'd asked them if they did test driven development, they'd reply: "Ahh, this is the thing where you write tests first, isn't it?". Bottom line, people think to be agile without caring about good software design. But in the end, the most important thing is what nobody cares about. It is the agility of the software that they are producing. So if you want to be agile, a process and a mindset is not enough. You need to keep your software agile. By that i mean, you need to keep the design of the software as clean and flexible as possible, to be able to apply any futu...

8 Things you should not be afraid of as a Developer

Change In Software Development there is no such thing as stagnancy. Everything you develop now is just another version of a component that will probably change in the future. Change is the most common thing in Software Development, and you're better of accepting it as a fact. Expect future changes to everything you develop, and therefor design your Code more modular. This makes changes more easy and increases the Quality at the same time. Adapt the concepts of DRY and YAGNI . You will often come to the Situation, where you look at your Code and imagine that you could have done that "better". Don't let this thought prevent you from sleeping. Take action immediately and Refactor ! If you don't do it now, you will probably never do it. The longer you wait, the harder and more costly it gets. And you slowly grow up a mess you cant deal with anymore. "Good code is code that is easy to change. Code tends to change until it is no longer easy to change. All code bec...

RIA VS OS

... have you ever thought about it ? I did few times in my 11+ years of RIA centric career! Even if it's like comparing potatoes with tomatoes I'd like to share my thoughts about it, would you mind ? What we always laughed about OS the blue/gray screen with an incomprehensible error message the Message Box with some rant about some memory address failure the unresponsive OS due some broken application able to make everything else stuck regardless the number of CPU and thread the OS can handle the " quit program " explicit action that does not quit the program any sort of security issue the change/update that requires a system reboot What we are always "scared about" online the white screen due some JS/CSS failure for the current browser the forgotten alert or console.log inside some try catch with some rant about generic error message (or even worst, the unmanaged error) the unresponsive DOM/web page due some broken piece of JavaScript able to make every...

JSLint: The Bad Part

Every programming language has somehow defined its own standard to write code. To be honest, as long as code is readable, clear, and indented when and if necessary, I think we do not need so many "code style guides" and, even worst, sometimes these "code standards" let us learn less about the programming language itself, helping if we are beginners, sometimes simply annoying if we are professionals. Disclaimer This post aim is absolutely not the one to blame one of my favorite JS gurus, this post is to inform developers about more possibilities against imperfect automation we'll probably always find in whatever excellent spec we are dealing with. This post is about flexibility and nothing else! JSLint And Code Quality Wehn Mr D says something, Mr D is 99.9% right about what he is saying ... he clearly represents what we can define a Guru without maybe or perhaps but he, as everybody else here, is still a programmer, and we all know that every programmer ...

Software Quality - We Are Loosing It

This may sounds silly, surely not technical, but today I've lived the last drop before crackpots! IE6 Inside The Cash Point I am not joking, I have no idea how many cash points use windows and IE to run a 7 screens software. Have you never noticed a " click clack " while you are performing your operations? OK, maybe banks do not even buy Microsoft licenses, or maybe those are dedicated cache machine version of Windows, but I could never imagine to find a windows popup with an error in a cache machine, it is ridiculous! Those one with just text? Well, they look old and ugly, but I've rarely seen one disabled. We have dozen of valid Operating System able to perform the same software for years without requiring a single reboot. How difficult will be to create an OS specific for a cash point where operations are always the same, adding just 1 image format supported? What I mean is that you can find active screens with lottery ads inside running 24/7 without problems over ...

png to gif transformation - an excellent free solution via PHP GD2

Why we still need png to gif in our web pages There a couple of valid plugins for different libraries able to manage " silently " png transparency in order to fix those browsers (cough: IE6) that are still used, for god knows which reason, but not able to understand properly the alpha channel. The problem is that these plugins cause overhead in our pages and for each png images, which is nearly a non-sense since these plugins fix old browsers whose performances have never been brilliant! Especially for modern GUIs, where little icons are widely used, these plugins could make the application incredibly slow. If we could choose old good GIF instead of png, 'till the end of those browsers, the problem will not exist and performances will be acceptable. PNG 2 GIF, simple? ... not, really! First of all a couple of search via Google brought me in " free but you have to pay anyway " applications through some open source, simple, but not that nice, program language solu...