Recent

Author Topic: Lazarus Release 4.0  (Read 73821 times)

440bx

  • Hero Member
  • *****
  • Posts: 5437
Re: Lazarus Release 4.0
« Reply #75 on: May 11, 2025, 06:05:40 pm »
You wouldn't write on a black piece of paper right?
I definitely wouldn't write on a black piece of paper but, when it comes to coding the only background I consider acceptable is total black.  The reason is simple, black means no light is being sent into your eyes, which means, no artificial light stressing your retina.  At the same time, the black background (because it is "no light") provides much better contrast with other colors.

All that said, it's still a matter of personal taste but, regardless of personal taste, a completely black background is better for your eyes.
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v4.0rc3) on Windows 7 SP1 64bit.

Thaddy

  • Hero Member
  • *****
  • Posts: 17099
  • Ceterum censeo Trump esse delendam
Re: Lazarus Release 4.0
« Reply #76 on: May 11, 2025, 06:19:30 pm »
Think blackboard, we all grew up with that. Chalk dust. The ultimate dark theme.
(although personally I have a great dislike of dark themes )
« Last Edit: May 11, 2025, 06:21:53 pm by Thaddy »
Due to censorship, I changed this to "Nelly the Elephant". Keeps the message clear.

munair

  • Hero Member
  • *****
  • Posts: 879
  • compiler developer @SharpBASIC
    • SharpBASIC
Re: Lazarus Release 4.0
« Reply #77 on: May 11, 2025, 06:32:36 pm »
All that said, it's still a matter of personal taste but, regardless of personal taste, a completely black background is better for your eyes.
Then, when getting out, after some hours coding behind your dark monitor, you probably would need sun glasses to protect your eyes from simply daylight. ;-) Anyway, there are plenty of colors that equally stand out on a white background and I've grown so much accustomed to the traditional Delphi-like theme that I cannot think of using something else, especially after setting up a new Lazarus installation.

It is indeed a matter of taste, but I do see advantages to a light background, which are not limited to coding issues alone. The one area where I do use darker backgrounds/interfaces is photo/video editing (many editors don't offer a choice anyway). But I'm always happy to get back to light when finished or taking a break. :-).
It's only logical.

munair

  • Hero Member
  • *****
  • Posts: 879
  • compiler developer @SharpBASIC
    • SharpBASIC
Re: Lazarus Release 4.0
« Reply #78 on: May 11, 2025, 06:35:24 pm »
Think blackboard, we all grew up with that. Chalk dust. The ultimate dark theme.
(although personally I have a great dislike of dark themes )
Yeah, blackboards, which in our country were usually quite greenish. And after the teacher finished his explanation, one would turn to his/her white piece of paper or white paged book.
It's only logical.

440bx

  • Hero Member
  • *****
  • Posts: 5437
Re: Lazarus Release 4.0
« Reply #79 on: May 11, 2025, 06:43:39 pm »
I couldn't look at that white background stuff you posted for more than 5 minutes.

I can somewhat tolerate light backgrounds in some apps, like a browser but not in an app I look at for hours at a time (such as a text editor.)  That's another thing that makes Visual Studio unbearable, it's slow and the colors are never right.

with a black background, strings, numerals, comments, punctuation, everything important jumps at you :)

(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v4.0rc3) on Windows 7 SP1 64bit.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 11286
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release 4.0
« Reply #80 on: May 11, 2025, 07:51:59 pm »
, black means no light is being sent into your eyes,

Which also means: your pupils having to open wider (as they do if it is darker). Which in turn means the focal field (not sure if that is the correct English term) becomes more narrow, and your eyes have to put in more work to keep the exact focus.

As in a camera a narrow small aperture, so does a "small pupils" in the eye increase the area (min to max distance) within which something is focused. With a bigger aperture things have to be exactly on the right distance, and all else starts bluing... => more light, wider pupils, less focal adjustment by the muscles controlling the lens in your eye.

A white background should not be tiring, if
- its overall brightness is moderate (many monitors come with defaults that act as floodlight..., but that can be adjusted).
- the room surrounding you is equally well lit (so your pupils are as small as possible / helping the focusing)
- the lighting is set up to avoid glaring and reflection

Of course, if you switch, your brain needs to adjust to interpret the reverse image. That is tiring for some time too, though not to the eyes.
« Last Edit: May 11, 2025, 07:57:50 pm by Martin_fr »

threedslider

  • Newbie
  • Posts: 2
Re: Lazarus Release 4.0
« Reply #81 on: May 11, 2025, 08:14:01 pm »
Hi and thank you for the wonderful Lazarus v. 4.0  :)

I will switch to the version 4.0 in the hope that I will work with this !

Thanks for sharing and keep it up !

simone

  • Hero Member
  • *****
  • Posts: 666
Re: Lazarus Release 4.0
« Reply #82 on: May 11, 2025, 09:10:45 pm »
About MetaDarkStyle, it doesn't work for me with Lazarus 4.0 on Windows. Has anyone tried it? Thanks.
Microsoft Windows 10/11 64 bit - Lazarus 3.8/4.0 FPC 3.2.2 x86_64-win64-win32/win64

Hansvb

  • Hero Member
  • *****
  • Posts: 815
Re: Lazarus Release 4.0
« Reply #83 on: May 11, 2025, 09:23:06 pm »

simone

  • Hero Member
  • *****
  • Posts: 666
Re: Lazarus Release 4.0
« Reply #84 on: May 11, 2025, 10:33:58 pm »
Microsoft Windows 10/11 64 bit - Lazarus 3.8/4.0 FPC 3.2.2 x86_64-win64-win32/win64

flowCRANE

  • Hero Member
  • *****
  • Posts: 927
Re: Lazarus Release 4.0
« Reply #85 on: May 12, 2025, 01:10:42 am »
I still use white backgrounds and simply cannot and won't get used to trending dark background app development.

We do not install dark themes because of trends, but because of necessity — we simply prefer to look at less intense and bright screen content, saving our eyesight and extending working time. In the past, all (non-console) IDEs were white because the operating system forced them to be so, but those medieval conditions are long gone — we have the tools, we have the capabilities, and we want to use them to make our work easier.



About MetaDarkStyle, it doesn't work for me with Lazarus 4.0 on Windows. Has anyone tried it? Thanks.

I use it on Windows 10, in Lazarus 4.0 — it works as intended, just like in previous versions of the IDE (see attachment).
Lazarus 4.0 with FPC 3.2.2, Windows 10 — all 64-bit

Working solo on a retro-style action/adventure game (pixel art), programming the engine from scratch, using Free Pascal and SDL3.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 11286
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release 4.0
« Reply #86 on: May 12, 2025, 10:10:37 am »
We do not install dark themes because of trends, but because of necessity — we simply prefer to look at less intense and bright screen content, saving our eyesight and extending working time.

Interesting... I use a light theme, exactly because it is better for the health of the eyes.

Rico54

  • New Member
  • *
  • Posts: 10
Re: Lazarus Release 4.0
« Reply #87 on: May 12, 2025, 10:16:47 am »
Thanks for the great work! As old Pascal programmer now, at the age of 70, I've started to programming again thanks to the Lazarus Project and I've wrote a small app for a nonprofit association (a small library in my village).
I'm happy, I feel like a live person and not an old slipper  :D

Khrys

  • Full Member
  • ***
  • Posts: 239
Re: Lazarus Release 4.0
« Reply #88 on: May 12, 2025, 11:23:19 am »
Which also means: your pupils having to open wider (as they do if it is darker). Which in turn means the focal field (not sure if that is the correct English term) becomes more narrow, and your eyes have to put in more work to keep the exact focus.

[...]

A white background should not be tiring, if
- its overall brightness is moderate (many monitors come with defaults that act as floodlight..., but that can be adjusted).
- the room surrounding you is equally well lit (so your pupils are as small as possible / helping the focusing)
- the lighting is set up to avoid glaring and reflection

I'd rather rely on the room lighting to keep my pupils small. I don't like staring directly at bright light sources such as lamps, the sun, or white editor backgrounds  :)

VisualLab

  • Hero Member
  • *****
  • Posts: 685
Re: Lazarus Release 4.0
« Reply #89 on: May 12, 2025, 11:42:41 am »
Problems with white backgrounds and dark letters in the editor will be forgotten when you can easily buy monitors with e-paper displays in stores. The current ones (for now) have too long a content change time. But in a few years this will change. Their additional advantage will be very low energy consumption (power consumption only when changing pixels and by electronic circuits receiving data).
« Last Edit: May 12, 2025, 11:44:42 am by VisualLab »

 

TinyPortal © 2005-2018