Jump to content
silvercoder79

Watch me coding in Delphi on YouTube

Recommended Posts

I guess there are people with differing levels of ability. And while I don't intend to post links to all videos, today's video is a real-world example of  adding code to a word search game and squashing those pesky bugs along the way!  Hopefully, it will inspire you to  tackle your own coding challenges and share your creations in the comments!


https://youtu.be/K1iJIYtBPaw

  • Like 3
  • Thanks 1

Share this post


Link to post

One day, I might invest in a proper mic, and until then... the headset will do,

 

(feels a bit like "ground control to major tom")

  • Haha 1

Share this post


Link to post

Not a real programmer... not wearing his delphi programming socks!

 

(It was a short from tscoding on YouTube.)

Share this post


Link to post
Posted (edited)

Yeah, it should look like this, originally.
But unfortunately the AI refuses to reproduce logos, socks, styles and so on, in the right way.
Nevertheless, I'm sure this is quite the right picture of a messy programmer, at least as I am :classic_biggrin:

image.thumb.png.39e808f4cc84b4c5b8c2940d18fd7000.png

 

If anybody will tell you that AI ist not ruling the word yet, this proofs him work.
AI already dictates how the the political correct content shall look like and refuses to produce anything else you ask for.

 

Edited by Rollo62
  • Like 1

Share this post


Link to post

The funny part is that I have different colored slippers. Blue for left foot and brown for right, and only because I cannot locate the other brown slipper. 

 

And next week, I will be back with some Delphi coding videos.  Been playing with Lazarus recently. But if that sort of things peaks your curiosity, you know where to find me? I hope.

 

https://www.youtube.com/@silvercoder70

Share this post


Link to post
On 7/9/2024 at 12:22 PM, Rollo62 said:

Yeah, it should look like this, originally.
But unfortunately the AI refuses to reproduce logos, socks, styles and so on, in the right way.
Nevertheless, I'm sure this is quite the right picture of a messy programmer, at least as I am :classic_biggrin:

image.thumb.png.39e808f4cc84b4c5b8c2940d18fd7000.png

 

If anybody will tell you that AI ist not ruling the word yet, this proofs him wrong.
AI already dictates how the the political correct content shall look like and refuses to produce anything else you ask for.

 

 

Share this post


Link to post
On 7/9/2024 at 12:22 PM, Rollo62 said:

AI already dictates how the the political correct content shall look like and refuses to produce anything else you ask for.

Break out the crayons and draw away. We don't need no stinkin' AI.

  • Like 1

Share this post


Link to post
13 minutes ago, dummzeuch said:

Break out the crayons and draw away. We don't need no stinkin' AI. 

No nooo, its just like in the Jurassic Park: The strange AI animals can be nice to watch and study, but be very sure to keep the cage door closed :classic_biggrin:

Share this post


Link to post

On AI...  I have seen some strange answers come out! And similar code then used in articles on the web and do read this literally...
 

if (condition) then
  do something
  do something else

rest of code here

Where is the begin/end pair?!?

Share this post


Link to post

New video from The Silver Code exploring the functionalities of  classes, sysutils, and dateutils units, providing a strong foundation for building robust Delphi applications. Over the coming weeks I'll look at these units in more details...

 

What units are most important for you? Would love to hear from you!

 

 

 

Share this post


Link to post

Safeguard Your Object Pascal Code: Initialization and Error Handling

 

Nobody likes dealing with bugs after their software is out in the wild. That's where defensive programming comes in. Starting with solid variable initialization is your first line of defense. Learn how to prevent those nasty surprises, handle those tricky constructor exceptions, and master the art of dealing with pesky nil pointers in Object Pascal.

 

References:
Initialised Variables - https://www.freepascal.org/docs-html/...
Declarations - https://www.freepascal.org/docs-html/...

 


 

Share this post


Link to post
Posted (edited)

Setting Up Delphi and RAD Studio for Android Development

Link: https://youtu.be/g7tvSlGoG0k

 

In this video, I walk you through the step-by-step process of configuring Delphi RAD Studio for Android development and using the SDK Manager to get the required packages. Along the way,  we learn how to overcome common challenges and get your development environment up and running.

 

Useful links:

https://en.delphipraxis.net/topic/10436-delphi-120-athens-is-not-correctly-installing-the-android-sdk/
http://delphi.org/2013/10/wireless-android-debugging-with-delphi-xe5/
https://stackoverflow.com/questions/31886049/list-installed-sdk-package-via-command-line

 

1520723435_BlackandPinkGradientModernTechnologiesYouTubeThumbnail.thumb.png.b2d947f6e75539cab9adb8e14d4c70df.png

Edited by silvercoder79
  • Thanks 2

Share this post


Link to post

#Delphi's Ternary Trick: IfThen vs. C's Conditional Operator

 

 

 

Ever wondered how to write concise conditional statements in Delphi? Discover the IfThen function, Delphi's equivalent to the C ternary operator. Learn how to use it effectively in your code for cleaner, more readable, and potentially more efficient solutions.

 

#Delphi #Programming #TernaryOperator #IfThen #CodingTips #Efficiency #Readability #ProgrammingLanguages

Share this post


Link to post
8 minutes ago, silvercoder79 said:

Discover the IfThen function

Next up: How to use "with" to make your code more readable.

  • Thanks 2
  • Haha 2

Share this post


Link to post
Posted (edited)
5 hours ago, silvercoder79 said:

the IfThen function, Delphi's equivalent to the C ternary operator.

omg, no!

 

5 hours ago, Anders Melander said:

Next up: How to use "with" to make your code more readable.

Followed by "How do I fix these random Access Violations that appear in my code"

Edited by Stefan Glienke
  • Haha 2

Share this post


Link to post
On 8/21/2024 at 10:32 AM, silvercoder79 said:

Discover the IfThen function, Delphi's equivalent to the C ternary operator

It may LOOK like a ternary, but looks deceive. It does NOT behave like a ternary op.
Both expressions will be evaluated/executed - and not one or the other.

The only place I use it, is when I want to emit const values, dependant on an expression.

  • Thanks 1

Share this post


Link to post
On 8/21/2024 at 9:27 AM, Stefan Glienke said:

omg, no!

 

Followed by "How do I fix these random Access Violations that appear in my code"

And how to confuse the heck out of the debugger's evaluator.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×