Recent

Author Topic: Logical seperation of Units  (Read 14590 times)

Leledumbo

  • Hero Member
  • *****
  • Posts: 8835
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Logical seperation of Units
« Reply #15 on: July 13, 2013, 06:07:46 pm »
Quote
Another NetBeans good feature is that it adds import (uses) automatically if you type a class that is not exist in import section, it is a simple but powerfull feature that we are using all the time in NetBeans.
For classes known to the IDE, that's possible. In fact, some of the code completion features already does that.
Quote
I don't want Object Pascal to become like Java, to work in a virtual machine and consumes memory, but I need Lazarus to become a rich ide, docked, source control support, and rich refactorying tool that is suitable for today's needs of software development.
Well... contribute then, the source is yours, and you may send patches implementing features you want (which of course must be moderated before applied) :D

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12717
  • FPC developer.
Re: Logical seperation of Units
« Reply #16 on: July 13, 2013, 09:18:04 pm »
NetBeans and Java flexibility supported by refactorying, it is exist everywhere in the editor.

Possibly. Lazarus also has an handful.

But I asked direct questions about how flexible the feature was that you were promoting, and I don't get a direct answer.

IMHO that is telling.


motaz

  • Sr. Member
  • ****
  • Posts: 495
    • http://code.sd
Re: Logical seperation of Units
« Reply #17 on: July 13, 2013, 10:27:59 pm »
Marcov, I didn't understand your question

motaz

  • Sr. Member
  • ****
  • Posts: 495
    • http://code.sd
Re: Logical seperation of Units
« Reply #18 on: July 13, 2013, 10:51:11 pm »
Quote
Well... contribute then, the source is yours, and you may send patches implementing features you want
It seems that my ideas about NetBeans features is not welcomed here. That is the impression that I have got today
« Last Edit: July 13, 2013, 10:53:03 pm by motaz »

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12717
  • FPC developer.
Re: Logical seperation of Units
« Reply #19 on: July 13, 2013, 11:02:07 pm »
Quote
Well... contribute then, the source is yours, and you may send patches implementing features you want
It seems that my ideas about NetBeans features is not welcomed here. That is the impression that I have got today

It is simply that ideas don't lead to anything without anybody to implement them. And the person proposing them is the most likely person to implement them, since obviously, he cares.

motaz

  • Sr. Member
  • ****
  • Posts: 495
    • http://code.sd
Re: Logical seperation of Units
« Reply #20 on: July 13, 2013, 11:10:52 pm »
As Leledumbo said, it needs moderation first, if the moderator didn't like it, he can simply igore it.
Moreover if only one person need this feature, that means it is not so important.
« Last Edit: July 13, 2013, 11:12:50 pm by motaz »

Leledumbo

  • Hero Member
  • *****
  • Posts: 8835
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Logical seperation of Units
« Reply #21 on: July 13, 2013, 11:15:04 pm »
Quote
As Leledumbo said, it needs moderation first, if the moderator didn't like it, he can simply igore it
New features are always like that, I've never sent any patches implementing new features though, only bug fixes.

motaz

  • Sr. Member
  • ****
  • Posts: 495
    • http://code.sd
Re: Logical seperation of Units
« Reply #22 on: July 13, 2013, 11:25:47 pm »
I can live with Project Inspector's Folders Hierarchy solution.
I havn't pay attention to refactorying before using NetBeans, in spite of that I have used it, but rarely in Turbo Delphi.
Java also lets me search again in Object Pascal for hidden features. I have written this article about new features of Object Pascal since Delphi 7 after using other programming languages:
https://freepascalanswers.wordpress.com/2013/01/26/language-additions/
« Last Edit: July 13, 2013, 11:31:48 pm by motaz »

Leledumbo

  • Hero Member
  • *****
  • Posts: 8835
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Logical seperation of Units
« Reply #23 on: July 13, 2013, 11:42:00 pm »
Quote
I have written this article about new features of Object Pascal since Delphi 7 after using other programming languages
Complete that with information from here.

motaz

  • Sr. Member
  • ****
  • Posts: 495
    • http://code.sd
Re: Logical seperation of Units
« Reply #24 on: July 13, 2013, 11:48:16 pm »
Lededumbo, I'm granting you a permission to add them in the blog, and don't worry, it will not need moderator acceptance.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4695
  • I like bugs.
Re: Logical seperation of Units
« Reply #25 on: July 14, 2013, 12:04:35 am »
In the future I hope that "Show directory heirarchy" becomes the default option, because if you close Lazarus and open it again it shows all units without directories

I made it the default in trunk r42080. Later hopefully the settings are remembered and the default will not be important. There are bug reports about it:
  http://bugs.freepascal.org/view.php?id=22609

The refactorings you listed are good and surely a patch would be accepted. There could be some kind of local menu for unknows identifiers like top IDEs have.
Another much requested and planned feature is Project Groups.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

motaz

  • Sr. Member
  • ****
  • Posts: 495
    • http://code.sd
Re: Logical seperation of Units
« Reply #26 on: July 14, 2013, 04:06:02 am »
Thank you Juha again

Zaher

  • Hero Member
  • *****
  • Posts: 683
    • parmaja.org
Re: Logical seperation of Units
« Reply #27 on: July 18, 2013, 09:24:32 pm »
Quote from: Leledumbo
Whatever, I've heard this yeaaaaaaaars ago and the language is still alive and growing.
No, the idea: users will move to another Language/IDE, not mean the language will dead like as that words.

Quote from: Leledumbo
Just because some persons think something is not right doesn't mean it's not right.
I herd that from Java team when some one like to have "properties" in the Java classes, and they refuse it.

Every language have disappointing points, and good points, but my wonder that after many years working in programming, we still can't have a very good Language (free and opensource)?

Leledumbo

  • Hero Member
  • *****
  • Posts: 8835
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Logical seperation of Units
« Reply #28 on: July 19, 2013, 12:01:41 am »
Quote
No, the idea: users will move to another Language/IDE, not mean the language will dead like as that words.
That's the same. It does happen but so does the opposite, and it seems the opposite happens more (counting the registered users in this forum + freepascal forum + mailing + each country's forum shows the fact). It's growing, not dying as many people who DON'T USE IT AND DON'T KNOW ITS STATE say.
Quote
I herd that from Java team when some one like to have "properties" in the Java classes, and they refuse it.
That's their concept not to hide it from users, as well as refusing operator overloading because it's not OOP (yet they overload + for strings)
Quote
Every language have disappointing points, and good points, but my wonder that after many years working in programming, we still can't have a very good Language (free and opensource)?
Modern Pascal is backward compatible with Turbo Pascal and in turn Standard Pascal. Most Standard Pascal programs (that doesn't feature Standard file I/O) will compile and work flawlessly with Modern Pascal compilers. Backward compatibility is what makes Pascal alive, because of huge code base exists (and newer ones often take existing as base).

There won't be any perfect programming language, regardless free/open source or not, because everyone has their own preference. A quite new born language, Nimrod, that doesn't suffer backward compatibility issue, has just hit this. Simply because a new user doesn't like its case/style insensitiveness, while it's the designer's idea from the first to have that as a core feature of the language.

Zaher

  • Hero Member
  • *****
  • Posts: 683
    • parmaja.org
Re: Logical seperation of Units
« Reply #29 on: July 19, 2013, 01:18:26 am »
I agree but :(
Quote from: Leledumbo
Modern Pascal is backward compatible with Turbo Pascal and in turn Standard Pascal. Most Standard Pascal programs (that doesn't feature Standard file I/O) will compile and work flawlessly with Modern Pascal compilers. Backward compatibility is what makes Pascal alive, because of huge code base exists (and newer ones often take existing as base).
Yes, that is the correct answer, but we still need new features that make our favorite language not just still alive.

 

TinyPortal © 2005-2018