Linked by Joost van der Sluis on Mon 10th Sep 2007 16:03 UTC
General Development Recently, Free Pascal (FPC) version 2.2.0 was released. This open source Pascal compiler has - since its initial release in 1993 - grown to be one of the most sophisticated open source compilers available today. Daily, more programmers discover FPC and develop their applications in Object Pascal. Specifically, the development of Lazarus has contributed to this phenomenon: Lazarus is a graphical open source IDE for FPC, with an extensive tool kit to design graphical (GUI) applications.
Thread beginning with comment 270103
To view parent comment, click here.
To read all comments associated with this story, please click here.
WiggetyWhack
Member since:
2007-06-30

Jesus christ. We are talking about ONE function to handle resize... "Textbox1.Width = ParentDialog.Width - 540; Textbox2.Left = ParentDialog..Width - 1060;" etc. Seriously. You java/.NET folks need to get your head out of your ass... System.devices.cdRecorders.burnISO.FromFile(...) (or whatever the f--k that does all the work for you) does not make you a good programmer. And we aren't even talking about something complex like burning an ISO. We are talking ONE TO TWO LINES OF CODE IN THE ONRESIZE FOR EACH WIDGET YOU NEED TO HANDLE. And they aren't even functions! Simple value assignment. Loser

Reply Parent Score: -2

rayiner Member since:
2005-07-06

What kind of non-font-sensitive, non-language-aware, hard-coded piece of shit as that?

If you do resize logic wrong, then yeah, it's easy, but it's 2007 --- we're getting past the point where you can give a wrong answer to a hard question just because it's easier than giving the right answer. If you do layout _right_, it's hard, and it's something the toolkit better handle.

Edited 2007-09-11 01:59

Reply Parent Score: 6

Almindor Member since:
2006-01-16

What are you talking about here?

Lazarus has the BEST sizing attributes I have used in any widgetset/toolkit. It has both anchors and alignment and also a concept of "neighbors".

You can do virtually anything with all 3. Just coz you don't know shit about what you say doesn't mean it's not there.

+ the gtk style of "autolayouts" is 80s. It's useless.

Reply Parent Score: 3

rayiner Member since:
2005-07-06

I have no idea what Lazarus does. I wasn't talking about Lazarus. I was talking about WidgityWack's post about manually writing resize methods, specifically the:

"Textbox1.Width = ParentDialog.Width - 540; Textbox2.Left = ParentDialog..Width - 1060;"

Reply Parent Score: 3

FooBarWidget Member since:
2005-11-11

Uhm yeah, good for you. But I have 300 widgets. You still haven't given me a good reason to waste my time on 300 lines of code (probably more, because some widget's position depends on others, or depends on some conditions) instead of using that to solve a real problem.

As I said, an elitist attitude.

Reply Parent Score: 3

rayiner Member since:
2005-07-06

It's not elitist, it's just dumb. I see these sorts of "programmers" all the time. They think they're better because they do grunt work that can easily be automated by the language/libraries, instead of doing real thinking to solve real problems.

Reply Parent Score: 3