What are Modula2 And Oberon? lazarus / 8-Other ---------------------------------------------------------------------- Joanna · 2023-07-23 21:26 I saw something recently in chat wherein someone was raving about modula2 being better than pascal. Both Oberon and modula2 were created by mr. wirth After pascal but never seemed to have gained the popularity of pascal. Can anyone tell me why and/or how similar they are to pascal? ---------------------------------------------------------------------- Handoko · 2023-07-24 03:02 Niklaus Wirth is a computer scientist, the chief designer of many programming languages including Pascal, Modula and Oberon. If you use Pascal a lot, you will know Pascal's structure has many inconsistency. Modula and Oberon are successors of Pascal, in theory they have more features and fix the problem of Pascal. But why very few or no one uses Modula or Oberon? Simple, the answer is programmers do not choose the language just because the language itself is better than others. There are many things in the consideration. For me, these are important: 1. Not the problem of the language itself, but does it have a good IDE? I personally like FreeBASIC. But I do not use it because the IDEs available for FreeBASIC do not have many features I need. 2. Also not the problem of the language itself. Can it do wide range of things? Graphics, sound, GUI, database, network, printer, etc. Not just the ability to do that but it should be easy. I can write a pong game in 133 lines of code using Lazarus, can I do the similar thing easily in Modula or Oberon? 3. Libraries available. Recently I am working on a real project. It needs to store data and can be accessed by several users from network. I use Firebird. Can Modula or Oberon use Firebird? And what about OpenGL? 4. Documentation and tutorial. Lazarus/Pascal already has good documentation and tutorials, but often people can't find it. I tried to google "how to load jpeg in Lazarus", I got the answer. Doing the same but Oberon, I found nothing. 5. Community and forum. If I have problem when using Modula or Oberon, where should I ask to? 6. I need to write program that can run on both Windows and Linux. Maybe in the future Android and MacOs. Can Modula and Oberon generate programs that can be run on Android? Also, will the tool I use be maintained in the future? Many said Pascal is dying, but it has been proved: Pascal is undying. If I study and use Oberon seriously and build commercial projects using it, what should I do if someday Mr. Wirth says he is working on a new fancy language and stops developing Oberon? It won't be a serious problem if I use Lazarus/Pascal (as the name 'Lazarus' suggests, it has been resurrected). If someday the core developers of Lazarus say they're going to be retired, won't work on Pascal anymore. Not a big problem. Someone sure will continue developing or fork it. Because many users are using and depends on it. Programming language and the tools are 2 different things. The programming language is important but what the tools can offer is more important. I don't mind learning or using a new language if the tools are definitely better than what I'm currently using. ---------------------------------------------------------------------- marcov · 2023-07-24 06:56 There is also Modula-3. Modula-2 was progress on original, seventies Pascal. Some of the progress (like a unit/module system) have been backported to later Pascals. The most important change is in the base block layout.  BEGIN's that are not the start of a function are omitted, and blocks are mandatorily ended with END. (no single/multi line block difference). There are also problems. It is case sensitive, some features (END 'functionname') are annoying without a refactoring IDE and the string handling is old fashioned (by 1990 standards) and cumbersome. Maybe newer compilers fix some of those. The target of Modula2 was primarily systems programming. M3 and Oberon are more object oriented versions, lauded in design and minimalism (Oberon is a direct precursor to Java), but from what I've seen of it unusable otherwise :-) ---------------------------------------------------------------------- MarkMLl · 2023-07-24 06:59 Quote from: Handoko on July 24, 2023, 05:02:23 amSimple, the answer is programmers do not choose the language just because the language itself is better than others. There are many things in the consideration. For me, these are important: I'm surprised that Joanna didn't start off by reading the Wikipedia articles, and concerned that this is going to turn into another of those "threads from Hell". But I'm not really here any more, so can just mark everything read if that happens. I've written quite a lot in the past about the problems in Pascal's design: Wirth rushed it after ill-advisedly resigning from the ALGOL-68 committee, but was possibly maneuvered into that position by McCarthy. He based it on his ALGOL-W compiler which used recursive ascent, and as such while he was able to modify the syntax to a sufficient extent to break compatibility with ALGOL there were some things he couldn't manage in the timescale he thought available, e.g. if-then-else expressions. His later implementations used recursive descent, which is much more maintainable. Apart from that I agree fully with Handoko but would throw in a little more history. First, it's important to distinguish between Modula, which leaves few surviving traces, and Modula-2. Turbo Pascal was rapidly and unexpectedly popular, but modifications to Pascal by UCSD and Borland messed up the language in various ways. Perhaps in recognition of this, Borland found themselves with an 8-bit Modula-2 that they preferred not to distribute. My understanding is that they licensed it to Echelon- Steve Ciarcia's company- in the 1980s, but he found it unsellable because they wouldn't license the manuals. Niels Jensen, possibly with others, bought themselves out of Borland and founded JPI, which sold TopSpeed Modula-2 for DOS. Their George Barwood then did a binary patch on that to prevent segment registers being used for temporary storage, and used that to bootstrap v2 which supported OS/2 (in competition with Logitech's compiler etc.). In fairly short order they expanded that to v3 which also supported Pascal, C, C++ and the Clarion language- although the last of those wasn't really public- which targeted DOS, OS/2 and Windows. They attempted to expand to the USA, something went badly wrong (I believe I know what, but can't discuss it since if I'm wrong it will be libellous) and were bought by Clarion whereupon the JPI range vanished. The perceptive reader will obviously see the parallel to the way that Embarcadero bought Codegear (nee Borland) for the sake of a development tool they used heavily in-house. Modula-2 was used fairly heavily for embedded work since Ada was considered unworkable on account of its requirement for a "big" development system, there were various derivatives. I introduced it to Jim Cooling who wrote a couple of books and had a string of Saudi students using it. Wirth had by then moved on to Oberon (the language) and Oberon (the operating system). But Hell, that's what academics do: once there's no more scope for paper publication they've got to find something new. MarkMLl ---------------------------------------------------------------------- MarkMLl · 2023-07-24 07:07 Quote from: marcov on July 24, 2023, 08:56:21 amThe most important change is in the base block layout.  BEGIN's that are not the start of a function are omitted, and blocks are mandatorily ended with END. (no single/multi line block difference). The "dangling else" issue. Quite frankly I think that Wirth's ignoring this was inexcusable, since it had been identified as a problem and fixed in the ALGOL-68 definition: of which he was fully aware. It could possibly be blamed on the fact that he was still stuck modifying a recursive-ascent compiler: the changes (and testing) were possibly beyond what he thought he could do during the timescale available. MarkMLl ---------------------------------------------------------------------- PierceNg · 2023-07-24 07:44 Quote from: Handoko on July 24, 2023, 05:02:23 amAlso, will the tool I use be maintained in the future? Many said Pascal is dying, but it has been proved: Pascal is undying. If I study and use Oberon seriously and build commercial projects using it, what should I do if someday Mr. Wirth says he is working on a new fancy language and stops developing Oberon? There are quite a few recent-ish Oberon implementations. Here's a non- exhaustive list of language implementations. Most of them are on Github, for the rest ask your favourite search engine. - Component Pascal a.k.a Blackbox Component Builder - Rochus Keller Oberon-07, implemented in C++ with Qt IDE, transpiles to C++, also generates LuaJIT bytecodes - Rochus Keller Oberon+, implements union of Oberon-2 and Oberon-07 language features - AntKrotov Oberon-7, a self-hosting compiler - Oberon A2 - kekcleader Free Oberon, a cross-platform CUI IDE a la Turbo Pascal - lboasso oberonc, self-hosting compiler targeting JVM - obnc, transpiles to C - ofront, transpiles to C - Vishap Oberon There are also several Oberon operating system implementations.  People seem to like implementing Oberon. Not sure whether they implement stuff in Oberon though. ---------------------------------------------------------------------- Handoko · 2023-07-24 07:59 Interesting. When Oberon tools have matured and have larger userbase, I may give it a try. ---------------------------------------------------------------------- MarkMLl · 2023-07-24 08:13 I'm not convinced that Oberon is really workable, but I have- so far at least- put very limited time into it. I think more significant are the criticisms that the Pastel developers made of Pascal (see https://en.wikipedia.org/wiki/Pastel_(programming_language) ) and what Ken Thompson said about it ( https://www.lysator.liu.se/c/bwk-on- pascal.html ). I'm left with the conviction that deep inside "Pascal as we know it" is a really nice core language, struggling to get out. MarkMLl ---------------------------------------------------------------------- marcov · 2023-07-24 08:59 I of course also agree with Handoko (can you actually do something with it), and like Mark, I never saw much Oberon practical use either. Always studying and glossing over design details (like minimalistic grammar and unforgiving extreme everything-is-an object) I never really bothered because IIRC they were both garbage collected (and if I go that way, I'd probably pick a Java or C#) The biggest Modula3 application that I knew was FreeBSD's CVSUP. ---------------------------------------------------------------------- Thaddy · 2023-07-24 09:23 The second link is an article by Brian Kernighan, not Ken Thomson, and from 1981. Let's rebuke it:QuoteTo close, let me summarize the main points in the case against Pascal. Since the size of an array is part of its type, it is not possible to write general-purpose routines, that is, to deal with arrays of different sizes.  In particular, string handling is very difficult.Long since possible, dynamic arrays. And AnsiString/UnicodeString QuoteThe lack of static variables, initialization and a way to communicate non-hierarchically combine to destroy the ``locality'' of a program - variables require much more scope than they ought to.Also long since added to modern dialects: Assignable typed consts.Also scoped local  initilization on declaration. QuoteThe one-pass nature of the language forces procedures and functions to be presented in an unnatural order; the enforced separation of various declarations scatters program components that logically belong together.Modern Pascal is not strictly one pass anymore. And separation of declaration and use can be seen as a blessing instead.[QuoteThe lack of separate compilation impedes the development of large programs and makes the use of libraries impossible. Long since solved...And in a more elegant way than in C. QuoteThe order of logical expression evaluation cannot be controlled, which leads to convoluted code and extraneous variables.It should not be controlled in the first placeQuoteThe 'case' statement is emasculated because there is no default clause. yes there is: it is called else.QuoteThe standard I/O is defective.  There is no sensible provision for dealing with files or program arguments as part of the standard language, and no extension mechanism.Since long not true anymore. QuoteThe language lacks most of the tools needed for assembling large programs, most notably file inclusion. Lacked. Not true anymore for modern Pascal dialects QuoteThere is no escape.Of course there is, nowadays. It is rather worrying that people tend to cite that article every so often, where every argument except maybe one, which I consider good instead of bad. None of the arguments hold for modern Pascal dialects. ---------------------------------------------------------------------- Joanna · 2023-07-24 13:07 I didn't even know oberon existed if it were not for someone i know who wrote a bot with it. He once told me something like ... oberon eliminates bloated pascal features that aren't needed. I'm not sure what that means exactly.. Maybe people just were content with pascal and even if oberon or modula2 were better , they didn't think that switching to them was worth the effort. Any language that doesn't have good gui support definitely isn't interesting for me. its a vicious cycle of nobody wants to use because it wasn't popular enough for people to create enough useful libraries. ---------------------------------------------------------------------- Leledumbo · 2023-07-24 14:07 Oberon as a language is very usable, especially the -07 and Active variant. Libraries, however, still stands as the biggest barrier, added with the lack of demonstration of real world programs, keeping the language in the dark despite from living POV, it's pretty much alive. BlackBox Component Builder has a great protential for marketing, but I don't like their modeless dialog design decision. In short, Oberon needs more than what Free Pascal needs to break the market. We are helped by the popularity of Turbo Pascal which is continued by Delphi, Oberon simply doesn't have such a luxury. ---------------------------------------------------------------------- Kays · 2023-07-24 16:16 Quote from: Handoko on July 24, 2023, 05:02:23 am[…] If you use Pascal a lot, you will know Pascal's structure has many inconsistency. […]Which inconsistencies? Pascal is consistent, yet some implementations weren’t that consistent. Quote from: Handoko on July 24, 2023, 05:02:23 am[…] Simple, the answer is programmers do not choose the language just because the language itself is better than others. There are many things in the consideration. For me, these are important: […]A language has to gain traction in the first place so all these things get developed by people with the proper expertise. This usually meant a commercial company adopting it (e. g. like Borland did). Quote from: Handoko on July 24, 2023, 05:02:23 am[…] If I have problem when using Modula or Oberon, where should I ask to? […]If you are a fluent user of that internetwork thing, you will know about comp.lang.oberon (and comp.lang.modula2), sites such as Stackexchange, or simply write an email to the people providing the implementation you’re using. PS: I do not endorse the use of any services offered by Stack Exchange Inc. ---------------------------------------------------------------------- Handoko · 2023-07-24 17:08 Quote from: Kays on July 24, 2023, 06:16:28 pmWhich inconsistencies? Pascal is consistent, yet some implementations weren’t that consistent. I care less about the inconsistencies, as I already said, to me the tools are more important than the language itself. But I can see from what you said, it was inconsistent. Quote from: Kays on July 24, 2023, 06:16:28 pmA language has to gain traction in the first place so all these things get developed by people with the proper expertise. This usually meant a commercial company adopting it (e. g. like Borland did). I agree with you. That's why I said when they (the tools) are matured and have larger userbase, I may give it a try. Quote from: Kays on July 24, 2023, 06:16:28 pmIf you are a fluent user of that internetwork thing, you will know about comp.lang.oberon (and comp.lang.modula2), sites such as Stackexchange, or simply write an email to the people providing the implementation you’re using. Well, thank you. Apparently I am not a fluent internetwork user. See the attached screenshots. Now I wonder if Modula or Oberon is really that good, why no one care to build a forum for them. Some less popular BASIC implementations even have their own forum, like SpiderBasic, PureBasic, etc. ---------------------------------------------------------------------- marcov · 2023-07-24 19:23 comp.lang.modula2 was reasonably busy in the late nineties and early 2000s. ---------------------------------------------------------------------- 440bx · 2023-07-24 20:38 Quote from: MarkMLl on July 24, 2023, 10:13:52 amhttps://www.lysator.liu.se/c/bwk-on-pascal.html Sadly the criticisms levied against the original Pascal in that paper are all valid. The most important one is that, since the original language definition is so "constrained", various implementations extend the language in different ways causing the programs to be non-portable.  From a _features_ standpoint, C is a very well thought out language.  Unfortunately, from a design standpoint (particularly its grammar), it is one of the worst programming atrocities in the history of computing.  I guess you can't have it all. ---------------------------------------------------------------------- MarkMLl · 2023-07-24 20:56 Quote from: 440bx on July 24, 2023, 10:38:28 pmThe most important one is that, since the original language definition is so "constrained", various implementations extend the language in different ways causing the programs to be non-portable.  Agreed. And I'd suggest that the fact that FPC has multiple modes with more-or-less incompatible behaviour cannot be disregarded in this context. I obviously note Thaddy's point about my attribution error, but it doesn't make those criticisms any less valid- at the time, and insofar as the various "fixes" caused implementations to diverge. I wish I could find out more about Pastel, since there were strong links between the designers and Stanford (or at least SLAC). Unfortunately I think the details have disappeared into the cracks of industry history, although I suppose that somebody in the USA could do an FOI on that particular bit of DoD-sponsored work. MarkMLl ---------------------------------------------------------------------- 440bx · 2023-07-24 21:34 Quote from: MarkMLl on July 24, 2023, 10:56:14 pmI wish I could find out more about Pastel As a result of this thread, I looked again for the Pastel language definition and, again unsuccessfully.  I would really like to see how they included all their improvements into the language grammar. Maybe someday... ---------------------------------------------------------------------- Leledumbo · 2023-07-25 04:03 Quote from: 440bx on July 24, 2023, 10:38:28 pmFrom a _features_ standpoint, C is a very well thought out language. Not really, it's just they opted to standardize (yet implementations do still have extensions, remember Linus was mad when someone proposed a Linux patch containing GCC specific extension?). If it is a very well thought out one, K&R C will be the standard instead of ANSI/ISO C. ---------------------------------------------------------------------- 440bx · 2023-07-25 04:47 Quote from: Leledumbo on July 25, 2023, 06:03:47 amIf it is a very well thought out one, K&R C will be the standard instead of ANSI/ISO C. I agree that the original implementation of the features certainly left a lot to desire and I also concede that there were important features missing (many which ANSI C corrected/included.) All that said, considering the time frame when C was created, feature- wise, I consider it well thought out.  I say that because, among other things, the original did not suffer from all the problems/shortcomings stated in the paper "why is Pascal not my favorite language" but, it wasn't and isn't (still) perfect (particularly when the implementation is taken into account.) C++ is in a way a list of all the shortcomings in "modern" C and, by that, I don't mean the absence of OOP in C but the absence of other basic features such as, at least, some semblance of type checking (among many.) ---------------------------------------------------------------------- marcov · 2023-07-25 07:17 Quote from: MarkMLl on July 24, 2023, 10:56:14 pmI wish I could find out more about Pastel, since there were strong links between the designers and Stanford (or at least SLAC). Unfortunately I think the details have disappeared into the cracks of industry history, although I suppose that somebody in the USA could do an FOI on that particular bit of DoD-sponsored work. It was from Livermore labs: https://gcc.gnu.org/wiki/History ---------------------------------------------------------------------- MarkMLl · 2023-07-25 10:43 Quote from: marcov on July 25, 2023, 09:17:00 amIt was from Livermore labs: https://gcc.gnu.org/wiki/History Yes, but that says nothing about the language itself which was designed in support of the S1 supercomputer with a lot of the early supporting computing (board design etc.) done "out of hours" at SLAC where they (I believe) had a B5500 or possibly one of its successors. That obviously tells us that the designers had at least some exposure to a system with virtual memory capabilities, which is perhaps why building an entire AST in memory was considered acceptable... there's a possibility that they hadn't really thought it through to the point where portability might be an issue. MarkMLl ---------------------------------------------------------------------- Thaddy · 2023-07-25 11:13 Quote from: 440bx on July 25, 2023, 06:47:24 am[All that said, considering the time frame when C was created, feature-wise, I consider it well thought out. That is just silly.  "well thought out", even K&R believed they made a mistake to let it loose in the wild when it needed maturing. Hence we are left with the C++ problem too. Both of them were not a match to Wirth. ---------------------------------------------------------------------- 440bx · 2023-07-25 11:24 Quote from: Thaddy on July 25, 2023, 01:13:24 pmThat is just silly.  No, it is not and it is easy to prove it isn't. C, in its original form was used to write Unix which, by any measure, is a capable O/S.  That proves C had a fairly good and complete feature set. The original Pascal (J&W) without a fair number of extensions could not be used to do the same.  Too many features missing and too many problems in some areas (the existence of Pastel is one of the demonstrations that the original Pascal was completely inadequate.)  OTH, Pascal embodied solid programming concepts and was ideal to teach programming to newcomers. Even today, in spite of the many extensions present in FPC, FPC is _still_ less than ideal and less capable than C as a systems programming language (which is extremely unfortunate.) ---------------------------------------------------------------------- marcov · 2023-07-25 12:09 Quote from: 440bx on July 25, 2023, 01:24:12 pmC, in its original form was used to write Unix which, by any measure, is a capable O/S.  That proves C had a fairly good and complete feature set. No, it was just barely adequate. Unix is a good example of the "if your only tool is a hammer" principle. QuoteThe original Pascal (J&W) without a fair number of extensions could not be used to do the same.  IMHO that is unfair since Pascal successors and standardization was much later, in an era that also only the first of the C standards happened. Quote Even today, in spite of the many extensions present in FPC, FPC is _still_ less than ideal and less capable than C as a systems programming language (which is extremely unfortunate.) As a language or as a compiler? You seem to mix those two. ---------------------------------------------------------------------- MarkMLl · 2023-07-25 12:25 Quote from: 440bx on July 25, 2023, 01:24:12 pmThe original Pascal (J&W) without a fair number of extensions could not be used to do the same.  Too many features missing and too many problems in some areas (the existence of Pastel is one of the demonstrations that the original Pascal was completely inadequate.)  OTH, Pascal embodied solid programming concepts and was ideal to teach programming to newcomers. I'm tempted to say that while Pascal was designed by a computer scientist, C was designed by engineers- and it shows (in both good and bad ways). There were of course a number of other early Pascal dialects which were used for systems programming work, i.e. including writing OSes. I'd also suggest that it's notable that writing an OS requires a bit of assembler to handle stack swaps etc.: this requirement applies equally to C and Pascal but at least in the case of C some consideration had been given to the issue of /how/ to link in assembler units. Modula-2, of course, has coroutines which- from experience- go a very long way towards moving context switches into the language: neither C nor Pascal can do that unaided. Going back to Pastel, it would of course be equally interesting to find documentation for other Pascal dialects capable of systems programming, e.g. from Cray. However Pastel appears unusual in that it implemented polymorphic types which (if I understand things correctly) are equivalent to generics, and it was for that reason that a complete AST had to be built before it was "unparsed" into an object file and ultimately an executable. MarkMLl ---------------------------------------------------------------------- 440bx · 2023-07-25 14:00 Quote from: marcov on July 25, 2023, 02:09:25 pmNo, it was just barely adequate. Unix is a good example of the "if your only tool is a hammer" principle. I won't argue "barely adequate" since that is rather imprecise but, in any case, the original Pascal was completely unable to reach that "barely adequate" level. Quote from: marcov on July 25, 2023, 02:09:25 pmIMHO that is unfair since Pascal successors and standardization was much later, in an era that also only the first of the C standards happened.I don't think it's unfair, Unix was written using C much before C was standardized.  IOW, Unix was written using an "early" version of C.  An early version of Pascal could not have been used to accomplish the same result. Quote from: marcov on July 25, 2023, 02:09:25 pmAs a language or as a compiler? You seem to mix those two. Both.  As a compiler, FPC still lacks a number of optimizations present in many implementations of the C language.  As a language there are still features missing, errors in its implementation (e.g, incorrect sign extension) and "deficiencies" in some areas (e.g, definition and handling of bitfields.) Quote from: MarkMLl on July 25, 2023, 02:25:38 pmModula-2, of course, has coroutines which- from experience- go a very long way towards moving context switches into the language: neither C nor Pascal can do that unaided. That's one of those features I believe doesn't belong in a language because it involves scheduling.  IMO, a task scheduler belongs in the O/S not in a programming language.  Quote from: MarkMLl on July 25, 2023, 02:25:38 pmGoing back to Pastel, ... The one feature I heard Pastel had was that it kept all the parsing information in memory which was then subsequently used to produce highly optimized code.  Of course, that was doable in a supercomputer with a lot of memory but definitely out of the question in a "normal" computer, which at the time had about 8K of memory.    I've played with that architecture and, it really is a game changer in more ways than one.  That's why I've been so interested in checking out Pastel... I'd love to see exactly what they did (therefore, what I might have missed.) Today, a PC can have as much as 128 gigabytes of memory, therefore it is perfectly fine for the compiler to keep every little bit of information about a program in memory from beginning to end.  It's very unlikely the compiler would ever use more than 8GB of memory even for very large programs. ---------------------------------------------------------------------- VisualLab · 2023-07-25 14:47 Quote from: 440bx on July 25, 2023, 04:00:51 pmQuote from: marcov on July 25, 2023, 02:09:25 pmNo, it was just barely adequate. Unix is a good example of the "if your only tool is a hammer" principle. I won't argue "barely adequate" since that is rather imprecise but, in any case, the original Pascal was completely unable to reach that "barely adequate" level. Quote from: marcov on July 25, 2023, 02:09:25 pmIMHO that is unfair since Pascal successors and standardization was much later, in an era that also only the first of the C standards happened.I don't think it's unfair, Unix was written using C much before C was standardized.  IOW, Unix was written using an "early" version of C.  An early version of Pascal could not have been used to accomplish the same result. Quote from: marcov on July 25, 2023, 02:09:25 pmAs a language or as a compiler? You seem to mix those two. Both.  As a compiler, FPC still lacks a number of optimizations present in many implementations of the C language.  As a language there are still features missing, errors in its implementation (e.g, incorrect sign extension) and "deficiencies" in some areas (e.g, definition and handling of bitfields.) I think the key factor was that Wirth was working on the language (and compiler) at the university (ETH). And Ritchie (and then Kernighan too) worked for a large corporation. This is a huge disproportion in access to resources (e.g. equipment). From this flowed the possibilities of refining the C language, despite its conspicuous provisionality ("For now, it is enough as it is. And then we will see. If it is really needed, it will be improved".). Hence, despite the crudeness (makeshift, weirdness) of the C language, its compilers generate good code. Because a huge number of people put their effort into improving Ritchie's primitive design. And corporations and universities in the US spent a lot of time and money developing C compilers and libraries because they absolutely wanted to run and use Unix (that "great" OS). AT&T's ownership of big money and business connections, and the powerful promotion of C and Unix influenced the history of IT. Wirth had no such opportunity. And that's it. The fact that it is money and corporate connections that determine the promotion of the project is clearly visible in Java (Sun pumped in a gigantic amount of money) and in C# (Microsoft pumped in even more money than Sun and still does). And were the first versions of Java or C# anything unusual? from where! They were lousy. Many years passed before they were refined. ---------------------------------------------------------------------- 440bx · 2023-07-25 15:14 One can come up with reasons for C and Pascal being the way they are but, regardless of the reasons, the fact remains that from the start C was a significantly more capable language. One reason may be that C was created with the specific purpose of replacing assembler in the writing of an O/S (which turned out to be Unix).   In contrast, the design goal of Pascal seems to simply be, expose new programmers to solid programming techniques. No wonder there was a huge difference in capabilities.  It is undeniable that Pascal has narrowed the gap considerably but, to this day, C remains more capable.  Add to that, the existence of a reasonably modern standard and, the "close to adequate" portability C offers a programmer and, that explains why, in spite of being a design atrocity, it is more successful than Pascal. ---------------------------------------------------------------------- MarkMLl · 2023-07-25 16:19 Quote from: 440bx on July 25, 2023, 04:00:51 pmQuote from: MarkMLl on July 25, 2023, 02:25:38 pmModula-2, of course, has coroutines which- from experience- go a very long way towards moving context switches into the language: neither C nor Pascal can do that unaided. That's one of those features I believe doesn't belong in a language because it involves scheduling.  IMO, a task scheduler belongs in the O/S not in a programming language.  Sorry, I disagree. Coroutines- or equivalent- in a language to handle a context switch are a necessary prerequisite to being able to write a scheduler but are in no way a scheduler in themselves. If you don't have coroutines then you /have/ to use assembler- or some grievously grotesque pointer manipulation to fiddle with the stackframes. Similar concerns apply to writing interrupt handlers: you either need assembler, non-portable stack twiddling, or something built into the language. QuoteThe one feature I heard Pastel had was that it kept all the parsing information in memory which was then subsequently used to produce highly optimized code. I've always understood that to be a direct consequence of having parameterised types i.e. (if I understand things correctly) the early-70s implementation of what we now know as generics: you have to have the entire AST accessible before you can decide how to resolve functions. I've never really considered whether that could be done in some way using forward declarations, I suspect it would get messy (at best). Apropos optimisation, a great deal could be done in the early 70s using e.g. Tree Meta. MarkMLl ---------------------------------------------------------------------- MarkMLl · 2023-07-25 16:32 Quote from: VisualLab on July 25, 2023, 04:47:37 pmI think the key factor was that Wirth was working on the language (and compiler) at the university (ETH). The key factor was that Wirth bailed out of the ALGOL-68 committee in about May, and needed to have something workable by the time the next batch of postgrads started arriving at ETHZ in the Autumn. If you've not worked in a university you won't appreciate the extent to which postgrads and final-year undergrads get used as willing and highly- motivated slave labour in support of researchers' pet projects :-) He anticipated that ALGOL-68 publication was imminent, and was so unhappy- probably with justification- about the way he'd been treated that he was determined to preempt it with an alternative. He did this by modifying his ALGOL-W compiler, which was one Hell of a job since it used recursive ascent (cf Irons et al.). He redid the whole thing using recursive descent (Grau/Waychoff) almost immediately, but history demonstrates that due to the troubled standardisation of ALGOL-68 he'd have had plenty of time to write Pascal from scratch using recursive descent: which would likely have given us a much better base language than the one he rushed out. MarkMLl ---------------------------------------------------------------------- VisualLab · 2023-07-25 22:13 Quote from: 440bx on July 25, 2023, 05:14:41 pmIt is undeniable that Pascal has narrowed the gap considerably but, to this day, C remains more capable.  Add to that, the existence of a reasonably modern standard and, the "close to adequate" portability C offers a programmer and, that explains why, in spite of being a design atrocity, it is more successful than Pascal. I completely agree with that. Only that the current (or rather, somewhere around 1990-1995) advantage of C compilers is due to the number of people involved in their development over the years (and the money invested by corporations to pay those people). In the case of Pascal these people were much less (10 times? 100 times?). ---------------------------------------------------------------------- 440bx · 2023-07-25 22:58 @VisualLab There is no doubt that somewhere along the line the C language got a lot more interest and consequently money invested in it than Pascal. I think part of the reason is that _feature wise_ C was a much better starting point than whatever Pascal offered at the time (J&W Pascal ?) What I think is truly the most regrettable consequence of the C language's existence is that it seems to have become an insurmountable barrier to making progress in the area of programming language syntax.    It really seems that if a language is not based on the dismal C syntax then its chances of success are very low (and that is just one of the problems its existence has created... oh well.) ---------------------------------------------------------------------- VTwin · 2023-07-26 00:52 Modula-2 and Oberon are interesting, but not practical, for me. At some point I bought a Modula-2 compiler, thinking it might be the next new wave. Similarly, I spent considerable time learning C++. Not to mention java, Python, and a few others. It is, however, about what is the easiest language to get something done. For me, compiling and distributing cross-platform desktop applications, Free Pascal / Lazarus is simple and works. ---------------------------------------------------------------------- marcov · 2023-07-26 08:58 Quote from: 440bx on July 25, 2023, 04:00:51 pmQuote from: marcov on July 25, 2023, 02:09:25 pmNo, it was just barely adequate. Unix is a good example of the "if your only tool is a hammer" principle. I won't argue "barely adequate" since that is rather imprecise but, in any case, the original Pascal was completely unable to reach that "barely adequate" level. Yeah, and C was a lousy teaching language. But Pascal improved as systems language, and C is still hopeless as teaching language. Kidding aside, C matched a target because it was implemented in lockstep and hammered till it worked. It was a feat to do a simple OS in a high level language, no question about that, and as such a revolution, and C was only the tool developed for that. Warts and all. But that is no reason to make it something ideal and put it on some pedestal.  It suited the purpose, and receives a pedestal for being the first, not necessarily also the best. QuoteQuote from: marcov on July 25, 2023, 02:09:25 pmIMHO that is unfair since Pascal successors and standardization was much later, in an era that also only the first of the C standards happened.I don't think it's unfair, Unix was written using C much before C was standardized.  IOW, Unix was written using an "early" version of C.  An early version of Pascal could not have been used to accomplish the same result. No. Unix and C were developped in lockstep to get to that version. That is a different version. An early version of Pascal could also have been developed in lockstep (and in the guise of Modula2 did with Lilith) for that purpose and it also would have been fine, if not better. QuoteQuote from: marcov on July 25, 2023, 02:09:25 pmAs a language or as a compiler? You seem to mix those two. Both.  As a compiler, FPC still lacks a number of optimizations present in many implementations of the C language.  No doubt about that. But that is a budget version, and not some intrinsic value. Specially since that is fragmented over many systems and compilers. QuoteAs a language there are still features missing, errors in its implementation (e.g, incorrect sign extension) and "deficiencies" in some areas (e.g, definition and handling of bitfields.) Just like C missed many useful Pascal features. Nobody made C the gold standard for what a language should do, that is all on you. QuoteQuote from: MarkMLl on July 25, 2023, 02:25:38 pmModula-2, of course, has coroutines which- from experience- go a very long way towards moving context switches into the language: neither C nor Pascal can do that unaided. That's one of those features I believe doesn't belong in a language because it involves scheduling.  IMO, a task scheduler belongs in the O/S not in a programming language.  Modula2 was geared towards OS building, just like C was. And while cooperative multitasking is a bit outdated now, it somewhat lives on in light weight thread concepts in many modern languages. ---------------------------------------------------------------------- marcov · 2023-07-26 09:12 Quote from: 440bx on July 26, 2023, 12:58:44 am@VisualLab There is no doubt that somewhere along the line the C language got a lot more interest and consequently money invested in it than Pascal. I think part of the reason is that _feature wise_ C was a much better starting point than whatever Pascal offered at the time (J&W Pascal ?) And that is where we disagree. C and Unix were designed mostly in lockstep. It was designed in before it was even adequate, and then just got lucky. And more importantly, C's problems also stem from exact this, being essentially frozen (some minor standard work aside that mostly reformulated definitions and some lib additions) very early on. That's why it is still mostly a portable assembler for embedded work and OS development. ---------------------------------------------------------------------- 440bx · 2023-07-26 12:01 Quote from: marcov on July 26, 2023, 10:58:45 amBut that is no reason to make it something ideal and put it on some pedestal.  It suited the purpose, and receives a pedestal for being the first, not necessarily also the best. I don't believe I put C on a pedestal but, I do give it credit in the areas it is good, specifically its feature set, certainly not its syntax or even its grammar. Quote from: marcov on July 26, 2023, 10:58:45 amNo. Unix and C were developped in lockstep to get to that version. That is a different version. An early version of Pascal could also have been developed in lockstep (and in the guise of Modula2 did with Lilith) for that purpose and it also would have been fine, if not better. I don't see a problem with a language being developed in lockstep with the development of the goal it is supposed to meet (in this case the writing of an O/S.) The bottom line is, that didn't happen with Pascal and the many deficiencies in the language remained for decades.  That's a problem (a big one.)  It's also extremely unfortunate because Pascal had and still has enormous potential which has _never_ been realized. Quote from: marcov on July 26, 2023, 10:58:45 amNobody made C the gold standard for what a language should do, that is all on you. In a way, C is the de-facto gold standard for system programming languages and that implicit standard is based on its functional features and not its semantic features which are still severely lacking.  For instance, C++ implements all the features found in C _and_ adds some sorely needed semantic features and clean up, e.g, pass by reference, no signed characters, real boolean type, strong type checking (which rivals Pascal's), etc. Quote from: marcov on July 26, 2023, 10:58:45 amThat's why it is still mostly a portable assembler for embedded work and OS development. Can't fault it for that, it's what it was designed to be. The problem with the original Pascal (J&W) is that it was rather deficient when it came to creating genuinely useful programs.  Unfortunately, those deficiencies were addressed much too late and only partially to boot. In a nutshell, Pascal embodied the concepts associated with good programming but lacked the features needed to create powerful programs.  C had the features but was and, in many ways still is, a totally dismal vehicle to create a halfway decent program (but it can be done with a lot of effort.) ---------------------------------------------------------------------- 440bx · 2023-07-26 15:05 Quote from: Joanna on July 26, 2023, 04:11:36 pmwhy on earth would anyone want hard to read code with {} in it for? I cannot claim to really know the reason for that but, I strongly suspect there is some "macho programming" at work there, i.e, if the code is hard to understand it _presumably_ reflects the high I.Q and capability of the author, which is obviously laughable but, may not be as far fetched as some would claim considering that many C programmers indulge in writing code that is a challenge to decipher and, they greatly enjoy (with a lot pride) their "pastime" (which seems to often carry into the development of unrelated programs.) Making easy to read and understand code is what programming wimps do... LOL Quote from: Joanna on July 26, 2023, 04:11:36 pmIf pascal is the better language, it shouldn’t be do difficult to add the libraries that would make it possible to do systems programming or whatever c language is so good for.. if it hasn’t been done already.. Some of it has been done and is found in FPC but, there are still important things missing and the fix is not in adding libraries. Anyway, this is now quite far from "What are Modula2 and Oberon?" and, Pascal's missing capabilities to make it a real contender to C and/or C++ are, I believe, unlikely to be addressed (otherwise they would have already been addressed long ago.) ---------------------------------------------------------------------- MarkMLl · 2023-07-26 16:40 Quote from: Joanna on July 26, 2023, 04:11:36 pminstead of lame { } Is it really so hard to resist the temptation to be rude about conventions that other people- many of whom probably have vastly more experience than you- find entirely acceptable? Calling your perceived opponents- not to mention the merely undecided- names is not a good debating tactic. What is more by doing so, you are doing the community of Pascal users a disservice. As far as /why/ is concerned: I'd remind you that when C (and its precursors) adopted { } as block delimiters, most people had a limit of 80 characters per line enforced by the physical devices they were using. What's more, electromechanical terminals running at 10cps were common if not dominant, and "I'm making a one character change to see if it fixes it- be with you in a minute" was not really /a/ /thing/. MarkMLl ---------------------------------------------------------------------- VisualLab · 2023-07-26 16:59 Quote from: marcov on July 26, 2023, 11:12:50 amC... ...was designed in before it was even adequate.... Yes, we agree here. Quote from: marcov on July 26, 2023, 11:12:50 am...and then just got lucky. Yes, chance often plays an important role. But in my opinion, the bigger role was played by: money, influence and AT&T connections in the IT industry. Many universities, companies and institutions wanted to use Unix. But not all machines supported the original machine code (differences in architecture between computers of the time). And because the computers of that time were not as complicated in construction as the present ones, it was "quite easy" to port the C compiler (which was also primitive then). Considering AT&T's approach to promoting Unix at universities, it's not surprising. Quote from: marcov on July 26, 2023, 11:12:50 amAnd more importantly, C's problems also stem from exact this, being essentially frozen (some minor standard work aside that mostly reformulated definitions and some lib additions) very early on. That's why it is still mostly a portable assembler for embedded work and OS development. Back to languages. Let's take this JavaScript. The first version was an "underdeveloped monster" (it still is, only the degree of its underdevelopment is now more complex and advanced). Its adoption caused problems in web browsers for several decades. And it's still far from what people need. Only the efforts of a group of programmers (and money allocated by the management) at Microsoft mitigated this problem a bit (TypeScript). Another example: Java then C#. When they appeared, both had pretty meager opportunities. Only years of programmers' work on the JVM, CLR, their byte-code compilers and libraries made them suitable for normal use. In the case of C#, its creators learned a lesson from previous IT history, because they had no qualms about changing some things. I don't think anyone doubts that Microsoft's huge money (perhaps it was dumping) made the tools for C# (compiler, debugger, IDE, etc.) quite decent. With that money, an army of programmers worked for many years, and that's why C# has been quite useful for some time now. I wonder how much the popularity of C# would increase if Microsoft created a compiler that generates machine code (and not byte-code)? If only 1/4 of that money had been invested in Delphi (or FPC and Lazarus), then most of Delphi's (or FPC and Lazarus) imperfections and shortcomings would probably have been resolved long ago. With enough money and time, some things can be fine-tuned. Of course, you also need a coordinator (kind of a benevolent but sensible despot). But there is also some difference between C#, Java and C, C++. C# and Java are the owners projects. Their owner had no objections to make certain decisions that significantly influenced these projects. Of course, this is not the case with C and C++. And that's probably why C (probably to a lesser extent C++) is still crippled, after so many years and a lot of money poured into its development. Yes, the quality of generated machine code of C and C++ compilers is good. But the ergonomics of the tools are still poor. Although Microsoft has done a lot in Visual Studio over the last few years to make them (i.e. C and C++) quite bearable. Similarly, the IDE for microcontrollers provided by Segger or Keil. And what about the ergonomics of open source tools for C and C++? We all know how. ---------------------------------------------------------------------- VisualLab · 2023-07-26 17:21 Quote from: 440bx on July 26, 2023, 02:01:15 pmIn a nutshell, Pascal embodied the concepts associated with good programming but lacked the features needed to create powerful programs.  C had the features but was and, in many ways still is, a totally dismal vehicle to create a halfway decent program (but it can be done with a lot of effort.) hmm. It is perceived and evaluated differently. For people "in love" with C (eg Linus Torvalds -> see his statements like "Nothing better than C so far"), this language has sophisticated and well-designed features that allow you to write very advanced code. However, for people who would like to be sure that the code is robust and secure, C is old and bad junk that should have been in the IT museum for a long time - such a "Trabant" of the IT world. The latter therefore believe that these "sophisticated and well-designed features" are really: bugs, cheap hooks, arbitrary pointer juggling (sometimes verging on naivety), primitive mainpulation with code as plain text, etc. And frankly, the latter are right . In connection with the above, I have been wondering for some time: "how much lower would the costs of developing software (OS, embedded, utility, scientific, engineering, AAA games) be if programmers were not forced to use museum exhibits such as C or C ++"? Unfortunately, this "technological debt" will take a long time to be repaid. --- *) I mean those features of C++ that it still inherits from C. ---------------------------------------------------------------------- Leledumbo · 2023-07-27 04:52 Quote from: marcov on July 26, 2023, 10:58:45 amand in the guise of Modula2 did with Lilith Or Oberon in, well, Oberon. Wirth goes much further with OS experimentation through Oberon than Modula. From the original Project Oberon itself, to capable-of-running-as-an-app-on-top-of-other-OS Bluebottle/A2 (I still like the concept, though maybe not the aesthetics and the flat filesystem, i.e.: no directory), to direct FPGA programming. ---------------------------------------------------------------------- MarkMLl · 2023-07-27 06:41 Quote from: Leledumbo on July 27, 2023, 06:52:50 amQuote from: marcov on July 26, 2023, 10:58:45 amand in the guise of Modula2 did with Lilith Or Oberon in, well, Oberon. Wirth goes much further with OS experimentation through Oberon than Modula. From the original Project Oberon itself, to capable-of-running-as-an-app-on-top-of-other-OS Bluebottle/A2 (I still like the concept, though maybe not the aesthetics and the flat filesystem, i.e.: no directory), to direct FPGA programming. Yes, I agree. But there's probably 1,000 experimental OSes started in academia a year, and in the 1990s that was probably 10,000. In the late 1960s and early 1970s compilers were considered difficult to write, and Wirth was well-respected in this area. But the main focus of his work post-Pascal was in designing OS, language and hardware together, and he did some good stuff on collecting the statistics of how typical programs compiled, what opcode set optimised support for that, and how to translate that into hardware: not unique work, but it made his research group desirable for postgrads and as such brought money and kudos to ETHZ. However, I'm unhappy with the state of both modern OSes- where we appear to be stuck with POSIX- and languages. And I'm particularly unhappy with the brand of aggressive chauvinism exhibited by some language partisans. MarkMLl ---------------------------------------------------------------------- Joanna · 2023-07-28 17:01 What is wrong with the forums? Some of the features including emojis are missing for me... “ However, I'm unhappy with the state of both modern OSes- where we appear to be stuck with POSIX- and languages” I’m curious about what you would prefer modern operating systems to be like? I’m not sure what posix is. Can anyone explain In layman’s terms? ---------------------------------------------------------------------- MarkMLl · 2023-07-28 18:11 Quote from: Joanna on July 28, 2023, 07:01:30 pmI’m not sure what posix is. Can anyone explain In layman’s terms? Wikipedia has a perfectly good article on it, and- for that matter- on Modula-2 and Oberon. Now stop faking ignorance or everybody else will conclude that you just like making noise. MarkMLl ---------------------------------------------------------------------- Thaddy · 2023-07-28 18:15 I grew up with: any os or language that fits the job.... It is plain silly to choose a programming language without knowing what you want to achieve. Programming languages are just tools for us people, both pro and amateur, to achieve logical goals. Any other interpretation is flawed, if not wrong. ---------------------------------------------------------------------- 440bx · 2023-07-29 00:12 Quote from: Joanna on July 29, 2023, 02:04:15 amWikipedia is a propaganda tool disguised as an excellent source of info. I constantly use Wikipedia for quite a few purposes, many of them quite technical including engineering and math.  I can say that Wikipedia is an excellent source of information both, technical and non-technical.  For non-technical information they are one of the very few sources that disclaims when an "article" is biased and lacks verifiable sources or suffers from other deficiencies. The statement you made above about Wikipedia had the net effect of greatly devaluing your opinion in my eyes but, I believe every one should be given the opportunity to support their statement(s), therefore if you can support that statement with _verifiable facts_ then I invite you to do so. ---------------------------------------------------------------------- Kays · 2023-07-29 15:00 Quote from: 440bx on July 24, 2023, 10:38:28 pmQuote from: MarkMLl on July 24, 2023, 10:13:52 amhttps://www.lysator.liu.se/c/bwk-on- pascal.htmlSadly the criticisms levied against the original Pascal in that paper are all valid.You choose a programming language based on your application’s needs. If Pascal’s “deficiencies” render it unsuitable for your application, choose a different programming language. Quote from: 440bx on July 25, 2023, 04:00:51 pmQuote from: MarkMLl on July 25, 2023, 02:25:38 pmModula-2, of course, has coroutines which- from experience- go a very long way towards moving context switches into the language: neither C nor Pascal can do that unaided. That's one of those features I believe doesn't belong in a language because it involves scheduling.  IMO, a task scheduler belongs in the O/S not in a programming language.No, the Modula‑2 notion of coroutines merely provides you a framework for cooperative multitasking. You will need to “instantiate” a routine with NEWPROCESS. Inside such a coroutine you may TRANSFER control to a different coroutine. Without invoking TRANSFER your coroutine behaves just like a vanilla routine with extra overhead. Quote from: 440bx on July 26, 2023, 05:05:44 pm[…] I strongly suspect there is some "macho programming" at work there, i.e, if the code is hard to understand it _presumably_ reflects the high I.Q and capability of the author, which is obviously laughable […]Interesting hypothesis, but there is definitely also the language factor: Recently I read the following code fragment (originally in C):Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i if supercalifragilisticBooleanExpression then        foo(badaBingBadaBoomVariable, 0)else        foo(badaBingBadaBoomVariable, 1);Now you are very tempted to make it more complex and shorten the entire thing toCode: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i foo(badaBingBadaBoomVariable, ord(not supercalifragilisticBooleanExpression));Is this better? Or just mere showboating? (Keep in mind expressions in C can look terrifying.) Quote from: Joanna on July 29, 2023, 02:04:15 amWikipedia is a propaganda tool disguised as an excellent source of info.I second that with respect to social topics. But technical articles are not always accurate either:Pascal sucks, is a JEW, etc.Pascal is a very bad programming language. Just learn C++.Pascal was developed by Atul Srivastava, Aivars Laganovskis, or maybe you? ---------------------------------------------------------------------- 440bx · 2023-07-29 17:54 Quote from: Kays on July 29, 2023, 05:00:28 pmYou choose a programming language based on your application’s needs. If Pascal’s “deficiencies” render it unsuitable for your application, choose a different programming language.In that case, the original Pascal is perfectly well suited to write a "Hello World" application and _maybe_ something _slightly_ more elaborate.  Quote from: Kays on July 29, 2023, 05:00:28 pmNow you are very tempted to make it more complex and shorten the entire thing ... if the result isn't easier to understand then it is, more often than not, simply showing off.  In some _rare_ cases, performance considerations _may_ justify the added complexity.  I emphasize the word rare. Quote from: Kays on July 29, 2023, 05:00:28 pmI second that with respect to social topics. But technical articles are not always accurate either:Pascal sucks, is a JEW, etc.Pascal is a very bad programming language. Just learn C++.Pascal was developed by Atul Srivastava, Aivars Laganovskis, or maybe you?You've just joined @Joanna at demonstrating how ill-conceived, devoid of logic and unreasonably biased your "argument" is.  A large number of people (maybe anyone ?) can edit a Wikipedia article and all it takes is a covfefe mind (in the past, referred to as "mediocre minds") to make the edits you showed.  To its credit Wikipedia catches and removes these obvious samples of human mediocrity and biased judgement.  The edits you linked to show that Wikipedia does what it can to preserve accuracy.  Your using them to pretend Wikipedia is failing in some way reflects very poorly on you. ---------------------------------------------------------------------- VisualLab · 2023-07-29 22:54 Quote from: 440bx on July 29, 2023, 07:54:31 pmQuote from: Kays on July 29, 2023, 05:00:28 pmI second that with respect to social topics. But technical articles are not always accurate either:Pascal sucks, is a JEW, etc.Pascal is a very bad programming language. Just learn C++.Pascal was developed by Atul Srivastava, Aivars Laganovskis, or maybe you?You've just joined @Joanna at demonstrating how ill- conceived, devoid of logic and unreasonably biased your "argument" is.  A large number of people (maybe anyone ?) can edit a Wikipedia article and all it takes is a covfefe mind (in the past, referred to as "mediocre minds") to make the edits you showed.  To its credit Wikipedia catches and removes these obvious samples of human mediocrity and biased judgement.  The edits you linked to show that Wikipedia does what it can to preserve accuracy.  Your using them to pretend Wikipedia is failing in some way reflects very poorly on you. I absolutely disagree with the statement made by 440bx. At the same time, I have to defend what Kays wrote. Joanna is also somewhat right, although she exaggerates with this planned propaganda. Rather, they are the usual, uncoordinated scribbles ("folk myths" and "urban legends)" of fanatical monkeys who accidentally got their hands on a computer keyboard. The main problem with Wikipedia is its credibility. So what if there are references to sources and quotes in the articles, if the text contains: far-fetched statements, someone else's (nonsense) opinions or mere fabrications? And the longer the text, the easier it is to smuggle in nonsense or lies. If someone is familiar with the subject, they will immediately pick up false information. But such a man does not need Wikipedia, because he already knows the subject. On the other hand, the one who does not know the topic will not be able to detect false content (unless it is completely moronic). Then such a person will need the help of someone who knows the subject. And in such a situation, it is better to immediately ask someone familiar with the subject or reach for a textbook, book or compendium. Only that in such a situation Wikipedia is unnecessary. The reliability of the information provided is crucial. At universities, students learn from their teachers that various blogs and social networking sites available on the Internet are not a source of reliable information. Wikipedia is also frowned upon for the same reason. I myself tried many times to straighten the nonsense contained in some IT articles in Wikipedia (e.g. C language, Python language). After a few days, some fanatic was posting his nonsense again. This is a fight against windmills. The idea of Wikipedia was noble, but utopian. According to Murphy's law, "if something can be broken, it will be broken sooner or later." I don't think this can be changed by civilized means. ---------------------------------------------------------------------- 440bx · 2023-07-29 23:20 A lot of criticism is going around but, what is conspicuously missing is an example of an article where genuinely far-fetched statements appear. Therefore, for credibility's sake, would anyone care to provide a link to an _article_, not an edit, where a genuinely far-fetched statement appears ?... of course, it would be nice if more than one link to such articles were provided.  After all, I am sure that somewhere in Wikipedia, there is at least one article where some, at least questionable statements appear. As far as how Wikipedia is funded, instead of simply raising questions about how its funded, how about showing what is specifically objectionable about its funding ?... is that too difficult to do for people who find it so easy to criticize it without foundation ? Just in case, Wikipedia isn't perfect but, maybe this will be news for those who criticize it: neither are you!. ---------------------------------------------------------------------- 440bx · 2023-07-30 00:26 Quote from: Joanna on July 30, 2023, 02:15:09 amThe reason I don’t share the articles in question is because I don’t want to get into some ugly off topic debate about things on Wikipedia. But you have no problem making accusations and providing the above statement as an excuse for leaving the accusations fully unsupported. ---------------------------------------------------------------------- Peter H · 2023-07-30 02:58 To come back to the original Question: There where other languages which had big influence but where not as successful as Pascal and C. Algol 60 and 68. At this time compilers where expensive and difficult to implement and standardization was very bad. This was better with Pascal, but not perfect. However C, because it had less features than others but more degrees of freedom was easier to standardize or to port. There where much less portability problems with C. Also C came for free with each UNIX machine. So far I know, first versions of Mac OS, Windows and Photoshop where written in Pascal. Here are three interesting videos, interview of a contemporary computer scientist. This sheds some light on the situation at this time and gives one practical example: Triple ref pointers. So far I understand it, this and other low level stuff could - at this time - not be implemented in Pascal, but in Assembler, ALGOL68 and C. https://youtu.be/0ZEX_l0DFK0 https://youtu.be/nA_FXCzibgw https://youtu.be/TdzsB-iYj4Y https://youtu.be/SVYBJlCmRxE ---------------------------------------------------------------------- Joanna · 2023-07-30 12:37 That’s some interesting stuff. Algo68 was before my time and nobody ever mentioned it in any computer courses. It’s hard to imagine a pointer that has an address of its own rather than a pointer to address in memory.  Does this mean that all pascal pointers don’t have an address of their own? ---------------------------------------------------------------------- VisualLab · 2023-07-30 12:51 Quote from: Joanna on July 30, 2023, 02:37:44 pmThat’s some interesting stuff. Algo68 was before my time and nobody ever mentioned it in any computer courses. It’s hard to imagine a pointer that has an address of its own rather than a pointer to address in memory.  Does this mean that all pascal pointers don’t have an address of their own? Well, you can check it yourself. Try to declare a few variables in a simple program. Let one be, for example, an integer, and let the others be pointers. Besides, what do you think: if for FPC (Delphi) there are modules that refer to Linux libraries, then it's probably not so bad with current versions of Pascal. Yes, there are problems with some C elements, such as flex arrays. ---------------------------------------------------------------------- Joanna · 2023-07-30 20:48 It doesn’t make sense to have pointers to pointers, with the linked lists , weren’t those pointers to records that contained pointers? I’m not sure what flex arrays are.. ---------------------------------------------------------------------- Peter H · 2023-07-31 05:53 I believe in these early versions Pascal supported only pointers for (otherwise anonymous) heap variables and not for normal variables. The use of pointers was much more intentionally restricted than today. I do not know if type casting was allowed as much as today, or if it was supported at all. Possibly it was intentionally forbidden to take the address of pointer variables. At this time Algol 68 had pointers and it had reference variables in the same way as C# today. I had, when I was younger, more than 40 years ago, a programming language "PEARL" which was running on my 68000 DIY home computer. This language was derived from ALGOL 68 (but much simpler) and had no pointers, but had reference variables like ALGOL and today C#. This means you can not determine the address of reference variables, and not manipulate them  but they can point to anywhere. I personally believe this concept is better it makes pointers almost superfluous. (For special cases there was inline Assembler) At these early times there was another philosophy about programming languages. There where opinions that recursion and reentrancy are superfluous features. There where languages that did not support it. The language had to isolate programmer and machine as much as possible and hide machine limitations and machine features. This approach has failed, in my opinion and is used in script languages only. These automatic reference types, which are in todays object pascal where unthinkable. These do move pascal into the direction of Algol. In the modern languages the language must make the minimum machine requirements obvious to the writer and reader of a program. ---------------------------------------------------------------------- MarkMLl · 2023-07-31 07:24 Quote from: Joanna on July 30, 2023, 10:48:34 pmIt doesn’t make sense to have pointers to pointers, with the linked lists , weren’t those pointers to records that contained pointers? OK, that's a good point. So "a pointer to a (naked) pointer" was invalid, while "a pointer to a pointer contained in a record" was valid. However an example where a pointer to a naked pointer would be useful would be if, at the application level, pointers were actually references to a linear table of naked pointers, and this table was updated by the runtimes as blocks were moved around to prevent heap fragmentation. Trying to stick to your original question, when Wirth implemented Pascal he had previously been a user of at least one system which implemented memory management at the OS and hardware level, so even if he'd really thought about what was going on he'd not have had to (in fact would have been forbidden to) manipulate that sort of thing directly. However when he moved on to design Modula-2, which was designed to be usable as a systems programming language, it would have had to accommodate that sort of thing. Apropos your earlier microrant about Wikipedia. I'd suggest that while "tell me about XXX since I can't be bothered to read Wp" is very much out of order, a quiet "I've read about XXX on Wp, can I trust that?" might be treated a bit more sympathetically (at least by me :-) The bottom line is that while there is a great deal of misleading crap on the Internet (and, in my opinion, you've demonstrated that you're receptive to it), there's also a lot of accurate factual information: the key thing is trying to balance the putative crap you think you're getting from Wp, the putative crap we think you're getting from some social agitation site, and the opinions held by the members of this forum (which are, of course, beyond reproach :-) MarkMLl ---------------------------------------------------------------------- MarkMLl · 2023-07-31 07:36 Quote from: Peter H on July 31, 2023, 07:53:28 amThis language was derived from ALGOL 68 (but much simpler) and had no pointers, but had reference variables like ALGOL and today C#. This means you can not determine the address of reference variables, and not manipulate them  but they can point to anywhere. I personally believe this concept is better it makes pointers almost superfluous. (For special cases there was inline Assembler) That makes sense, although I'm uncomfortable with a blanket "can't take the address of a reference" prohibition. However I believe that any language needs, at its lowest level, to be able to do pointer arithmetic etc. since otherwise it will need to have its memory manager written in something like C or assembler... and the latter case will definitely have portability problems. QuoteAt these early times there was another philosophy about programming languages. There where opinions that recursion and reentrancy are superfluous features. There where languages that did not support it. A lot of that however was chauvinism from the FORTRAN brigade (to whom recursion hadn't really occurred) and from IBM mainframe users (who didn't have a hardware stack). ALGOL supported it, systems designed to run ALGOL (as opposed to being designed to run FORTRAN) supported it, and it really took off when people worked out how to write recursive descent compilers. The problem then was that every second-rate programmer and his dog jumped onto the bandwagon and it got vastly overused, in much the same way that Picasso vastly overused blue pigment when it suddenly became affordable. MarkMLl ---------------------------------------------------------------------- MarkMLl · 2023-07-31 12:03 Quote from: Joanna on July 31, 2023, 01:29:38 pmI am happy that modern pascal has recursion, i enjoy using it. Pascal has always had recursion, as did ALGOL- certainly ALGOL-60, can't really speak for ALGOL-58- before it. Quoteits also interesting that pascal and c have a common ancestor.. I still wonder why delphi didn't adopt some of the modula2 features if it had plenty of corporate funding. Was it because the delphi users didn't need to do systems programming or whatever modula 2 had improved? C is actually closer to ALGOL-60 than Pascal is. In particular, ALGOL had very little idea of the concept of types, except where they defined grossly different underlying data which was handled by different subsystems of the computer running it (e.g. completely separate hardware to handle character processing) or grossly different subranges (e.g. integers as a subrange of floating point). You should find that earlier in the thread I've described how Borland had (and disposed of) a Modula-2 compiler in the 1980s. There had been numerous attempts by then to have a common code-generation backend support multiple frontend languages, none of which had been successful and whose failure had in many cases sunk the company attempting the exercise. Based on the fact that the JPI/TopSpeed v1 compiler was really rather good I speculate that Borland originally developed it as a more-serious successor to Turbo Pascal, but when TP's sales took off in (roughly) 1985 they decided to place their bets on that horse. As such TP progressed incrementally targeting 8- and 16-bit systems, was joined by Delphi v1 targeting Win-16, and shortly after by Delphi v3 targeting Win-32 (i.e. Windows NT etc.); v2 attempted to support both Win-16 and Win-32 but didn't have a particularly high profile. Borland's Pascal implementation progressed incrementally during that time, and while it /is/ possible to have one compiler which handles both Pascal-style and Modula-2-style syntax they probably felt that there was too much risk involved. QuoteWell I think that we can both agree that I probably already know about wikipedia and googling since we are using the internet here. If i was the antisocial sort I probably would avoid other humans and only talk to the computer. I should be obvious by now that talking to a computer is not the experience I'm in search of  I already do it enough as it is. Im not trying to waste anyone's time if they don't want to answer my questions that is fine. but where will we be if we stop talking to each other and choose dodgy websites over interacting with real people? The main reason I prefer dialog is that I am able to ask the person giving me information questions if I don't understand something. Hence I don't much care for one way communication if I can avoid it. The internet is so full of garbage that it is almost unusable for certain types of searches. Often When I search for things i get page after page of websites that look like they were generated by ai and have almost identical content and are full of advertising. i lack the skill to write a search engine to prevent this from happening. Well /yes/, and I agree with your overall point. But this is really a maturity thing: we all need to develop a toolkit to evaluate what we read, read and if necessary seek out viewpoints which are at odds with our own, and ultimately to decide what is wheat and what is chaff. I would add that watching people- including self-styled smart people- use the Internet can be depressingly instructive. They start off with Google, hit a Wikipedia page, read it until they hit a term they don't understand, and since they don't realise that it's a /link/ go back to Google until they find a Facebook or Twitter page which gives them an easily-digested answer in the first sentence. And they're completely oblivious to the fact that the answer they've accepted might be wide of the mark. QuoteAuthor’s Note All of the true things I am about to tell you are shameless lies. – Bokonon It is very easy when reading a document to be seduced by the fact that it is typeset and contains few obvious grammatical errors or spelling mistakes. This is curious, since we have been living with printed material- political pamphlets, advertising handbills, newspapers and paper currency- for several hundred years, and by now really should be used to it. This manual is compiled and maintained on a “best effort” basis, and whilst every endeavour is made to ensure that the content is a reasonable description of reality there might be cases where it is inaccurate or out of date. MarkMLl ---------------------------------------------------------------------- JanRoza · 2023-07-31 14:51 QuoteHence I don't much care for one way communication if I can avoid it. Joanna, first you were always ranting about IRC, now you start a rant about wikipedia ...... I thought the subject was "Whar are Modula2 and Oberon". Please, for once, stay on subject! I'm getting so tired of all those conspiracy rants. ---------------------------------------------------------------------- Thaddy · 2023-07-31 17:50 Quote from: MarkMLl on July 31, 2023, 02:03:00 pmand shortly after by Delphi v3 targeting Win-32 (i.e. Windows NT etc.); v2 attempted to support both Win-16 and Win-32 but didn't have a particularly high profile. It was Delphi 2 and that was 32 bit only. Alhough Delphi1 was bundled to provide 16 bit support. D3 and higher also provided D1  bundled for some licenses for a couple of releases. Basically until the 32 bit subsystem was dropped and subsequently XP became the norm for consumer Windows as a true 32 bit system. From win32s up until win98 32 bit was a subsystem on versions other than NT3.1 and higher, which were aimed at professionals only. ---------------------------------------------------------------------- 440bx · 2023-07-31 18:14 Quote from: Thaddy on July 31, 2023, 07:50:44 pmBasically until the 32 bit subsystem was dropped ... You mean "until the 16 bit subsystem was dropped..." correct ? ---------------------------------------------------------------------- Thaddy · 2023-07-31 18:21 Read it as until the 32 bit subsystem was droppped in favor of a true 32 bit + system with flat memory lay-out for 32 bit + processors, e.g. from WindowsXP and for pro winNT3.1 ---------------------------------------------------------------------- 440bx · 2023-07-31 18:29 i guess you mean Win32s which was a subset of the Win32 API implemented on top of Win16.  On Win16, there wasn't a Win32 subsystem. ---------------------------------------------------------------------- phoenix27 · 2023-08-01 08:39 Pascal is a JEW?!? I don't think so .  On the contrary, considering that in order to understand C declarations you have to read them from right to left and given the fact that jews write right to left(if i'm not mistaken) i would say that C is a jew!! ---------------------------------------------------------------------- phoenix27 · 2023-08-01 08:51 Joanna, i read some of your comments and you clearly look like a contrarian, like someone who doesn't blindly trust the mainstream like the majority does. So i' m sure you didn't get into your body the chemical concoction that was pushed so hard on us by the mainstream (corrupted or plain idiots journalists, doctors. politicians and so on), including a sordid computer guy, son of another sordid individual who was on the board on planned parenthood(which to me translates to communism and eugenics). Good on you! ---------------------------------------------------------------------- Thaddy · 2023-08-01 10:22 Quote from: phoenix27 on August 01, 2023, 10:39:51 amPascal is a JEW?!? I don't think so .  On the contrary, considering that in order to understand C declarations you have to read them from right to left and given the fact that jews write right to left(if i'm not mistaken) i would say that C is a jew!! In the context of computer science also known a RPN. A language that implements this is Forth (one of my favorites during my studies). I would drop to refer to Jews, though. It is not relevant at all. ---------------------------------------------------------------------- phoenix27 · 2023-08-01 11:32 "In the context of computer science also known a RPN. A language that implements this is Forth" What a coincidence!!. Just some days ago i came across the Forth language. I didn't know how interesting it is, i thought it was related to FORTran ahahah. It is a stack based language, in which you first push the values you need on the stack and then you push the function that consume those values. But as always if there are no GUI batteries included(like in freepascal) i lose interest. So i searched for a more viable alternative and i found Factor, which is a concatenative stack based language inspired by Forth. I played a bit with it and it's quite fast despite being an interpreted language. Also it has an extensive library, including some UI facilities. ---------------------------------------------------------------------- phoenix27 · 2023-08-01 11:51 "Actually both Hebrew and Arabic are written right to left so that is not a good basis for determining that." Well, i was joking, dear Joanna . Although i really consider C a satanic language ahahhaa, Just to understand the declarations(especially pointers related stuff) you have to invoke the boss of the Synagogue of Satan  The word anti-semitic, if i' m not mistaken, means really anti-arab. Since the Jews always use this word against everybody who try to question them, then i suppose they might really be of Arab origin after all. ---------------------------------------------------------------------- 440bx · 2023-08-01 12:55 Quote from: Joanna on August 01, 2023, 01:48:40 pmI resent you using the word “conspiracy“ to devalue my concerns though. That’s disrespectful! Your resenting anything is irrelevant and meaningless.  You and a few others in this thread make accusations against Wikipedia but, none of you have the _decency_ of supporting them, therefore, your "concerns" (read: unsupported biases) are not worth anyone's consideration (certainly not mine!). Also, if you'd like to get respect, you should start by earning it.  A good way would be to provide a list of links to Wikipedia articles (here, where you made the accusations) along with a clear explanation of what is objectionable in each of them along with _credible_, _reputable_ sources that support the points you make. Lastly, the above applies to _all_ of those who have made unsupported accusations. ---------------------------------------------------------------------- phoenix27 · 2023-08-01 13:11 "How long have you been programming in pascal?" First of all i' m not a professional programmer, i' m a pop programmer ahaha. I just do little things for myself. It's been some months now since i started learning Pascal, on and off of course. It may seem strange but didn't know about Lazarus until some moths ago. It went like this, since i became more aware of what's going on with big CORPorations like Google, Microsoft, Apple and so on i stopped following their products(C Sharp, Python and especially Electron) and tried to find some really independent alternative. So i searched for RAD tools and came across Lazarus. I couldn't believe it's been out since 2001 and i' ve never heard of it. Or maybe i don't remember. Instead i remember well Delphi, one of the best RAD and for me the best ever name for an IDE. Yes, the name is important too you know. I could never program in a language called Kotlin for example, no matter how good it is. But then i' m not a professional programmer so i can choose ---------------------------------------------------------------------- VisualLab · 2023-08-01 14:08 Quote from: phoenix27 on August 01, 2023, 10:39:51 amPascal is a JEW?!? I don't think so .  On the contrary, considering that in order to understand C declarations you have to read them from right to left and given the fact that jews write right to left(if i'm not mistaken) i would say that C is a jew!! The Jews use the Hebrew alphabet, which is based on ancient Hebrew. In antiquity, apart from Herbaic, there were, for example, Syriac and Aramaic. All of them (Hebrew, Syriac, Aramaic) probably come from Old Phoenician, which in turn comes from Ugarit. The Aramaic alphabet, in turn, was the ancestor of the Arabic. All of these alphabets are written from right to left (no vowels, although vowel positions in the text may be indicated by dots above and below the characters). It's not just the Jews who write the text this way. So what: C is Arab? Or maybe an Iraqi or a Lebanese (because they too belong to the group that uses Semitic languages). It was probably supposed to be some kind of bizarre "joke", but it turned out to be nonsense. ---------------------------------------------------------------------- MarkMLl · 2023-08-01 14:26 Quote from: VisualLab on August 01, 2023, 04:08:21 pmIt was probably supposed to be some kind of bizarre "joke", but it turned out to be nonsense. No, it was vandalism. In Wikipedia. Look chaps, we're getting /way/ off-topic here. If nobody has anything more to say about Modula-2 or Oberon and how they relate to Pascal and (possibly) its predecessors I think it's time to wrap things up. MarkMLl ---------------------------------------------------------------------- VisualLab · 2023-08-01 15:04 Quote from: 440bx on August 01, 2023, 02:55:37 pmQuote from: Joanna on August 01, 2023, 01:48:40 pmI resent you using the word “conspiracy“ to devalue my concerns though. That’s disrespectful! Your resenting anything is irrelevant and meaningless.  You and a few others in this thread make accusations against Wikipedia but, none of you have the _decency_ of supporting them, therefore, your "concerns" (read: unsupported biases) are not worth anyone's consideration (certainly not mine!). That's probably me in "a few others" I'm not blaming Wikipedia, because it's not human. A man's creation (whatever it is) can only be criticized or praised. Criticism can be: unjustified, malicious - its purpose is to discourage people from doing something or to "pour out one's own regrets",constructive, necessary - its purpose is to catch defects and errors in order to eliminate them and/or improve something. In this situation, the criticism in (1) is a condemnation or a complaint. The criticism in (2) is actually a kind of review. I don't think anyone on this forum thinks (at least I do) that the idea of creating a knowledge base that is freely available to anyone is a bad idea. On the contrary. Also, the idea of people being able to add articles to it is theoretically fine. Anyone with knowledge can write an article in a field they know well. Unfortunately, we all also know that not everyone is honest or impartial. And that's the problem - with people, not with the idea of Wikipedia as such. So I ask (440bx in particular) how to protect Wikipedia from: vandals, idiots, fanatics or just plain fraudsters? Hmm? This is not just Wikipedia's problem. The same problem occurs in all knowledge bases. Have there been fraudulent scientific articles in the databases of publishers (eg ASC, Elsevier, Nature, RSC, Springer, Wiley, etc.)? We all know that this was the case (examples: Victor Ninov, Jan Hendrik Schon, etc.). Were the culprits immediately "caught by the hand"? from where! It took a while before they were proven wrong (fraud?) in their publications. Question: Are there other bugs/cheats in these databases? Probably. But we'll find out about that in a while, if someone finds such things. And these are databases where reviewing articles is used (supposedly quite rigorous). Historians who refer to historical records (clay tablets, inscriptions engraved on stones, papyri, manuscripts, etc.) have a similar problem with the reliability of the information provided. And these are people who, during their studies, are taught to be skeptical about the information they analyze and how to deal with this problem. Therefore, before accusing someone of being a "obsessed conspiracy type" or an "antisocial type", perhaps one should first ask, "why do you say something is unreliable"? Skepticism is not a vice. It is thanks to him that the development of science, technology and human history takes place. Otherwise, people would still make bt sacrifices to thunder gods, jaguars, bears, or whatever. ---------------------------------------------------------------------- VisualLab · 2023-08-01 15:25 Quote from: phoenix27 on August 01, 2023, 03:11:37 pmI could never program in a language called Kotlin for example, no matter how good it is. I don't think Kotlin is any better or worse than Modula 2 or Oberon. As well as Object Pascal Just another (new, but not extraordinary) language to complete the collection of languages for JVM. If someone finds it useful, that's ok. But in the last 10 years a lot of such "new" languages have appeared. They all suffer from the same thing: lack of a polished compiler, debugger, libraries (this takes time and people). That's probably why they either use the JVM or the CLR backend. And big players (Google, Oracle, Microsoft) are doing their best to convince programmers (but also computer users) that their VM with "add-ons" is the best thing humanity has achieved in IT. It is a pity that these types of solutions "eat up" the increase in computing power and ever-larger computer memory for "grinding" intermediate layers, instead of just data processing. It would be better to use it for more interesting things. For now, this is only the case with AAA games (apart from the fact that games, as entertainment, are not a serious application of computers) or scientific software (e.g. Gaussian), which requires really large computing power and memory. ---------------------------------------------------------------------- MarkMLl · 2023-08-01 16:13 Quote from: VisualLab on August 01, 2023, 05:25:05 pmBut in the last 10 years a lot of such "new" languages have appeared. They all suffer from the same thing: lack of a polished compiler, debugger, libraries (this takes time and people). I would suggest that an important- possibly the sole- criterion for a new language being significant is that it finds ways of abstracting multiple elements of its predecessors into a single core-language element. By that metric, I feel that Object Pascal circa 2023 leaves much to be desired. MarkMLl ---------------------------------------------------------------------- 440bx · 2023-08-01 16:49 Constructive criticism does _not_ include using malicious edits as support for the claim that technical articles are not always accurate as was done in this post:Quote from: Kays on July 29, 2023, 05:00:28 pmBut technical articles are not always accurate either:Pascal sucks, is a JEW, etc.Pascal is a very bad programming language. Just learn C++.Pascal was developed by Atul Srivastava, Aivars Laganovskis, or maybe you? When someone gives themselves the luxury to criticize, which I am doing here with this post, the person should point out the reason and foundation for the criticism.  For instance:Quote from: Joanna on July 30, 2023, 12:37:06 amI have caught them disparaging things that I’m quite knowledgeable about,... Apparently some people, like the one just quoted, find it perfectly acceptable to make unfounded claims and consistenly indulge in repeating those unfounded claims again and again.  Such behavior denotes significant character flaws, at least in my opinion. You make the following claims:Quote from: VisualLab on July 30, 2023, 12:54:01 amI myself tried many times to straighten the nonsense contained in some IT articles in Wikipedia (e.g. C language, Python language). After a few days, some fanatic was posting his nonsense again. Built into your sentence is the fact that those articles should still contain the nonsense you claim to have unsuccessfully attempted to correct, yet, you have not provided a single example and, if Wikipedia was (or is) guilty of what you and others criticize for, it should be reasonably easy for you and the others who baselessly accuse it to provide multiple examples to support your statements.  So, how about it ??... how about fewer claims and more facts... is that asking for too much ? and just in case, making unfounded accusations is not a form of "constructive criticism".  Nice try. Got to give you credit for one thing, you were right when you surmised being among those included in the phrase "a few others". Quote from: MarkMLl on August 01, 2023, 04:26:18 pmLook chaps, we're getting /way/ off-topic here. If nobody has anything more to say about Modula-2 or Oberon and how they relate to Pascal and (possibly) its predecessors I think it's time to wrap things up.I agree with that. ---------------------------------------------------------------------- VisualLab · 2023-08-01 23:04 Quote from: 440bx on August 01, 2023, 06:49:39 pmYou make the following claims:Quote from: VisualLab on July 30, 2023, 12:54:01 amI myself tried many times to straighten the nonsense contained in some IT articles in Wikipedia (e.g. C language, Python language). After a few days, some fanatic was posting his nonsense again. Built into your sentence is the fact that those articles should still contain the nonsense you claim to have unsuccessfully attempted to correct, ... This is over-interpretation and even imputing (saying something to someone that they didn't do). In my statement that you quoted, it only said that: 1. I made several attempts to repair the content of articles broken by a fanatic, 2. after several attempts to repair, I gave up and found the pointlessness of the corrections made. I just wasted my time and the damage still hasn't been repaired. Perhaps after some time (a year?, more?) the fanatic got bored - I don't know, after that I didn't check anymore. Anyway, what I wrote in my statement proves only one thing - about resignation. In no way did I say that Wikipedia should contain nonsense. Quite the opposite. Only life isn't all about writing and editing Wikipedia articles. Quote from: 440bx on August 01, 2023, 06:49:39 pm...yet, you have not provided a single example and, if Wikipedia was (or is) guilty of what you and others criticize for, it should be reasonably easy for you and the others who baselessly accuse it to provide multiple examples to support your statements.  So, how about it ??... how about fewer claims and more facts... is that asking for too much ? and just in case, making unfounded accusations is not a form of "constructive criticism".  Nice try. Got to give you credit for one thing, you were right when you surmised being among those included in the phrase "a few others". After all, everyone knows that checking defective articles in Wikipedia only takes a few minutes But since I've been counted among the unfounded enemies of Wikipedia, I won't bother checking Wikipedia for faulty articles. Moreover, to meet my inclusion among the enemies of Wikipedia, I will make myself an appropriate thumbnail for my nick. With the content: "On the scaffold with Wikipedia" ---------------------------------------------------------------------- VisualLab · 2023-08-01 23:24 Quote from: Joanna on August 01, 2023, 11:48:03 pmQuote. Also, if you'd like to get respect, you should start by earning it.  A good way would be to provide a list of links to Wikipedia articles (here, where you made the accusations) along with a clear explanation of what is objectionable in each of them along with _credible_, _reputable_ sources that support the points you make. 440bx It would be fairly exhausting to go through all the times I’ve discovered biased/ lying Wikipedia articles. I sent you a pm regarding A case of mass murder wherein some buildings with people in them were demolished. The Wikipedia article about that is very biased. I’m sorry to burst your bubble but Wikipedia exists for a reason and the reason is to influence people. The useful articles are not the main purpose of Wikipedia they are there to get people to use and trust it  This is quite a serious allegation. Theoretically, some social networking sites can be used by various groups of people to achieve not always fair goals. After all, it is a medium of communication. And the media (newspapers, radio, TV) have always been used by: politicians, business, etc. For example, originally Facebook was a simple social networking site. But big business saw it as an advertising platform. What big company wouldn't take advantage of such an opportunity? It seems to me that in the case of Wikipedia, such intrusive practices would rather not pass. Perhaps some vague references in a very short form could be smuggled in, but it would have to be of considerable length. But that would be quickly picked up and removed. After all, a lot of people read Wikipedia, people who are very allergic to BigTech or BigPharma. Perhaps articles on sociology, political science, history or religion (especially one that is very noisy) may contain some politically correct references. It is important to remember that Wikipedia is edited in many languages. What is reproved in one, can be praised in another (e.g. fanaticism of various ideologies, both utopian and fantastic). ---------------------------------------------------------------------- 440bx · 2023-08-01 23:57 Quote from: Joanna on August 01, 2023, 11:48:03 pmIt would be fairly exhausting to go through all the times I’ve discovered biased/ lying Wikipedia articles. Nowhere have I requested that you provide a list of "all the times" you've "discovered biased/lying articles."  What I have requested, multiple times, is one or preferably more examples of the accusations you are, unfoundedly, making yet again!. Quote from: Joanna on August 01, 2023, 11:48:03 pmI sent you a pm regarding A case of mass murder wherein some buildings with people in them were demolished.You sent me a PM where you made an, again, unsupported claim.  Since you make the accusations in public, supporting evidence should also be made in public. Additionally, what you sent in the PM is not evidence, it is simply yet one more unsupported accusation. Since in the paragraph above I am claiming that you did NOT provide support for any of the accusations you've made, attached to this post is a snapshot of the PM you sent me which clearly shows that it is nothing but another unsupported claim.  There is the support for the claim I've made, you should consider supporting the claims you make. @VisualLab, you supported the accusations made to Wikipedia, though you did note that @Joanna's accusations were exaggerated but, the fact remains: you have _not_ provided any support whatsoever for those accusations you agree with. Furthermore, you claimed to have unsuccessfully attempted to correct some of the articles you found "deficient" in some way but, when it comes to giving examples, nothing but excuses for leaving the accusations unfounded.  Simply not good enough. Just in case, this is part of what you posted:Quote from: VisualLab on July 30, 2023, 12:54:01 amI myself tried many times to straighten the nonsense contained in some IT articles in Wikipedia (e.g. C language, Python language).Again, I ask you to post a few links to some of those articles that, according to you, contain nonsense, what the nonsense is and, what the article should say instead. I realize that this is more work than simply making accusations but, since you questioned Wikipedia's credibility, I feel it necessary to inform you that when you do not provide support for _your_ statements then it is _your_ credibility that suffers, certainly not Wikipedia's. ---------------------------------------------------------------------- 440bx · 2023-08-02 05:03 Quote from: Joanna on August 02, 2023, 05:18:41 amAlthough I have found many discrepancies in Wikipedia, I chose a well known mass murder event as an example of bias. You also chose _not_ to provide a link to the article and, chose _not_ to point out what is wrong with it among the most basic actions you should have taken to support your hollow points.  I say hollow because if there was any substance to the claims you've made, you would have provided some support for them by now. Quote from: Joanna on August 02, 2023, 05:18:41 amI’m sorry, I had assumed that everyone was already familiar with the famous story What you're really sorry about is that you assumed that no one would ask you to support your claims.  That you are obviously sorry about because your inability to support your claims could hardly be more evident. Quote from: Joanna on August 02, 2023, 05:18:41 amDid I fail to mention that I studied Physics? That wouldn't make your claims any more dubious than they already are but, I'm pleased you studied something. Quote from: Joanna on August 02, 2023, 05:18:41 amIt’s great that you have such a staunch sense of loyalty to Wikipedia for providing you with some good articles. That’s exactly what they want  I don't have a staunch sense of loyalty to Wikipedia.  What I do have is a set of moral and ethical principles that require accusations made by someone to be reasonably well supported.  IMO, this is very important because while you are throwing unfounded accusations about Wikipedia at this time, if that unacceptable behavior is not challenged, i.e, the lack of foundation, then it's likely you'll baselessly accuse other people or organizations just because they are not to your liking, e.g, you seem to have a problem with lurkers in IRC. ---------------------------------------------------------------------- LV · 2023-08-02 05:18 Healthy skepticism will not hurt when reading not only Wikipedia, but also the journal Nature. This also applies to the discussion of the programming languages Modula2, Oberon and others ---------------------------------------------------------------------- MarkMLl · 2023-08-02 06:21 Quote from: lvbnhbq on August 02, 2023, 07:18:20 amHealthy skepticism will not hurt when reading not only Wikipedia, but also the journal Nature. This also applies to the discussion of the programming languages Modula2, Oberon and others I agree. Look chaps, this thread really has gone wildly off-topic, and has turned into something borderline unpleasant. We all know why, and we all know who has a history of encouraging such things (and has been warned firmly by the mods about doing so). So if there's nothing more useful to say about Modula-2 and Oberon, could we /please/ draw a line under this. MarkMLl ---------------------------------------------------------------------- JanRoza · 2023-08-02 09:26 MarkMLI, I fully agree. Close this subject. ---------------------------------------------------------------------- MarkMLl · 2023-08-02 09:49 Not my decision. But if there's any more of this grossly off-topic conspirationalist stuff I'll ask the mods to review the thread. I thought it appropriate to reassure somebody that the technical articles on Wp aren't, generally, too bad after suggesting rather brusquely that zhe should check it before going off-topic here (i.e. "What's POSIX?" etc.): however that appears to have been taken as an invitation to rant. MarkMLl ---------------------------------------------------------------------- Kays · 2023-08-02 12:37 Quote from: 440bx on July 29, 2023, 07:54:31 pmQuote from: Kays on July 29, 2023, 05:00:28 pmYou choose a programming language based on your application’s needs. If Pascal’s “deficiencies” render it unsuitable for your application, choose a different programming language.In that case, the original Pascal is perfectly well suited to write a "Hello World" application and _maybe_ something _slightly_ more elaborate.The term original Pascal is not well defined. Do you even intend to program on a computer built in 1970? Quote from: VisualLab on July 30, 2023, 12:54:01 am[…] The main problem with Wikipedia is its credibility. […]I am mainly concerned, because WP’s mission is to preserve all mankind’s knowledge (within its “relevance criteria”): That means more and more articles get created as “new knowledge” comes into existence, yet still there is a rather constant number of contributors who have to maintain a growing number of articles. There are various technical efforts, but I am afraid they do not address the general issue here. As of today there is no policy for deleting articles/content merely because of lack of manpower, because they cannot be maintained anymore. Quote from: 440bx on August 01, 2023, 02:55:37 pm[…] You and a few others in this thread make accusations against Wikipedia but, none of you have the _decency_ of supporting them, therefore, your "concerns" (read: unsupported biases) are not worth anyone's consideration (certainly not mine!). […]Well, have you checked Wikipedia? Quote from: MarkMLl on August 01, 2023, 04:26:18 pmNo, it was vandalism. In Wikipedia.I am sorry, vandalism was easier to spot in the version history (“reverted” tag). Here is an example for factual inaccuracy: In November 2019 someone added the claim, the FPC supported both ISO standards. In 2019, FPC version 3.0.4 was current. Yet the FPC 3.0.4 provides very limited support. For example, ISO standards 7185 and 10206 state:QuoteAny assertion in clause 6 that the end-of-line value is attributed to a variable other than a component of a sequence shall be construed as an assertion that the variable has attributed to it the char-type value space.In less complicated terms this means (Jensen/Wirth, Pascal user manual and report, 4th ed.):QuoteWhen eoln(F) becomes true for textfile F (Section 11.5.2), the buffer variable F↑ becomes the char value space (' ').Now take the following programCode: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i {$mode ISO}program isoIOtest(input, output);begin        while not EOF do        begin                output^ := input^;                              if input^ = ' ' then                begin                      output^ := '|';                end;                              put(output);                get(input);        end;end.If this program is fed with two linesCode: Text  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i foobarThe GPC correctly produces the output foo|bar. The FPC does not. This unsourced claim remained live for 3½ years. ---------------------------------------------------------------------- JanRoza · 2023-08-02 13:50 Quoteeasier to criticize than to help isn’t it? Johanna, and your off-topic interventions do help? Moderator please lock this subject, it is the only way to stop some people from going off-topic time and time again. ---------------------------------------------------------------------- marcov · 2023-08-02 13:53 Indeed enough is enough, locked