On Monday 28 October 2024 05:43:46 Mike Smith via tde-devels wrote:
I apologize if this has already been addressed in the
mailing list or on
the wiki, but what are some best practices when doing TDE/TQt development?
I
started my way with Qt 25 years ago (or so). First time I tried to
understand mechanism of signal/slot. It took for about 2 or 4 weeks when
I read the docs and the source code. After a month I started to write X11
applications using Qt (under FreeBSD).
I'm fairly new to programming, although I know
enough to be dangerous with
git and have a general understanding of programming concepts such as data
types, OOP, etc. I haven't used C++ before but interested in learning.
What does your programming environment look like?
At this moment I use also FreeBSD
as my working desktop to develop everything
I need.
Do you code in a VM or
container so that you don't mess with your main system's configuration?
Both. Some time ago I used illumos (dilos) but migrated to freebsd. Both
systems can use VM and containers (zones, jail). I preferred illumos based
systems and I have some plans to migrate from bsd to dilos again.
The main cause is that ZFS is native on illumos. I want to be sure that
my result of daily work will be saved in a snapshot.
Also I share my projects directory as NFS to the LAN, on another host (or VM)
I can test to compile (and to run) my project.
What's your favorite editor or IDE? I'm
curious what you're typical
workflow looks like.
I user pure kate editor with a list of files on the left side.
Nothing else.
The files usualy groupped by the logic until I finish some function of
algorithm. To compile, to run and to debug the result I use a separated
terminal (or more than one). Also I like when a system generates a core dump
of the debugging process instead of a crash dialog (for TDE as example).
That is because I can dig into the dump using gdb (or mdb).
But, again, It's my preferable workflow maybe because I'm too old for new
modern visual tools (and that [censored] "AI").