Click here to Skip to main content
16,012,843 members

Survey Results

Have you ever refused to write code in a certain language? (and what was it?)

Survey period: 17 Jul 2017 to 24 Jul 2017

Maybe it was a website in Managed C++, a parser in SQL or a GUI in ASM. What's your breaking point?

OptionVotes% 
Yes38437.07
I put up a fight but failed14213.71
No51049.23



 
GeneralRe: Not language, but refused to work in WCF Pin
Marc Clifton19-Jul-17 2:07
mvaMarc Clifton19-Jul-17 2:07 
GeneralRe: Not language, but refused to work in WCF Pin
NS_DOTNET19-Jul-17 2:17
NS_DOTNET19-Jul-17 2:17 
GeneralNo, but ... Pin
Jochen Arndt16-Jul-17 21:11
professionalJochen Arndt16-Jul-17 21:11 
GeneralRe: No, but ... Pin
CodeWraith16-Jul-17 21:32
CodeWraith16-Jul-17 21:32 
GeneralRe: No, but ... Pin
Jochen Arndt16-Jul-17 22:37
professionalJochen Arndt16-Jul-17 22:37 
GeneralRe: No, but ... Pin
CodeWraith18-Jul-17 10:09
CodeWraith18-Jul-17 10:09 
GeneralRe: No, but ... Pin
Phil Ouellette18-Jul-17 9:08
Phil Ouellette18-Jul-17 9:08 
GeneralRe: No, but ... Pin
CodeWraith18-Jul-17 9:53
CodeWraith18-Jul-17 9:53 
The code that is generated by the compiler by itself is not the problem. Using C also certainly is the more maintainable approach. Old assembly code can be better in two regards, both at the cost of less maintainability.

First, you can avoid calling subroutines, passing parametersand passing return values. You will save a lot of cycles and also some memory if you cut those corners. The downside is that you now will have premium spaghetti code and most probably some redundancy. If you only have a few k memory or the processor is too slow, this may be needed.

The second corner you can cut is dynamic memory allocation. You also could do this in C, but then you must be careful only to use global variables, no malloc() or free(). And you must be careful that these functiones are not included and that no space for the heap is allocated anyway.

I would also prefer to use a C compiler to write stuff for old processors, but there also some very processor specific issues that the compilers do not address at all.
GeneralRe: No, but ... Pin
Jochen Arndt18-Jul-17 20:59
professionalJochen Arndt18-Jul-17 20:59 
GeneralWhat language: ADA Pin
R. Erasmus16-Jul-17 20:49
R. Erasmus16-Jul-17 20:49 
GeneralNo. There are always reasons ... Pin
OriginalGriff16-Jul-17 20:18
mveOriginalGriff16-Jul-17 20:18 
GeneralFirst pick: PHP Pin
CodeWraith16-Jul-17 19:32
CodeWraith16-Jul-17 19:32 
GeneralRe: First pick: PHP Pin
Mohibur Rashid17-Jul-17 19:10
professionalMohibur Rashid17-Jul-17 19:10 
GeneralRe: First pick: PHP Pin
kalberts18-Jul-17 0:49
kalberts18-Jul-17 0:49 

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.