Maybe, but this things makes the code unclear and dificults the scalability. Anyway you are right in the fact that it is faster, innecesarily and almost insignificaly faster
Andres Cassagnes
Posts
-
"...using the best programming practice..." yes sure -
"...using the best programming practice..." yes sureleaving V_OK = 0 whenever you don't define SEANSAR maybe. If I could I would put all the code here for you to see what I have to strugle every day. There are violations to every single "good programing practice", starting for the encapsulation, with a lot of variables and defines mixed in separated and "isolated" modules.
-
"...using the best programming practice..." yes surePorting some C code to one microcontroller to another I found this:
if((error == 0)
#ifdef SENSAR
|| (V_OK == 0))
#else
)
#endifThis work is unhealthy
-
Over a week with Windows 10 - some observations.My laptop can't run games beyond 2010 (with some lucky), so I don't really interested in DirectX 12. I really prefer the old and well knowed W7. I don't have the energy, not even the need, to afford the change. Maybe when I buy a new computer (whenever that happen) I will update myself to the SO that it brings, at least untill I put Linux on it.
-
Over a week with Windows 10 - some observations.Thank you for taking the time to write that great description. Very clearful and useful. I have W7 in my laptop but I only use it to play, for anything else I have my Linux (Fedora in my case). My wife's laptop came with W8, wich have been updated to W8.1, but never udes as my wife (thanks God) got used to use Fedora too. So, reading your post, I will conserve my well working Windows 7 for a long time.
-
What is the big deal with WPF?Thanck you for the answer. It was very clear. So I will still using WPF for my apps. It's some kind of weird the way Microsoft is doing the things with the window apps developement, but is Microsoft after all, it has not be much sorprising.
-
What is the big deal with WPF?Once again I get in late. I'm starting to work with WPF and find it really nice (and I am saying 'nice' to a Microsoft thing). I like it very much. But being an 'outsider' of Microsoft world I just realize that it's old technology. Which is the trendy way of making windows applications if I can ask? For me, comming form the C++ Qt world, WPF is a great envirovment for window apps and I feel a little sad about the no-support that Microsoft gives to it. Regards. Andres C.
-
Alternate to MS Office !?My wife, who is a lawyer, turns to LibreOffice too because of the ease of use and the practical functionality
-
Alternate to MS Office !?My vote to LibreOffice. It's free, runs fantastic and handles every MS Office document type. It's pretty maintained. Try it a little to familiarize yourself with it. As example, its writter is better than MS Word handling objects like tables and images
-
What are the worst programming habits?I was working with a horrible C framework wich contains most of the worst programming habits. Very large functions (for about 4000 lines), no coments or coments like /*##@@&& and do something*/ (I swear its real) in a 1000 lines function and things like that. It was like the "1000 dont's about programming"
C, C++, Java, Verilog, VHDL, PHP, and still can´t speak english