The code state of an exiting Delphi based product.
The code state of an exiting Delphi based product.
With copy-paste lowercase code blocks https://www.dropbox.com/s/hwpzpfkfzahrk4d/Screenshot%202016-12-08%2009.00.50.png?raw=1 and of course everybody knows what form21 is for in https://www.dropbox.com/s/rkeebbyygg9dvhj/Screenshot%202016-12-08%2009.02.53.png?raw=1
Granted there is TTabedForm which then uses TabControl1 and TabControl2 for clarity: https://www.dropbox.com/s/zubus0egfhksnt7/Screenshot%202016-12-08%2009.04.15.png?raw=1
Originally shared by Delphi
Bluetooth LE enabled ultraviolet light sensor embedded in swimwear, connected to app on mobile device. Powered by Delphi and InterBase IBLite.
.
http://embt.co/2gEjLu2
http://embt.co/2gEjLu2
With copy-paste lowercase code blocks https://www.dropbox.com/s/hwpzpfkfzahrk4d/Screenshot%202016-12-08%2009.00.50.png?raw=1 and of course everybody knows what form21 is for in https://www.dropbox.com/s/rkeebbyygg9dvhj/Screenshot%202016-12-08%2009.02.53.png?raw=1
Granted there is TTabedForm which then uses TabControl1 and TabControl2 for clarity: https://www.dropbox.com/s/zubus0egfhksnt7/Screenshot%202016-12-08%2009.04.15.png?raw=1
Originally shared by Delphi
Bluetooth LE enabled ultraviolet light sensor embedded in swimwear, connected to app on mobile device. Powered by Delphi and InterBase IBLite.
.
http://embt.co/2gEjLu2
http://embt.co/2gEjLu2
Those screenshots should be used for a game of "Count the codesmells"...
ReplyDeleteLoved the commented out try sql code with the empty except block :)
ReplyDeleteAlso,
if not condition
then begin
form.component1.visible := true;
form.component2.visible := false;
end
else begin
form.component2.visible := true;
form.component1.visible := false;
end;
instead of
form.component1.visible := not condition;
form.component2.visible := condition;
It might be that the order is important, though - but, well....
... checked = false!
ReplyDeletePerhaps the developers were just distracted.
ReplyDeleteLars Fosdal I doubt that the order of changing visibility impacts anything, but OK (;
ReplyDelete#paybyloc
They're protecting intellectual property by deceiving you with fake code. Just a prop.
ReplyDeleteAnd I thought I was the only nerd who looked at the source code in that video^^
ReplyDeleteAttila Kovacs apparently Necchi is out (:
ReplyDeleteKyle Miller maaaaaaaybe so, maaaaaybe marketing didn't sync with devs? (;
ReplyDeleteLars Fosdal using an if statement like this can improve readability. I would have made that a property or method of the form though.
ReplyDeleteCome on guys. Terminator (you know, Arnold Schwarzenegger movie...) was running on Apple II crappy software and I didn't see you guys pointing the finger...
ReplyDeleteLars Fosdal
ReplyDeleteif ladies then
Beautiful := true
Else if Delphi then
Begin
Older := true;
Disadvantage := true;
Expensive := true;
Manybugs := true;
Beauties := faint;
End;