Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. How bad...

How bad...

Scheduled Pinned Locked Moved The Lounge
csharpvisual-studioquestion
54 Posts 33 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Ariel Kazeed

    ... would it be for orthodox programmers' mental health if VS automatically added semicolons and bracers where needed while coding in C#? Would it surely destroy the 'essence' of programming? Because it'd make me quite happy :^)

    Kazz


    "Users are there to click on things, not think. Let the archs do the damn thinking."

    D Offline
    D Offline
    Dan Neely
    wrote on last edited by
    #4

    If it was possible to do what you wanted correctly there would be no need for the punctuation in the first place. The fact taht it can't be guessed with 100% accuracy is why you have to insert them manually.

    You know, every time I tried to win a bar-bet about being able to count to 1000 using my fingers I always got punched out when I reached 4.... -- El Corazon

    1 Reply Last reply
    0
    • A Ariel Kazeed

      ... would it be for orthodox programmers' mental health if VS automatically added semicolons and bracers where needed while coding in C#? Would it surely destroy the 'essence' of programming? Because it'd make me quite happy :^)

      Kazz


      "Users are there to click on things, not think. Let the archs do the damn thinking."

      J Offline
      J Offline
      jchigg2000
      wrote on last edited by
      #5

      They've got auto parenthesis in Netbeans(Java) and it sucks pretty terribly.

      1 Reply Last reply
      0
      • A Ariel Kazeed

        ... would it be for orthodox programmers' mental health if VS automatically added semicolons and bracers where needed while coding in C#? Would it surely destroy the 'essence' of programming? Because it'd make me quite happy :^)

        Kazz


        "Users are there to click on things, not think. Let the archs do the damn thinking."

        C Offline
        C Offline
        Christopher Duncan
        wrote on last edited by
        #6

        Standard functionality in a programmer's editor. I'm still hauling CodeWright around, but Visual Slick Edit and others also offer this and more. Writing code in an IDE isn't that far removed from using Notepad. :)

        Christopher Duncan Author of The Career Programmer and Unite the Tribes www.PracticalUSA.com

        1 Reply Last reply
        0
        • A Ariel Kazeed

          ... would it be for orthodox programmers' mental health if VS automatically added semicolons and bracers where needed while coding in C#? Would it surely destroy the 'essence' of programming? Because it'd make me quite happy :^)

          Kazz


          "Users are there to click on things, not think. Let the archs do the damn thinking."

          D Offline
          D Offline
          DaveX86
          wrote on last edited by
          #7

          Write your code in Visual Basic, that way you don't have to worry about the unnecessary punctuation :)

          M S C 3 Replies Last reply
          0
          • A Ariel Kazeed

            ... would it be for orthodox programmers' mental health if VS automatically added semicolons and bracers where needed while coding in C#? Would it surely destroy the 'essence' of programming? Because it'd make me quite happy :^)

            Kazz


            "Users are there to click on things, not think. Let the archs do the damn thinking."

            B Offline
            B Offline
            Brady Kelly
            wrote on last edited by
            #8

            ReSharper, and other aids do stuff like that. Wonderful. :rose:

            T 1 Reply Last reply
            0
            • A Ariel Kazeed

              ... would it be for orthodox programmers' mental health if VS automatically added semicolons and bracers where needed while coding in C#? Would it surely destroy the 'essence' of programming? Because it'd make me quite happy :^)

              Kazz


              "Users are there to click on things, not think. Let the archs do the damn thinking."

              J Offline
              J Offline
              Judah Gabriel Himango
              wrote on last edited by
              #9

              The ReSharper add-in has an option for this. I really didn't like it and ended up turning it off. My fingers type the semicolon without using the brain. :-)

              Life, family, faith: Give me a visit. From my latest post: "And you think, 'To keep my anti-Judaic theology alive I must reinterpret this verse too as being a blessing for Christians and not for Jews. I know it strains all manner of principles of interpretation. I don’t read the newspaper this sloppily, but, man, I have a theology to defend.'" Judah Himango

              M 1 Reply Last reply
              0
              • D DaveX86

                Write your code in Visual Basic, that way you don't have to worry about the unnecessary punctuation :)

                M Offline
                M Offline
                Marc Clifton
                wrote on last edited by
                #10

                David Lockwood wrote:

                Write your code in Visual Basic, that way you don't have to worry about the unnecessary punctuation

                That's what I was going to say! Marc

                Thyme In The Country Interacx My Blog

                D 1 Reply Last reply
                0
                • M Marc Clifton

                  David Lockwood wrote:

                  Write your code in Visual Basic, that way you don't have to worry about the unnecessary punctuation

                  That's what I was going to say! Marc

                  Thyme In The Country Interacx My Blog

                  D Offline
                  D Offline
                  DaveX86
                  wrote on last edited by
                  #11

                  Great minds think alike :)

                  C 1 Reply Last reply
                  0
                  • A Ariel Kazeed

                    ... would it be for orthodox programmers' mental health if VS automatically added semicolons and bracers where needed while coding in C#? Would it surely destroy the 'essence' of programming? Because it'd make me quite happy :^)

                    Kazz


                    "Users are there to click on things, not think. Let the archs do the damn thinking."

                    P Offline
                    P Offline
                    peterchen
                    wrote on last edited by
                    #12

                    WholeTomato VisualAssist handles adding braces quite well, even though it CAN be distracting sometimes. As for semicolons, I don't know if I want them.

                    We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
                    blog: TDD - the Aha! | Linkify!| FoldWithUs! | sighist

                    1 Reply Last reply
                    0
                    • A Ariel Kazeed

                      ... would it be for orthodox programmers' mental health if VS automatically added semicolons and bracers where needed while coding in C#? Would it surely destroy the 'essence' of programming? Because it'd make me quite happy :^)

                      Kazz


                      "Users are there to click on things, not think. Let the archs do the damn thinking."

                      J Offline
                      J Offline
                      Jeremy Tierman
                      wrote on last edited by
                      #13

                      I would like to see it autoname my variables...I sure they can figure out what I want the variable for :laugh:

                      S 1 Reply Last reply
                      0
                      • A Ariel Kazeed

                        ... would it be for orthodox programmers' mental health if VS automatically added semicolons and bracers where needed while coding in C#? Would it surely destroy the 'essence' of programming? Because it'd make me quite happy :^)

                        Kazz


                        "Users are there to click on things, not think. Let the archs do the damn thinking."

                        S Offline
                        S Offline
                        Super Lloyd
                        wrote on last edited by
                        #14

                        it's so 3rd millenium, ppff.... I'd like VS to write the code for me from a few fuzzy directives!

                        A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.

                        S N 2 Replies Last reply
                        0
                        • A Ariel Kazeed

                          ... would it be for orthodox programmers' mental health if VS automatically added semicolons and bracers where needed while coding in C#? Would it surely destroy the 'essence' of programming? Because it'd make me quite happy :^)

                          Kazz


                          "Users are there to click on things, not think. Let the archs do the damn thinking."

                          M Offline
                          M Offline
                          macu
                          wrote on last edited by
                          #15

                          Another vote for Resharper which does alot of good things, but actually it's braces, spaces and semi colons are a pain in the ass when you first start using it cause you're so used to doing them yourself.

                          1 Reply Last reply
                          0
                          • A Ariel Kazeed

                            ... would it be for orthodox programmers' mental health if VS automatically added semicolons and bracers where needed while coding in C#? Would it surely destroy the 'essence' of programming? Because it'd make me quite happy :^)

                            Kazz


                            "Users are there to click on things, not think. Let the archs do the damn thinking."

                            P Offline
                            P Offline
                            Paul Watson
                            wrote on last edited by
                            #16

                            TextMate and most text-editors I've used do matching parentheses and tags and does it reasonably well. It doesn't do semi-colons though, I doubt it would know when you are finished a line of code accurately enough to be useful.

                            regards, Paul Watson Ireland & South Africa

                            Fernando A. Gomez F. wrote:

                            At least he achieved immortality for a few years.

                            C 1 Reply Last reply
                            0
                            • A Ariel Kazeed

                              ... would it be for orthodox programmers' mental health if VS automatically added semicolons and bracers where needed while coding in C#? Would it surely destroy the 'essence' of programming? Because it'd make me quite happy :^)

                              Kazz


                              "Users are there to click on things, not think. Let the archs do the damn thinking."

                              T Offline
                              T Offline
                              topcatalpha
                              wrote on last edited by
                              #17

                              Hi, you're talking about syntax here. so i guess switching to another language like Basic could be a solution. :-) To me a good designer should write code for the you, design everything in designtime and only add minimal code for specific functions. Greetz Kurt

                              1 Reply Last reply
                              0
                              • A Ariel Kazeed

                                ... would it be for orthodox programmers' mental health if VS automatically added semicolons and bracers where needed while coding in C#? Would it surely destroy the 'essence' of programming? Because it'd make me quite happy :^)

                                Kazz


                                "Users are there to click on things, not think. Let the archs do the damn thinking."

                                B Offline
                                B Offline
                                Bob1000
                                wrote on last edited by
                                #18

                                Be more happy if MS spent time making VS work correctly and not crash so often (or ever!) :)

                                1 Reply Last reply
                                0
                                • C Christian Graus

                                  That would totally suck. It would constantly add them where you don't want them. How can it tell where you want braces ? Semicolons would also not be fool proof.

                                  Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

                                  B Offline
                                  B Offline
                                  Bijesh
                                  wrote on last edited by
                                  #19

                                  Rational Application Studio auto-inserts closing braces for java. It can get really annoying..

                                  1 Reply Last reply
                                  0
                                  • J Judah Gabriel Himango

                                    The ReSharper add-in has an option for this. I really didn't like it and ended up turning it off. My fingers type the semicolon without using the brain. :-)

                                    Life, family, faith: Give me a visit. From my latest post: "And you think, 'To keep my anti-Judaic theology alive I must reinterpret this verse too as being a blessing for Christians and not for Jews. I know it strains all manner of principles of interpretation. I don’t read the newspaper this sloppily, but, man, I have a theology to defend.'" Judah Himango

                                    M Offline
                                    M Offline
                                    Mohamed Meligy
                                    wrote on last edited by
                                    #20

                                    Yeah, once you try Resharper, just semicolons and parentheses become very small part in editor features :). But yeah, it takes time to get used to, and to stop getting used to as well! For me, it was really painful at beginning. I ended up adding duplicate semicolons and having to delete them instead of just writing one! After a while, it became just the nature of things. I learned what to expect and then stopped thinking about it while typing. The funny thing is that when I sat on VS without Resharper later, it was really painful to miss all the functionality there. This is the problem with non standard tools!

                                    1 Reply Last reply
                                    0
                                    • D DaveX86

                                      Write your code in Visual Basic, that way you don't have to worry about the unnecessary punctuation :)

                                      S Offline
                                      S Offline
                                      SimonRigby
                                      wrote on last edited by
                                      #21

                                      Good point apart from the fact that the ; is not unnecesary in the same way that the _ isn't in VB :)

                                      The only thing unpredictable about me is just how predictable I'm going to be.

                                      K 1 Reply Last reply
                                      0
                                      • J Jeremy Tierman

                                        I would like to see it autoname my variables...I sure they can figure out what I want the variable for :laugh:

                                        S Offline
                                        S Offline
                                        SimonRigby
                                        wrote on last edited by
                                        #22

                                        For a small fee a will write that for providing you are happy with var1, var2, var3 etc :laugh:

                                        The only thing unpredictable about me is just how predictable I'm going to be.

                                        1 Reply Last reply
                                        0
                                        • S Super Lloyd

                                          it's so 3rd millenium, ppff.... I'd like VS to write the code for me from a few fuzzy directives!

                                          A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.

                                          S Offline
                                          S Offline
                                          SimonRigby
                                          wrote on last edited by
                                          #23

                                          Yeah afer all thats exactly what my clients expects me to do from their "few fuzzy directives"

                                          The only thing unpredictable about me is just how predictable I'm going to be.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups