Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is Lazarus a good alternative for learning Delphi?

Tags:

I'm a teen who has been programming since 8 years old, so I know what I do. I want to take a look at Delphi Windows development.

The problem with this, is that Embarcadero's Delphi is really expensive, and I can't afford it.

I wanted to know if Lazarus is a good alternative, now for learning and hobby, but in a few years for working.

If I learn Lazarus now, would I know Delphi also ? Do I need to learn Pascal first ? Any good Lazarus books ? If I learn Lazarus from a Delphi book it's ok ?.

Thanks.

like image 871
dysoco Avatar asked Aug 22 '11 19:08

dysoco


People also ask

Is Lazarus IDE good?

Lowest Rated. Lazarus has some fine points when it comes to using a single platform version. But its cross compiling capabilities are poorly documented and just are not worth the effort, no matter how you try to build a cross platform executable, even on Windows 32.64.

Is Delphi worth learning?

Yes, it is. If only because learning Object Pascal will make you a better programmer overal. Delphi (Object Pascal) is basically C++ but as a clear and structured language. It is more powerful than C# and Java, and incomparable to scripting languages like Javascript, Typescript or Python.

What is Lazarus used for?

Lazarus is a free cross-platform visual integrated development environment (IDE) for rapid application development (RAD) using the Free Pascal compiler. Its goal is to provide an easy-to-use development environment for programmers developing with the Object Pascal language, which is as close as possible to Delphi.

How do you convert Delphi to Lazarus?

The first thing to do when converting a Delphi project to Lazarus. Having opened Lazarus, you should go to to Tools and then Convert Delphi Project to Lazarus Project (Since Lazarus 1.2. 6 the menu structure is Tools -> Delphi Conversion -> Convert Delphi Project to Lazarus Project).


1 Answers

Some things to be aware of:

  1. The component library for lazarus, the LCL is similar in many ways, to the VCL library for Delphi, but there are differences, the biggest being the many components in the VCL that are not in lazarus. As a means of learning Delphi programming, this seems to me to be the biggest shortcoming.

  2. The IDE for Lazarus is similar in many ways to the Delphi 7 IDE (and older versions) and looks nothing at all, and works nothing at all, like modern Delphi IDE versions. So your learning of Lazarus would be somewhat transferable to the now-ancient version Delphi 7, but wouldn't be of much use in knowing your way around the delphi IDE. Installation of packages works completely differently too. Delphi has true support for packages, whereas lazarus rebuilds and relinks itself in order to add more "designtime components" to itself.

  3. The base languages are also almost identical, but I would expect to find some strange differences. There is some brief description of the differences on Wikipedia.

I agree with Kico; The delphi starter edition is not expensive.

like image 143
Warren P Avatar answered Sep 30 '22 16:09

Warren P