Click here to Skip to main content
15,909,199 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
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 
Most of the problems you describe are the reason why coding guidelines and code reviews exist. If you choose not to use coding guidelines, or don't bother to hold reviews to ensure guidelines are followed, many of these problems simply can't be avoided: a language definition can't stop a programmer from calling a variable i rather than, more descriptively, row_index. Only guidelines and reviews can achieve that!

Some specific comments:

3) As pointed out above, variable naming and code documentation cannot be enforced by a language.

4) I disagree: Strong typing helps the compiler (or interpreter, whatever) to decide whether a given statement is ok or maybe a typo. It helps the compiler find many errors of the types you earlier described! The main reason for strongly typed languages is that they improve the automation of error detection in the code. It also helps people understand other people's code, specifically since documentation and sensible variable names cannot be enforced by a language: when you can look up the exact type of a variable, that alone may offer a hint what it is used for. Type information is the only part of code documentation that can be enforced through a language! If documentation is important to you, then you want strong typing!

5) Neither number formats nor definitions of formats are truly universal. You have to accept that anything relating to format either must be defined specifically, or will deliver different reults in different locations.

6) That is a direct conflict with 2: you can't dynamically create new types in a compiled language. That said, your example describes an entirely different situation: that your program can deal with an arbitrary external object. Short answer: impossible. Long answer: Hollywood lies! No you can't interface Alien Computer hardware with a run-off-the-mill lapktop! Not even if you're Jeff Goldblum!
GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)

Point in case: http://www.infoq.com/news/2014/02/apple_gotofail_lessons[^]

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 
GeneralRe: Time for a new programming language paradigm Pin
C Grant Anderson22-May-14 5:03
professionalC Grant Anderson22-May-14 5:03 
GeneralRe: Time for a new programming language paradigm Pin
rjmoses22-May-14 7:04
professionalrjmoses22-May-14 7:04 
GeneralRe: Time for a new programming language paradigm Pin
patbob22-May-14 6:19
patbob22-May-14 6:19 
GeneralRe: Time for a new programming language paradigm Pin
Bob Namenottaken22-May-14 7:05
Bob Namenottaken22-May-14 7:05 
GeneralRe: Time for a new programming language paradigm Pin
David@tappers22-May-14 7:20
David@tappers22-May-14 7:20 
GeneralRe: Time for a new programming language paradigm Pin
BillWoodruff22-May-14 18:54
professionalBillWoodruff22-May-14 18:54 
GeneralRe: Time for a new programming language paradigm Pin
jschell22-May-14 8:16
jschell22-May-14 8:16 
GeneralRe: Time for a new programming language paradigm Pin
BillWoodruff22-May-14 18:55
professionalBillWoodruff22-May-14 18:55 
GeneralRe: Time for a new programming language paradigm Pin
Kosta Cherry22-May-14 12:44
Kosta Cherry22-May-14 12:44 
GeneralRe: Time for a new programming language paradigm Pin
Michael Kingsford Gray22-May-14 21:31
Michael Kingsford Gray22-May-14 21:31 
GeneralRe: Time for a new programming language paradigm Pin
irneb27-May-14 1:48
irneb27-May-14 1:48 
NewseBay urges users to change passwords Pin
Nagy Vilmos21-May-14 4:02
professionalNagy Vilmos21-May-14 4:02 

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.