Click here to Skip to main content
15,918,123 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: Time for a new programming language paradigm Pin
Stefan_Lang22-May-14 3:43
Stefan_Lang22-May-14 3:43 
GeneralRe: Time for a new programming language paradigm Pin
Colborne_Greg22-May-14 3:51
Colborne_Greg22-May-14 3:51 
GeneralRe: Time for a new programming language paradigm Pin
rjmoses22-May-14 6:59
professionalrjmoses22-May-14 6:59 
GeneralRe: Time for a new programming language paradigm Pin
Colborne_Greg22-May-14 13:13
Colborne_Greg22-May-14 13:13 
GeneralRe: Time for a new programming language paradigm Pin
rjmoses22-May-14 13:56
professionalrjmoses22-May-14 13:56 
GeneralRe: Time for a new programming language paradigm Pin
Dar Brett22-May-14 16:45
Dar Brett22-May-14 16:45 
GeneralRe: Time for a new programming language paradigm Pin
Colborne_Greg22-May-14 16:53
Colborne_Greg22-May-14 16:53 
GeneralRe: Time for a new programming language paradigm Pin
jschell26-May-14 7:20
jschell26-May-14 7:20 
Colborne_Greg wrote:
Here is an example of code, with no documentation, lets see if you can figure out what it does.


The fallacy in that statement is that it presumes that the reader only needs to know what the code does.
However to maintain code one also needs to know 'why' code is doing what it it does. For example, in your code example 'why' is "Nothing" acceptable? Is the caller expecting that as a valid condition or is the caller going to error on that? Or perhaps it is up to the caller to decide that themselves?

Additionally how does that work for a caller who wants to use the code but does not care how it is implemented? Where is the contract for the code defined? How can the caller be sure that even if the implementation changes that the contract will not? How will the maintainer be sure that they can make a modification to that code without breaking that code?
GeneralRe: Time for a new programming language paradigm Pin
Colborne_Greg26-May-14 11:28
Colborne_Greg26-May-14 11:28 
GeneralRe: Time for a new programming language paradigm Pin
jschell28-May-14 7:58
jschell28-May-14 7:58 
GeneralRe: Time for a new programming language paradigm Pin
Colborne_Greg28-May-14 14:13
Colborne_Greg28-May-14 14:13 
GeneralRe: Time for a new programming language paradigm Pin
jschell2-Jun-14 8:33
jschell2-Jun-14 8:33 
GeneralRe: Time for a new programming language paradigm Pin
Colborne_Greg2-Jun-14 15:47
Colborne_Greg2-Jun-14 15:47 
GeneralRe: Time for a new programming language paradigm Pin
BillWoodruff21-May-14 15:38
professionalBillWoodruff21-May-14 15:38 
GeneralRe: Time for a new programming language paradigm Pin
Mark_Wallace21-May-14 17:42
Mark_Wallace21-May-14 17:42 
GeneralRe: Time for a new programming language paradigm Pin
Tomás Ramírez Gómez21-May-14 20:44
professionalTomás Ramírez Gómez21-May-14 20:44 
GeneralRe: Time for a new programming language paradigm Pin
Stefan_Lang21-May-14 20:54
Stefan_Lang21-May-14 20:54 
GeneralRe: Time for a new programming language paradigm Pin
Klaus-Werner Konrad22-May-14 3:01
Klaus-Werner Konrad22-May-14 3:01 
GeneralRe: Time for a new programming language paradigm Pin
Stefan_Lang22-May-14 3:10
Stefan_Lang22-May-14 3:10 
GeneralRe: Time for a new programming language paradigm Pin
Stefan_Lang21-May-14 23:08
Stefan_Lang21-May-14 23:08 
GeneralRe: Time for a new programming language paradigm Pin
Gary Huck22-May-14 2:54
Gary Huck22-May-14 2:54 
GeneralRe: Time for a new programming language paradigm Pin
rjmoses22-May-14 7:08
professionalrjmoses22-May-14 7:08 
GeneralRe: Time for a new programming language paradigm Pin
Gary Huck22-May-14 7:21
Gary Huck22-May-14 7:21 
GeneralRe: Time for a new programming language paradigm Pin
jeffreystacks22-May-14 3:07
jeffreystacks22-May-14 3:07 
GeneralRe: Time for a new programming language paradigm Pin
Steve Naidamast22-May-14 3:29
professionalSteve Naidamast22-May-14 3:29 

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.