Bugs n Minuses in C/AL Editor rant

KisuKisu Member Posts: 381
First of all, if you delete more than 1 line, you cant undo it with ctrl+z.
This is realy frustrating when doing lots of code and deleting it.

Cant even undo paste ctrl+v.

It even hazzles it more cause when you do delete lots of lines same time your cursor stays still and the top part of the code goes down. Unlike in other programming enviroment, it feels more clean to edit the code in notepad than in C/AL.

Thing that I dont like either, the C/AL cant handle more than 132 chars in one line, you have to cut them in pieces :P sigh. why cant it be atleast 250? o.o

Feels like, when you are coding with C/AL you are coding HardCore!

And what, there is more, no line numbers. Try fixing 10000 line codeunits with it ^^

Aand you cant say good things about that right scroll bar either. Its like when you roll a little down, it goes normal, then you turn to run up, omg the scrollbar jumps upside down?
And that bottom scrollbar is unusefull, its so tiny that its hard to pick up and scroll it, but why borther there is only 132 char limit sideways even *g*

Also whats with the intendation?
If you tab its always 2 characters, seems fine but when you shift tab its only 1? why does it have to be same as using backspace, tab should jump on the intends. Well its not word but its sure is ms product now :)

And if this is a Microsoft product and semin OOC enviroment why it doesn't have Intellisense?

I wonder if alot peopple complain about these things to Microsoft.

The C/AL is just a joke for development enviroment.

Feel free to add your favourite bad thing about C/AL :D
K.S.

Comments

  • BeliasBelias Member Posts: 2,998
    If you tab its always 2 characters, seems fine but when you shift tab its only 1? why does it have to be same as using backspace, tab should jump on the intends.
    someone likes indenting by 3 spaces(it's not my case), so he can do tab,tab,shift+tab :mrgreen::mrgreen:
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • KisuKisu Member Posts: 381
    Belias wrote:
    If you tab its always 2 characters, seems fine but when you shift tab its only 1? why does it have to be same as using backspace, tab should jump on the intends.
    someone likes indenting by 3 spaces(it's not my case), so he can do tab,tab,shift+tab :mrgreen::mrgreen:

    Yes, but there is more even. when you like to tab up to 4, the next line tab doesn't go straight to the 4 but the usual 2.

    Also you cant select multiple lines and tab forward or back.
    K.S.
  • BeliasBelias Member Posts: 2,998
    Also you cant select multiple lines and tab forward or back.
    yes! you can!...in nav>=5.0
    anyway, ctrl+z is a thing that everyone want... ](*,) ](*,)
    you can use it...but not after the "validation" of the code line...
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • IBSIBS Member Posts: 29
    There are lot of topics on this.
    I just can't wait till they get rid of the classic client.

    I just want to point out that the New client for 2009 will hopefully replace the classic client totally and that Navision will create a new development environment.
  • BgestelBgestel Member Posts: 136
    Kisu wrote:

    Feels like, when you are coding with C/AL you are coding HardCore!

    8) M3 !s |_33TH Na\/ |)3v 8)
    **********************
    ** SI ** Bert Van Gestel **
    **********************
  • krikikriki Member, Moderator Posts: 9,110
    Remember that Navision was created with the idea to keep hardcore programmers like you (and me) away!

    They wanted the functionals to add some code and that was it.
    That is the main reason we have such a bad editor.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • DenSterDenSter Member Posts: 8,305
    Kisu wrote:
    Feel free to add your favourite bad thing about C/AL :D
    I LOVE the C/AL editor :mrgreen: . I know exactly what it can do and I can always do exactly what I want to do. What's more, I can do most things in C/AL in about 10% of the time that it would take a C# developer in Visual Studio, and it is much easier to deploy too.

    Complaining about it is a pointless waste of my time.
  • David_SingletonDavid_Singleton Member Posts: 5,479
    Kisu wrote:
    First of all, if you delete more than 1 line, you cant undo it with ctrl+z.
    This is realy frustrating when doing lots of code and deleting it.

    Cant even undo paste ctrl+v.

    etc etc etc

    Yep been hearing the same thing by new bees for 15 years. Once you learn it you will realize how much better it is. As Denster says, you can do thing in NAV 10 times faster than you can in most other development environments.

    Unfortunately like most New Bees, you look at how long it takes to do one task, and forget how much time you save over the project.

    do you think a customer cares that you spent 60 seconds on one little task in NAV that you could do in VB, or that you spent 20 hours in NAV doing a project that would take 50 hours in VB, and then another 50 hours debugging.
    David Singleton
  • DenSterDenSter Member Posts: 8,305
    I'm sure we could identify the typical stages of a NAV developer (denial, anger, negotiating, etc.), that could be a good wiki article :mrgreen:
  • bbrownbbrown Member Posts: 3,268
    Before coming to Navision I worked with a Visual Studio based system (shall remain unnamed). The sales order screen was 600+ lines of code (not counting the graphical stuff). That was the screen logic and data handling. Comparably Navision is wonderful to work with. Yes, you do sometimes find things that are qwerky, but I've learned to work with it and things do go together quicker.
    There are no bugs - only undocumented features.
  • krikikriki Member, Moderator Posts: 9,110
    DenSter wrote:
    I'm sure we could identify the typical stages of a NAV developer (denial, anger, negotiating, etc.), that could be a good wiki article :mrgreen:
    David :wink::wink::wink:



    And if the editor is not good enough, we have a (Mibuso-)award winning software to help you : CodeGenius Studio 2007
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • BgestelBgestel Member Posts: 136
    Please keep complaining about the editor.

    And just to keep this discussion going, i'm not a newbie and my opinion is that the editor @!#$@!## bigtime. I do love c/al.

    please somebody give me one feature that makes the c/al editor better then the visual studio editor. I'm not talking languages here, i'm talking editors.

    Sorry david but i disagrea with you on this one
    Unfortunately like most New Bees, you look at how long it takes to do one task, and forget how much time you save over the project

    You are correct when you state this reffering to nav as a RAD environment, but a good visual studio style editor combined with the c/al language would actualy increase developer performance.
    **********************
    ** SI ** Bert Van Gestel **
    **********************
  • David_SingletonDavid_Singleton Member Posts: 5,479
    Bgestel wrote:
    ...Sorry david but i disagrea with you on this one
    Unfortunately like most New Bees, you look at how long it takes to do one task, and forget how much time you save over the project

    You are correct when you state this reffering to nav as a RAD environment, but a good visual studio style editor combined with the c/al language would actualy increase developer performance.

    It actually wouldn't. Believe me this topic has been discussed many many times. And when/if the C/AL development environment goes or moves to Visual Studio, the cost of development in NAV will MORE than double in cost to the end user.

    Let me sort out some time and I will write a blog about this. (Actually I have a Blog that I started on theis over a year ago, but never finished). :oops:
    David Singleton
  • BgestelBgestel Member Posts: 136
    amaze me
    **********************
    ** SI ** Bert Van Gestel **
    **********************
  • krikikriki Member, Moderator Posts: 9,110
    Let me sort out some time and I will write a blog about this. (Actually I have a Blog that I started on theis over a year ago, but never finished). :oops:
    [-X

    That blog would make our (the ones who love the C/AL editor) life a lot easier! :D
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • einsTeIn.NETeinsTeIn.NET Member Posts: 1,050
    The C/AL Editor is easy, fast and it matches with database logic. However there are some things you can't do, some things you shouldn't do and some things you have to do to become happy with it. Just figure out these things and will love it. :wink:
    "Money is likewise the greatest chance and the greatest scourge of mankind."
  • davmac1davmac1 Member Posts: 1,283
    I have been in this business since the IBM 360 days, so I have seen some truly bad editors (and no editors - punched cards and paper tape).
    My only beef with the C/AL editor is that you cannot see all the code in forms and reports without exporting them to text. When you are trying to find where a previous developer has "hidden" some code, having a complete view (like tables and codeunits) saves a lot of time.
  • ara3nara3n Member Posts: 9,256
    I believe NAV realized this and with xmlports and pages you see all the code when you go to the editor.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • SavatageSavatage Member Posts: 7,142
    edited 2008-06-26
    davmac1 wrote:
    I have been in this business since the IBM 360 days, so I have seen some truly bad editors (and no editors - punched cards and paper tape).
    I remember puch cards & paper tape :-$
    Junior High School & Machine Language...
    Good Times, Good Times :mrgreen:

    http://upload.wikimedia.org/wikipedia/e ... 64.faa.jpg

    Even the PET computer with the cassette tapes :lol:
    http://en.wikipedia.org/wiki/Commodore_PET
    Groundbreaking at the time \:D/
  • bbrownbbrown Member Posts: 3,268
    Savatage wrote:
    I remember puch cards & paper tape :-$
    Junior High School & Machine Language...
    Good Times, Good Times :mrgreen:

    http://upload.wikimedia.org/wikipedia/e ... 64.faa.jpg

    Then there was the technological breakthru - 8 inch floppies.
    There are no bugs - only undocumented features.
Sign In or Register to comment.