Click here to Skip to main content
14,359,553 members
   

C#

 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
BillWoodruff18-May-19 19:02
mveBillWoodruff18-May-19 19:02 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
David A. Gray20-May-19 10:15
groupDavid A. Gray20-May-19 10:15 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
BillWoodruff20-May-19 18:17
mveBillWoodruff20-May-19 18:17 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
OriginalGriff17-May-19 22:20
protectorOriginalGriff17-May-19 22:20 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
#realJSOP18-May-19 2:10
mve#realJSOP18-May-19 2:10 
AnswerRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
Jörgen Andersson17-May-19 21:04
protectorJörgen Andersson17-May-19 21:04 
AnswerRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
Eddy Vluggen18-May-19 0:12
mveEddy Vluggen18-May-19 0:12 
AnswerRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
jsc4218-May-19 1:03
professionaljsc4218-May-19 1:03 
Many years ago, I wrote an expression evaluator for a Pascal compiler. "With" provided extra levels of complexity, which made me dislike it.


"With" in VB leads to ambiguities when nested as you can have multiple sets of 'withed' variables in the same inner block. 'with' (now deprecated) in JavaScript lead to ambiguities where you could loop the 'with' and variables in the same construct could be global in one pass and local in subsequent passes.

Used carefully, "With" can be a convenient shortcut; but it can be used badly. If you give people knives, they may whittle beautiful sculptures, but they are more likely to injure themselves or someone else.
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
Gerry Schmitz18-May-19 8:03
mveGerry Schmitz18-May-19 8:03 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
David A. Gray18-May-19 12:08
groupDavid A. Gray18-May-19 12:08 
GeneralRe: Does Anybody Else Miss the WITH construct of Visual Basic? Pin
BillWoodruff18-May-19 19:29
mveBillWoodruff18-May-19 19:29 
QuestionCollecting my replies Pin
Brian_TheLion16-May-19 17:51
memberBrian_TheLion16-May-19 17:51 
AnswerRe: Collecting my replies Pin
OriginalGriff16-May-19 20:51
protectorOriginalGriff16-May-19 20:51 
GeneralRe: Collecting my replies Pin
Brian_TheLion17-May-19 15:39
memberBrian_TheLion17-May-19 15:39 
SuggestionRe: Collecting my replies Pin
Eddy Vluggen17-May-19 0:05
mveEddy Vluggen17-May-19 0:05 
GeneralRe: Collecting my replies Pin
Brian_TheLion17-May-19 15:56
memberBrian_TheLion17-May-19 15:56 
AnswerRe: Collecting my replies Pin
BillWoodruff17-May-19 3:54
mveBillWoodruff17-May-19 3:54 
GeneralRe: Collecting my replies Pin
Brian_TheLion17-May-19 15:20
memberBrian_TheLion17-May-19 15:20 
GeneralRe: Collecting my replies Pin
BillWoodruff17-May-19 15:36
mveBillWoodruff17-May-19 15:36 
GeneralRe: Collecting my replies Pin
Brian_TheLion17-May-19 17:18
memberBrian_TheLion17-May-19 17:18 
GeneralRe: Collecting my replies Pin
jsc4218-May-19 1:07
professionaljsc4218-May-19 1:07 
GeneralRe: Collecting my replies Pin
Brian_TheLion17-May-19 17:18
memberBrian_TheLion17-May-19 17:18 
GeneralRe: Collecting my replies Pin
BillWoodruff17-May-19 17:44
mveBillWoodruff17-May-19 17:44 
GeneralRe: Collecting my replies Pin
Brian_TheLion17-May-19 19:08
memberBrian_TheLion17-May-19 19:08 
GeneralRe: Collecting my replies Pin
Richard MacCutchan17-May-19 22:15
protectorRichard MacCutchan17-May-19 22:15 

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.