Coffeehouse Thread

31 posts

Programming in Visual Basic or c#

Back to Forum: Coffeehouse
  • User profile image
    Harlequin

    Methinks christ_child is the newest troll we have to deal with, e.g. no response whatsoever in this thread. Time to start hitting the "mark as spam" when he/she posts.

  • User profile image
    spivonious

    , W3bbo wrote

    *snip*

    You have my sympathy.

    Cool

    There's not much worse than having to maintain code written in VB4 by someone who went through school in the 1970s.

  • User profile image
    cbae

    , spivonious wrote

    *snip*

    Cool

    There's not much worse than having to maintain code written in VB4 by someone who went through school in the 1970s.

    'Cuz you'll see line numbers and a bunch of GOTO nn?

  • User profile image
    spivonious

    , cbae wrote

    *snip*

    'Cuz you'll see line numbers and a bunch of GOTO nn?

    No, because you'll see the entire application contained inside of a click event handler.

  • User profile image
    cbae

    , spivonious wrote

    *snip*

    No, because you'll see the entire application contained inside of a click event handler.

    What's wrong with that? Wink

    What used to bug the * out of me was when other developers would put code into the event handler for say Button1, and then when the action that the button invokes needed to be called from somewhere else, say a menu option, they'd just put Button1_Click() in the event handler for the menu option.

  • User profile image
    ManipUni

      spivonious wrote: cause you'll see the entire application contained inside of a click event handler.

    It is funny how circular everything is. That goes from being worst practice to best practice again, and then I'm sure back again. The latest web-languages and toolkits are often based around event driven code often running within the event handler its self. Even JQuery in many cases is event driven. 

  • User profile image
    cbae

    , ManipUni wrote

    *snip*

    It is funny how circular everything is. That goes from being worst practice to best practice again, and then I'm sure back again. The latest web-languages and toolkits are often based around event driven code often running within the event handler its self. Even JQuery in many cases is event driven.

    You can have both event-driven code and proper separation of concerns. They aren't mutually exclusive.

  • User profile image
    W3bbo

    , Harlequin wrote

    Methinks christ_child is the newest troll we have to deal with, e.g. no response whatsoever in this thread. Time to start hitting the "mark as spam" when he/she posts.

    I just want everyone to know that I called it, long ago.

  • User profile image
    Monthy

    22 hours ago, W3bbo wrote

    *snip*

    That 50% of CLR projects created in VS are VB isn't very meaningful: one can argue that beginners choose VB, and as beginners they're bound to create a larger number of small projects, thus skewing the figures in VB's favour.

    The evidence ( http://www.devtopics.com/most-popular-programming-languages/ ) suggests that as VB jobs take up only a small fraction of all software jobs, that it follows only a fraction of code is VB (I feel like inserting a snarky comment about how VB's verbose syntax leads to more lines of code ).

    That page is more than 4 years old. At the 2 sources from the article that still provide up-to-date data, VB stays a whole different place today. (tiobe, Dice C++, C#, VB)

  • User profile image
    CaRDiaK

    , christ_child wrote

    I have been thinking of getting into a little coding lately.  Now, i know at 40 years old Im pretty much past my prime but i was wondering if anyone could point me to some good resources for someone just learning the art.

    God bless you all

    Surprised no-one has mentioned Python. I'd try that if you just want to dabble for now. I want to try this as soon as I get change but for the time being I've been moving from VB to C# and I must say, C# is lovely and it's much closer (syntactically) to Java and JavaScript if you decided you wanted to dabble with those. My best advice is do whichever you find the most fun for now and don't expect too much of yourself. 

    Lots of resource available for Python and others at; http://www.thenewboston.com/

    His YouTube channel also has some 200 C# tutorials. Have fun! Smiley 

    We can only see a short distance ahead, but we can see plenty there that needs to be done.
    Last modified
  • User profile image
    blowdart

    , CaRDiaK wrote

    Lots of resource available for Python and others at; http://www.thenewboston.com/

    Don't forget, to increase your comfort, you can use Visual Studio for Iron Python or CPython. With intellisense and everything!

  • User profile image
    W3bbo

    , blowdart wrote

    *snip*

    Don't forget, to increase your comfort, you can use Visual Studio for Iron Python or CPython. With intellisense and everything!

    How is it thesedays? I don't think I've ever come across any VS add-in that shared the same "quality" as a first-party tool. Take VS.php for example, I use it as my main PHP IDE, it works, but it lacks the subtleties that say "we take time" - such as the fiddly Solution Explorer tree view it provides, and fickle code-completion. Its HTML editor isn't a patch on VS's default anyway.

    I also don't like it when add-ins disrespect existing code-colouring rules (*cough*VB.NET*cough*) and/or re-add their own, which VS.php is guilty of.

  • User profile image
    Proton2

    There's not much worse than having to maintain code written in VB4 by someone who went through school in the 1970s

    I graduated from High School in 1978 (with honours Smiley ) without having ever touched a real live working computer so far in my entire live, though I was inside of one, along with my fellow class mates at the University of British Columbia, during a tour.

    I was learning how to use a slide ruler until the last one or two years of my high school education, when we switched to a electronic calculator.

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.