Re: Compiling Python to Delphi could be interesting. Or visualizing it like Python and expanding it into Delphi code.

[email protected]
Newsgroups alt.comp.lang.borland-delphi
Message-ID <[email protected]>
I just did a test with "real world code", code which I am proud of =D

I simply replace begin and end lines with space and then removed those space lines, shame editors can delete these lines ! ;)

Also a few else if lines done but not too many:

Anyway result is as follows:
Original delphi code: 769 lines
Python-like delphi code: 637 lines

769-637=a whoping 132 lines of pure begin/end horseshit/white space ! LOL.
That's most two pages of scrolling horseshit that I have to go through ! LOL.
Let's see how many that is:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
129
130
131
132

Now you can clearly see why Pascal and Delphis falling out of grace somewhat compared to Python.

Life is too short to scroll and type through that horse shit, but ok... it's nice and robust horseshit, but automate it... nice for noobs, not nice for more experienced programmers.

Anyway let's also do a calculation:
132/637 * 100 = 20.72% HORSESHIT !

HOLYSHIT BATMAN ! =D

So 1 out of 5 lines in Delphi is apperently HORSESHIT HOLYSHIT !

So Delphi can be 20% more efficient with a python like syntax ! That is a lot of time saved !

Bye,
  Skybuck ! =D
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.