Forum > Beginners

Lazarus – Crawling Before The Walk

(1/5) > >>

MrPink:
Starting a new thread on the subject; leaving behind my prior thread which served to convince that Lazarus would be my best path. Basically, a new trick for an old dog. For me, it felt like finding a right-sized tutorial would be a good start.

The thing is, and said prior, I want the benefit of the GUI environment, but I’m not keen on the Object Oriented Program (OOP) aspect. So, I bounced around to quite a few YouTube tutorials, but invariably encountered the box that would be populated with the functional buttons. The box seems like a purposeful base for programmers with a long horizon; just not for me.

Anyway, I stumbled on a tutorial series by Tom Needham (2015) that might be tailored to my psyche (???). I’m going to invest in Mr. Needham, and report as I go. It’s early, so my above subject line is applicable. I’ll do the enter-code “Hello World” thing, with the hope of graduating to the load & use of familiar prior-written functional programs. Wish me luck but, if you would, please also share any similar-design tutorials.

A first very-early question. When progressively writing code, my longtime MO is to regularly engage the compile to make sure I’m solid at that write level. Tom seems to exclusively use the run button. Is there still a compile button, or is it somehow obsolete?
Thank you,
MrPink

Lazarus 3.4;  FPC 3.2.2

440bx:

--- Quote from: MrPink on November 20, 2024, 03:45:04 am ---A first very-early question. When progressively writing code, my longtime MO is to regularly engage the compile to make sure I’m solid at that write level. Tom seems to exclusively use the run button. Is there still a compile button, or is it somehow obsolete?

--- End quote ---
You can configure the coolbar to include a "compile" button.  Personally, I use Shift-F9 to do a build (faster than clicking on a button)

I recommend building and debugging/testing every few lines of code, less surprises at the end that way.

srvaldez:
MrPink, do you have a goal in mind?
what kind of program are you planning on writing?
as far as I know a responsive GUI application is event driven and OOP is well suited for that

Handoko:

--- Quote from: MrPink on November 20, 2024, 03:45:04 am ---The thing is, and said prior, I want the benefit of the GUI environment, but I’m not keen on the Object Oriented Program (OOP) aspect.

--- End quote ---

If you just want to use components created using OOP approach, that is much easier than you think. OOP is hard only when you want to write components/programs using OOP approach. I believe what you want is the the first one.

Anyone but newbies only, you can contact, PM, email or WA me if you have problem learning Lazarus. I can even set up a remote access to help you.

silvercoder70:
You can PM me also.

I am a little unsure about what you consider the crawling phrase, vs walk or run but putting that aside, I have started a new series on YT (you will find link in signature) on the fundamentals in (what I refer to as modern) pascal.

Now what I describe as fundamentals is all that stuff just after "hello world". Once you have an understanding of that part, doing the GUI side becomes easier. And even when do GUI stuff, it does not have to be "OO".

Crawl -> Walk -> Run

Enjoy the journey.

Navigation

[0] Message Index

[#] Next page

Go to full version