Click here to Skip to main content
15,895,471 members

Survey Results

How hard do you find these tasks?

Survey period: 24 Jul 2017 to 31 Jul 2017

1 = Super Easy, 5 = Very Hard. (We all know Cache invalidation is hard)

OptionVotes12345 
Designing a solution that meets all the requirements9717%25%31%24%13%
Dealing with someone else's code9712%9%35%34%20%
Writing unit tests9718%19%36%23%15%
Adding features you don't agree with9715%14%30%28%23%
Dealing with the people directing the project9719%24%33%23%12%
Dealing with users97111%25%34%19%11%
Naming things97124%30%23%12%11%



 
GeneralRe: Someone else's code... Pin
CodeWraith24-Jul-17 2:57
CodeWraith24-Jul-17 2:57 
GeneralRe: Someone else's code... Pin
Nathan Minier24-Jul-17 3:13
professionalNathan Minier24-Jul-17 3:13 
GeneralRe: Someone else's code... Pin
CodeWraith24-Jul-17 4:13
CodeWraith24-Jul-17 4:13 
GeneralRe: Someone else's code... Pin
Sander Rossel24-Jul-17 2:46
professionalSander Rossel24-Jul-17 2:46 
GeneralRe: Someone else's code... Pin
CodeWraith24-Jul-17 4:27
CodeWraith24-Jul-17 4:27 
GeneralRe: Someone else's code... Pin
Sander Rossel24-Jul-17 4:37
professionalSander Rossel24-Jul-17 4:37 
GeneralRe: Someone else's code... Pin
CodeWraith24-Jul-17 4:42
CodeWraith24-Jul-17 4:42 
GeneralRe: Someone else's code... Pin
kalberts24-Jul-17 22:23
kalberts24-Jul-17 22:23 
CodeWraith wrote:
Sure they are, you save a lot of memory by not having to call functions, not having to pass parameters and also quite a bit of space on the stack.
That depends... Frequently, 1000 lines of code will contain like or similar code constructs. Factoring such parts out might save significant code space. Also, data values are frequently used only during certain stages. Factoring out these might save data space as weel.

I work for a company that shiftet from an 8-bit processor (8051) to a 16-bit one (ARM) a few years ago. Not until the porting job was done did it become clear how much code really was there just to overcome the 8 bit limitations. Once the 8-bit problems were gone, we could write far more straightforward and simple code (all in plain C). For identical functionality, the 16-bit code was frequently smaller. (Sure, the ARM 'Thumb' instruction subset plays an important part in that.) Data size did grow after porting, but not that much.

We have never looked back. 8-bit processors may be cheap as chips, but extremely costly in code development and maintenance; you spend a large part of your energy on overcoming the limitations of the processor. Migrating to even the smallest ARMs (like the M0) will give you freedom you never felt before Smile | :) . Those tiny ARMs are also quite cheap, so the cost argument in favor of 8-bit CPUs more or less vanish.

Of course: I am talking about systems that can be organized around a general MPU with on-chip peripherals. There may be uses where the major part of the chip area is some very specialized logic design that would cost a fortune to move to another chip. We did move a good deal of additional logic, at a significant cost, but again: That gave us a great opportunity to clean up the logic design. If you cannot possibly do a similar move ... I feel pity for you...
GeneralRe: Someone else's code... Pin
Slacker00723-Jul-17 23:28
professionalSlacker00723-Jul-17 23:28 
GeneralRe: Someone else's code... Pin
KarstenK23-Jul-17 23:21
mveKarstenK23-Jul-17 23:21 
GeneralRe: Someone else's code... Pin
Sander Rossel23-Jul-17 23:35
professionalSander Rossel23-Jul-17 23:35 
GeneralRe: Someone else's code... Pin
kalberts24-Jul-17 21:54
kalberts24-Jul-17 21:54 
GeneralRe: Someone else's code... Pin
Sander Rossel25-Jul-17 1:57
professionalSander Rossel25-Jul-17 1:57 
GeneralRe: Someone else's code... Pin
Leng Vang25-Jul-17 6:04
Leng Vang25-Jul-17 6:04 
GeneralRe: Someone else's code... Pin
Sander Rossel25-Jul-17 21:10
professionalSander Rossel25-Jul-17 21:10 
GeneralDealing with someone else's code Pin
Kornfeld Eliyahu Peter23-Jul-17 20:04
professionalKornfeld Eliyahu Peter23-Jul-17 20:04 
Generaluntil last user ....DEAD ! Pin
koolprasad200323-Jul-17 19:33
professionalkoolprasad200323-Jul-17 19:33 
GeneralRe: Designing a solution that meets ALL the requirements....? Pin
Sander Rossel23-Jul-17 21:08
professionalSander Rossel23-Jul-17 21:08 
GeneralRe: Designing a solution that meets ALL the requirements....? Pin
koolprasad200323-Jul-17 22:40
professionalkoolprasad200323-Jul-17 22:40 
GeneralRe: Designing a solution that meets ALL the requirements....? Pin
Manuele Camilletti28-Jul-17 0:36
professionalManuele Camilletti28-Jul-17 0:36 
GeneralRe: until last user ....DEAD ! Pin
Leng Vang25-Jul-17 6:09
Leng Vang25-Jul-17 6:09 
GeneralProblem with the survey Pin
PIEBALDconsult23-Jul-17 19:10
mvePIEBALDconsult23-Jul-17 19:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.