Click here to Skip to main content
15,896,606 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Thought of the Day Pin
W Balboos, GHB27-Mar-19 7:26
W Balboos, GHB27-Mar-19 7:26 
GeneralRe: Thought of the Day Pin
Daniel Pfeffer27-Mar-19 6:38
professionalDaniel Pfeffer27-Mar-19 6:38 
GeneralRe: Thought of the Day Pin
megaadam27-Mar-19 6:40
professionalmegaadam27-Mar-19 6:40 
GeneralRe: Thought of the Day Pin
Tim Deveaux27-Mar-19 7:02
Tim Deveaux27-Mar-19 7:02 
GeneralRe: Thought of the Day Pin
OriginalGriff27-Mar-19 7:17
mveOriginalGriff27-Mar-19 7:17 
GeneralRe: Thought of the Day Pin
W Balboos, GHB27-Mar-19 7:23
W Balboos, GHB27-Mar-19 7:23 
GeneralRe: Thought of the Day Pin
Tim Deveaux27-Mar-19 7:41
Tim Deveaux27-Mar-19 7:41 
GeneralWhat I want..... Pin
rjmoses27-Mar-19 3:30
professionalrjmoses27-Mar-19 3:30 
I do a lot of development, migrating, porting, etc., in different environments, different systems, different languages, different versions,....get the idea? I have specialized over the years in doing weird stuff.

I just finished chasing a bug in some vintage commercial software that was written to accommodate big-endian and little-endian integers depending on the platform.

It turned out be that it applied big-endian logic in one place where little-endian was required.

The why's and wherefore's of doing this are not important. What is important is the line of thought I reached upon conclusion, i.e., What I want to see in software.

1) I want to be able to declare my variables of a type and then have the necessary conversions take place automatically.

E.g., I want to declare a "X" as a 2-byte integer and "S" as an ASCII (or utf8, utf16, whatever...) character string and be able simply specify 'S = X AS "format" --not "S =X.toString("fmt");", "S = itoa(i);" or whatever language conversion functions are appropriate.

I know what I have going in, I know what I want coming out--make it easy to get from A to B!!

2) I want my data declarations to be consistent across all platforms/languages/environments/...!

Before some reader gets all hot and bothered about using C typedefs, etc., in declarations, I know this can be done.

What I want is consistency--i.e., a "short" to be a 2 byte integer, a "long" to be a 4 byte integer,....get the drift. Part of problem I was chasing had to do with the software expecting a C int to be 32 bits, but some 64 bit environments define an int as 64 bits

3) I want my utilities and commands to operate the same way, with the same results, across all platforms.

If I do a "myutil -x" command on Linux, I want to see EXACTLY the same output and results across cygwin, Windows 10 Ubuntu, Debian, etc.

4) I want clear, simple, understandable, comprehensible programming constructs.

I am tired of chasing errors such as where somebody fat-fingered "=" when "==" was meant or where a brace was misplaced or omitted. I want to be able to look at a piece of code and understand what the author intended easily and clearly.

5) I want clear, complete commercial documentation.

I have seen thousands of circular definitions such as:

returntype FunctionXYZ(int p1, int p2); Returns XYZ of p1 and p2.

BIG WHOOPING DEAL! I'm not an idiot--I can plainly see that from the function call. I often need to know HOW it uses p1 and p2 to arrive at XYZ. (Of course, by now, some readers will be questioning the part about "idiot", but that's OK).

Somebody once said there's a beautiful language inside C++ just waiting to get out. I agree. But, C++ has gotten overly complex, overly confusing. (I ask you to consider why there are development environments such as wxWidgets, QTCreator, boost and std::... )

My desire is to "eschew obfuscation."

So, if someone plans on responding defensively or criticizing--Don't.

I am looking for ideas, things that people would want or would like to see done differently so that we can be more effective, more productive and more competent.

What's your thoughts?
GeneralRe: What I want..... PinPopular
  Forogar  27-Mar-19 3:38
professional  Forogar  27-Mar-19 3:38 
GeneralRe: What I want..... Pin
rjmoses27-Mar-19 4:06
professionalrjmoses27-Mar-19 4:06 
GeneralRe: What I want..... Pin
dan!sh 27-Mar-19 4:10
professional dan!sh 27-Mar-19 4:10 
GeneralRe: What I want..... Pin
OriginalGriff27-Mar-19 4:12
mveOriginalGriff27-Mar-19 4:12 
NewsRe: What I want..... Pin
RickZeeland27-Mar-19 7:52
mveRickZeeland27-Mar-19 7:52 
GeneralRe: What I want..... Pin
OriginalGriff27-Mar-19 3:44
mveOriginalGriff27-Mar-19 3:44 
GeneralRe: What I want..... Pin
Rick York27-Mar-19 5:00
mveRick York27-Mar-19 5:00 
GeneralRe: What I want..... PinPopular
OriginalGriff27-Mar-19 5:33
mveOriginalGriff27-Mar-19 5:33 
GeneralRe: What I want..... Pin
CodeWraith27-Mar-19 11:18
CodeWraith27-Mar-19 11:18 
GeneralRe: What I want..... Pin
sasadler28-Mar-19 5:46
sasadler28-Mar-19 5:46 
GeneralRe: What I want..... Pin
Marc Clifton27-Mar-19 7:30
mvaMarc Clifton27-Mar-19 7:30 
GeneralRe: What I want..... Pin
CodeWraith27-Mar-19 11:08
CodeWraith27-Mar-19 11:08 
GeneralRe: What I want..... Pin
MSBassSinger28-Mar-19 4:30
professionalMSBassSinger28-Mar-19 4:30 
GeneralRe: What I want..... Pin
Dr.Walt Fair, PE27-Mar-19 6:35
professionalDr.Walt Fair, PE27-Mar-19 6:35 
GeneralRe: What I want..... Pin
rjmoses27-Mar-19 23:19
professionalrjmoses27-Mar-19 23:19 
GeneralRe: What I want..... Pin
OriginalGriff27-Mar-19 23:36
mveOriginalGriff27-Mar-19 23:36 
GeneralRe: What I want..... Pin
Slacker00727-Mar-19 3:55
professionalSlacker00727-Mar-19 3:55 

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.