Things I hate about a language

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • blackjack2150
    New Member
    • Feb 2007
    • 79

    #31
    Originally posted by LacrosseBoss
    VB: Error messages suck. Example: "Error in Row". Thanks for the debug help there! Oh, and If ... THEN. Coming back to VB after working in Java and C for a few years is driving me nuts!

    C/++/#, Java, etc: semi-colon after every line. The endless nights of debugging code. Reading it and re-reading it to find the 1 compile error only to have a prof discover there was (a) a semi colon missing (b) a semi-colon in the wrong spot or (c) I hit shift and there was a colon somewhere. Gosh!

    - LB
    Have you ever written a program in C#? If you forget a semicolon in C#, the compiler says: "; expected" pointing you the location of the error also!

    Comment

    • LacrosseB0ss
      New Member
      • Oct 2006
      • 112

      #32
      yes it does. And when I posted this I was referring to all languages with semicolons with those as examples. They all just piss me off. The problem I had when I took C++ in school was that we were given a compiler that ran in Linux but my Linux partition on my school issued laptop wasn't working. So I tried work arounds but free internet stuff sucked and I resorted to coding apps in Notepad and having friends test them.

      This is where the problem came from. I will say when you have a compiler to direct you to an error, it's much easier. They say you learn from your mistakes, well I definately did that time!

      Comment

      • pbmods
        Recognized Expert Expert
        • Apr 2007
        • 5821

        #33
        JavaScript: Internet Explorer

        Sorry, that doesn't really count, does it?

        PHP: Built-ins aren't object-oriented (yet).
        JavaScript: (kind of along the lines of the first line in my post) having to do things differently in every browser.

        Comment

        • TRScheel
          Recognized Expert Contributor
          • Apr 2007
          • 638

          #34
          Originally posted by Atli
          C++:
          Pointers are annoying but yet they give you so much control.
          I for one would be very sad if we lost them.

          C# :
          There is no way to know the current index in a foreach loop.

          PHP:
          $.. its everywhere!
          To your C# point, foreach is also harder on the system to do for some odd reason, and you can't change the item you are on.

          My two cents though:

          c++:
          The amount of code you have to write to get something simple going... and the amount you have to write to get something complicated going as well.

          vb .Net:
          How annoyed I get when I have to write
          Code:
          dim test as integer
          After getting used to just writing
          Code:
          int test;
          In c#. I could use a longer example, but I think that shows it just fine. Also, how everything is seperated with indentation instead of something like... brackets.

          php / ASP:
          How it mixes design and implementation. The code is in the page!

          html:
          Well this is in compliance, and it looks funny in mozilla. Well now its fixed for mozilla, but in safari and ie this picture is off on the moon. Well lets fix that. Oh now mozilla has the damn text way over there... continue until someone gets shot. Oh, and the multitude of items out there that you shouldn't use anymore... but still exist. Example: <blink></blink>. I think there's a KKK for the blink tag, on that note.

          Comment

          • ilikepython
            Recognized Expert Contributor
            • Feb 2007
            • 844

            #35
            C++: taking 5 minutes to compile, save, and run a program just to test something, when in python I just open the interpreter. (nitpick)

            Comment

            • drhowarddrfine
              Recognized Expert Expert
              • Sep 2006
              • 7434

              #36
              html:
              Well this is in compliance, and it looks funny in mozilla. Well now its fixed for mozilla, but in safari and ie this picture is off on the moon. Well lets fix that. Oh now mozilla has the damn text way over there... continue until someone gets shot. Oh, and the multitude of items out there that you shouldn't use anymore... but still exist. Example: <blink></blink>. I think there's a KKK for the blink tag, on that note.
              Those of us who know html don't have any such problems.

              Comment

              • TRScheel
                Recognized Expert Contributor
                • Apr 2007
                • 638

                #37
                Originally posted by drhowarddrfine
                Those of us who know html don't have any such problems.
                Please describe your first few weeks of working with HTML... it probably sounded exactly like that. While granted, it isnt that bad, there are times when I hit an issue and its a pull your hair out moment until you realize its just some browser taking its own liberties with the language (<cough> ie </cough>).

                I sware to God, that language is just a pain. Sadly, its not the language's fault either!

                Comment

                • drhowarddrfine
                  Recognized Expert Expert
                  • Sep 2006
                  • 7434

                  #38
                  Ah! You do understand! That's why you never use IE for initial testing.

                  Comment

                  • markmcgookin
                    Recognized Expert Contributor
                    • Dec 2006
                    • 648

                    #39
                    Originally posted by blackjack2150
                    I forgot to mention that you must add "throws IOException" to the header of the methods which deal with user input.

                    Yeah I'll give you that one, that can be a pain. It's nice when ann app can just let you miss exceptions unless you want them caught individually.

                    Comment

                    • gits
                      Recognized Expert Moderator Expert
                      • May 2007
                      • 5388

                      #40
                      Originally posted by pbmods
                      JavaScript: Internet Explorer

                      Sorry, that doesn't really count, does it?

                      PHP: Built-ins aren't object-oriented (yet).
                      JavaScript: (kind of along the lines of the first line in my post) having to do things differently in every browser.
                      of course this counts ;) but since it is not really a javascript-problem, that browser-things ARE annoying ...

                      Comment

                      • pbmods
                        Recognized Expert Expert
                        • Apr 2007
                        • 5821

                        #41
                        Oh, and...

                        PHP: references !== pointers

                        Comment

                        • drhowarddrfine
                          Recognized Expert Expert
                          • Sep 2006
                          • 7434

                          #42
                          Originally posted by gits
                          of course this counts ;) but since it is not really a javascript-problem, that browser-things ARE annoying ...
                          I believe it's the difference between Microsoft's JScript and standard javascript. We should all be using DOM methods now anyway which is where a lot of people get into problems with incompatabiliti es. (That is, by NOT using the DOM).

                          Comment

                          • gits
                            Recognized Expert Moderator Expert
                            • May 2007
                            • 5388

                            #43
                            Originally posted by drhowarddrfine
                            I believe it's the difference between Microsoft's JScript and standard javascript. We should all be using DOM methods now anyway which is where a lot of people get into problems with incompatabiliti es. (That is, by NOT using the DOM).
                            i fully agree with you ... its a problem that a lot of people are starting to develop with IE and thus simply IE-specific ways to do things, using jscript and don't understand that that is not javascript at all ... so a lot of questions and posts come from that ... its difficult to say that i hate this, but its a way that is due to the widespread IE ... and people learn it when it comes to serious development ...

                            Comment

                            • DeMan
                              Top Contributor
                              • Nov 2006
                              • 1799

                              #44
                              languages that use "dim" (eg v.basic) always used to amuse me,.....it served as a reminder that the computer was not so bright without good instruction.... ..

                              Comment

                              • TRScheel
                                Recognized Expert Contributor
                                • Apr 2007
                                • 638

                                #45
                                Originally posted by DeMan
                                languages that use "dim" (eg v.basic) always used to amuse me,.....it served as a reminder that the computer was not so bright without good instruction.... ..
                                I just got the mental image of a person giggling everytime they type dim into their code.

                                Comment

                                Working...