Re:Energy Efficiency Across Programming Languages
by Kamgunz on Thursday September 14, 2017 @07:33PM
(#15253377)
Maybe somebody needs to create a more palatable language, that'll transpile (I know, I know, compile) into pascal?
Re:Energy Efficiency Across Programming Languages
by mamcx on Thursday September 14, 2017 @08:22PM
(#15253593)
This guys made a pascal-like language:
http://www.elementscompiler.com/elements/oxygene/
Exist various dialects of pascal (Modula, Oberon, etc) so is not something so far in the wind.
But if you lose too much of the syntax you remove part of the charm.
Re:Energy Efficiency Across Programming Languages
by fasquoika on Thursday September 14, 2017 @09:34PM
(#15253896)
Palatable how? Pascal's syntax is not especially different from that of most scripting languages
Re:Energy Efficiency Across Programming Languages
by andrewflnr on Thursday September 14, 2017 @10:24PM
(#15254104)
Every time I look at the syntax, it feels really verbose. IIRC some dialects require all caps or initial caps on keywords; at any rate that's how most examples are shown, and it's rather off-putting. Superficial, I know, but I'm probably not the only one.
Re:Energy Efficiency Across Programming Languages
by fasquoika on Friday September 15, 2017 @11:19AM
(#15257843)
I don't know about other implementations but FreePascal is completely case insensitive. Identifiers are actually treated the same if the only difference is case. I don't particularly like this, but I've never seen it actually be an issue
I agree. Programmers won't look at it because they perceive it to be old and out-of-date. But the language hasn't stood still. It's a fast, low-memory language. FreePascal with the Lazarus IDE is one of the best cross-platform development toolkits for building native desktop apps.
Sadly a lot of programmers can never see beyond the verbose (but readable) syntax.