Multi-Line Strings - New in Delphi 12 - 224

  Рет қаралды 4,578

Alister Christie

Alister Christie

Күн бұрын

Пікірлер: 28
@olivierbeltrami
@olivierbeltrami 4 ай бұрын
Great feature to add SQL at runtime.
@ajcdos2
@ajcdos2 Жыл бұрын
Al fin!, eso era realmente un detalle que le hacia falta a Delphi 😋 aunque copiándose un poco del comentario largo de Python 😅, pero muy buena la implementación fácil para multilinea 😎👍
@davemurey6119
@davemurey6119 Жыл бұрын
Интересно, а подробные конструкции есть ли в Lazarus?
@marekjakimowicz
@marekjakimowicz Жыл бұрын
Looks nice.
@jairgza
@jairgza Жыл бұрын
great feature, I hope they add string interpolation later
@codegearguru
@codegearguru Жыл бұрын
I've not used this language feature, but it might lead to more concise string concatination code. en.wikipedia.org/wiki/String_interpolation
@mz9zn
@mz9zn Жыл бұрын
5:35 what keys are you using to shift the selected strings?? Never knew about this feature and always used a macros for that...
@codegearguru
@codegearguru Жыл бұрын
It's just Tab (and the reverse Shift+Tab). It been in Delphi since XE8, prior to this you could use Ctrl+Shift+I to indent and Ctrl+Shift+U to un-indent
@mz9zn
@mz9zn Жыл бұрын
@@codegearguru Wow, this thing is awesome. You literally changed my life 🙂 Thank you a lot!!!
@alexandrosipov4186
@alexandrosipov4186 Жыл бұрын
But again no AVX instructions in new version :(
@codegearguru
@codegearguru Жыл бұрын
I can't say it's something I'm looking forward to or require, but it will be important to a few developers.
@JaDanBar97
@JaDanBar97 7 ай бұрын
If Alistair Christie saw how my code is formatted he would no doubt kill me 😂
@codegearguru
@codegearguru 7 ай бұрын
I've delt with some pretty scary stuff, where I'm just left scratching my head as to why. Having you code formatted in a consistent way makes it easier to read, and therefor easier to spot bugs.
@colinmaharaj
@colinmaharaj 11 ай бұрын
0:36 user interface done, lol 😂
@szabolti
@szabolti Жыл бұрын
How can you keep spaces at line ends?
@codegearguru
@codegearguru Жыл бұрын
Interesting, I don't know, maybe some sort of Unicode space? Why do you want to?
@havenisse2009
@havenisse2009 Жыл бұрын
Just need to adapt F-strings from Python and heredoc from perl.. It would be fantastic if both optionally were possible.
@jensborrisholt5555
@jensborrisholt5555 Жыл бұрын
The Source formatter in Delphi 12 breaks the new multiline string. Thats bad
@codegearguru
@codegearguru Жыл бұрын
It's probably going to be a while before it's fully supported, I've yet to test it with refactoring as well.
@jensborrisholt5555
@jensborrisholt5555 Жыл бұрын
@@codegearguru unfortunately yes. But it means we cannot use the feature until its fixed
@andrewbrown8463
@andrewbrown8463 11 ай бұрын
I don’t get there strategy on half implementing features like this. It was the same for inline variables that came in 10.3 but if you wanted to use them you had to put up with all sorts of visual disasters telling you all the code under them was broken which made it almost impossible to recommend them to be part of the code base
@jensborrisholt5555
@jensborrisholt5555 11 ай бұрын
Emb have their focus on the wrong thing. The main product: The language og the Ide doesn't interest them. If it did, they would put some focus on it
@1stUniqueName
@1stUniqueName Жыл бұрын
I think this is a tiny tiny feature. Emba ran out of things to show, and it started to show off mundane features.
@codegearguru
@codegearguru Жыл бұрын
There is actually quite a lot in Delphi 12, just upload a video on WebP support that comes with Skia.
@1stUniqueName
@1stUniqueName Жыл бұрын
@@codegearguru - You know that WebP was released almost 14 years ago, right? :)
@ladislavtoral4286
@ladislavtoral4286 2 ай бұрын
It should have been there a long time ago. It's 2024 and the €5000 software has outdated syntax from the COBOL days.
@codegearguru
@codegearguru Ай бұрын
Making changes to the language is very problematic, especially if you use third party tools that also need to parse the code, such as Model Maker Code Explorer (MMX) or Pascal Analyzer as these tools also need updating.
@andrewbrown8463
@andrewbrown8463 11 ай бұрын
Embarrassingly I just learnt about the multi-paste feature from this video 😢
Build Notepad.exe in Delphi - Delphi 231
34:29
Alister Christie
Рет қаралды 2,8 М.
Long String Literals - New in Delphi 12 - 225
4:54
Alister Christie
Рет қаралды 2 М.
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,8 МЛН
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 66 МЛН
Discover Multiline String Support in Delphi 12
15:53
tmssoftwareTV
Рет қаралды 898
What is OpenTelemetry?
12:55
Highlight
Рет қаралды 16 М.
Pascal (Not Just Nickel & Dime) - Computerphile
11:59
Computerphile
Рет қаралды 59 М.
A Simple FireDAC SQLite Application - Delphi 234
10:11
Alister Christie
Рет қаралды 2,2 М.
Build a DataSnap Client and Server - Delphi 233
11:34
Alister Christie
Рет қаралды 1,8 М.
User Defined SQLite Functions - Delphi 241
5:21
Alister Christie
Рет қаралды 715
I Made an Electronic Chessboard Without Turns
14:32
From Scratch
Рет қаралды 1 МЛН
Delphi Programming Series: 29 - For Loop
6:30
Shaun Roselt
Рет қаралды 10 М.
ASMR Programming - Spinning Cube - No Talking
20:45
Servet Gulnaroglu
Рет қаралды 4,2 МЛН
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,8 МЛН