silvercoder79 24 Posted July 3 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 4 1 Share this post Link to post
David Duffy 0 Posted July 4 Good to see a headset in your latest videos. The audio is much better. Share this post Link to post
silvercoder79 24 Posted July 4 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") 1 Share this post Link to post
Rollo62 536 Posted July 4 (edited) b51995d0-8bea-4723-8cf8-ced1a256af59.webp Edited July 4 by Rollo62 Share this post Link to post
silvercoder79 24 Posted July 9 Not a real programmer... not wearing his delphi programming socks! (It was a short from tscoding on YouTube.) Share this post Link to post
Rollo62 536 Posted July 9 (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 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 July 9 by Rollo62 1 Share this post Link to post
silvercoder79 24 Posted July 10 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
Rollo62 536 Posted July 11 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 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
dummzeuch 1505 Posted July 11 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. 1 Share this post Link to post
Rollo62 536 Posted July 11 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 Share this post Link to post
silvercoder79 24 Posted July 11 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
silvercoder79 24 Posted July 16 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
silvercoder79 24 Posted July 22 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
silvercoder79 24 Posted August 19 (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 Edited August 19 by silvercoder79 2 Share this post Link to post
silvercoder79 24 Posted August 21 #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
Anders Melander 1783 Posted August 21 8 minutes ago, silvercoder79 said: Discover the IfThen function Next up: How to use "with" to make your code more readable. 2 2 Share this post Link to post
Stefan Glienke 2002 Posted August 21 (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 August 21 by Stefan Glienke 2 Share this post Link to post
Lars Fosdal 1792 Posted August 22 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. 1 1 Share this post Link to post
JonRobertson 72 Posted August 22 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
silvercoder79 24 Posted September 21 On 8/21/2024 at 6:47 PM, Anders Melander said: Next up: How to use "with" to make your code more readable. in some universe it might work like that :) there was a point in time when it made sense. Share this post Link to post
silvercoder79 24 Posted September 21 There is more to programming than just writing code! In this video, I explore the code formatter in Delphi... starts with a brief history of code formatting and its importance in software development. I also discuss a free book on code formatting principles before diving into a practical demonstration of how to effectively format your Delphi code. Join me as I share why code formatting matters and how you can do it in Delphi! Links Embarcadero Style Guide - https://docwiki.embarcadero.com/RADStudio/Athens/en/Delphi’s_Object_Pascal_Style_Guide Object Pascal Guide by Bent Olsen - https://sourceforge.net/projects/object-pascal-style-guide/ Other References https://ia600807.us.archive.org/6/items/ObjectPascalStyleGuide_201708/SoftwareEngineering/Object Pascal Style Guide.pdf http://www.sourceformat.com/coding-standard-delphi.htm https://wiki.overbyte.be/arch/IcsMidwareCodingStyle.pdf https://www.win.tue.nl/~wstomv/edu/delphi/DelphiLanguageGuide.pdf #Delphi #CodeFormatting #SoftwareDevelopment #ProgrammingTips #DelphiCode #Pascal #CleanCode #CodeQuality #CodingStandards #DeveloperTips Share this post Link to post
dummzeuch 1505 Posted September 21 (edited) GExperts did not have a Code Formatter in the 90ies. There was only DelForEx by Egbert van Nees (and later a code formatter as part of project JEDI which today is part of the Lazarus IDE). He donated that code to GExperts in the mid 2000ties and I integrated it into GExperts and over the years improved it (performance on large files more than doubled) and extended it to cover new language constructs that were added. Edited September 21 by dummzeuch 1 1 Share this post Link to post
mvanrijnen 123 Posted September 21 i really do no understand why you publish this on youtube, why not a normal website where people can read this stuff ? Stuff like this is much better taken into the brain while reading instead of watching a video. Is it because you want to generate income from YT with it ? Share this post Link to post
Anders Melander 1783 Posted September 21 15 minutes ago, mvanrijnen said: Stuff like this is much better taken into the brain while reading instead of watching a video. That depends on the brain; Some people prefer to read and some prefer to watch a video. I also think it depends on the subject. Highly technical topics, reference material, and so on, are better in writing because we need them to be precise and unambiguous. But video is fine for entry level stuff and conceptual material. I know that very few of our end-users ever read the documentation (they never notice when it falls behind) but the how-to videos get quite a lot of views and feedback. 1 Share this post Link to post