User talk:Abdekker

Welcome!

Hello,, and welcome to Wikipedia! I hope you like the place and decide to stay. Unfortunately, one or more of the pages you created may not conform to some of Wikipedia's guidelines for page creation, and may soon be deleted (if it hasn't already).

There's a page about creating articles you may want to read called Your first article. If you are stuck, and looking for help, please come to the New contributors' help page, where experienced Wikipedians can answer any queries you have! Or, you can just type   on your user page, and someone will show up shortly to answer your questions. Here are a few other good links for newcomers: I hope you enjoy editing here and being a Wikipedian! Please sign your name on talk pages using four tildes ( ~ ); this will automatically produce your name and the date. If you have any questions, check out Where to ask a question or ask me on. Again, welcome! Blowdart | talk 13:14, 22 December 2008 (UTC)
 * Your first article
 * Biographies of living persons
 * How to write a great article
 * The five pillars of Wikipedia
 * Help pages
 * Tutorial

Speedy deletion of Pacru
A tag has been placed on Pacru requesting that it be speedily deleted from Wikipedia. This has been done under section A1 of the criteria for speedy deletion, because it is a very short article providing little or no context to the reader. Please see Wikipedia:Stub for our minimum information standards for short articles. Also please note that articles must be on notable subjects and should provide references to reliable sources that verify their content.

If you think that this notice was placed here in error, you may contest the deletion by adding  to the top of the page that has been nominated for deletion (just below the existing speedy deletion or "db" tag), coupled with adding a note on the talk page explaining your position, but be aware that once tagged for speedy deletion, if the article meets the criterion it may be deleted without delay. Please do not remove the speedy deletion tag yourself, but don't hesitate to add information to the article that would would render it more in conformance with Wikipedia's policies and guidelines. Lastly, please note that if the article does get deleted, you can contact one of these admins to request that a copy be emailed to you. Blowdart | talk 13:14, 22 December 2008 (UTC)

Proposed deletion of Pacru
A proposed deletion template has been added to the article Pacru, suggesting that it be deleted according to the proposed deletion process
 * Non-notable game

All contributions are appreciated, but this article may not satisfy Wikipedia's criteria for inclusion, and the deletion notice should explain why (see also "What Wikipedia is not" and Wikipedia's deletion policy). You may prevent the proposed deletion by removing the  notice, but please explain why you disagree with the proposed deletion in your edit summary or on its talk page.

Please consider improving the article to address the issues raised because, even though removing the deletion notice will prevent deletion through the proposed deletion process, the article may still be deleted if it matches any of the speedy deletion criteria or it can be sent to Articles for Deletion, where it may be deleted if consensus to delete is reached. Blowdart | talk 15:24, 22 December 2008 (UTC)

December 2008
Welcome to Wikipedia. It might not have been your intention, but you removed a speedy deletion tag from a page you have created yourself. If you do not believe the page should be deleted, you can place a tag on the page, under the existing speedy deletion tag (please do not remove the speedy deletion tag), and make your case on the page's. Administrators will look at your reasoning before deciding what to do with the page. Blowdart | talk 15:24, 22 December 2008 (UTC)

January 2017
I have reverted the changes you made to indent style, since the original code was in fact valid Pascal code; your changes appeared to be trying to make it look like C code. Murray Langton (talk) 14:03, 9 January 2017 (UTC)

[Abdekker] The code doesn't compile in the Delphi compiler and is not valid Pascal code. I'm a Delphi/Pascal programmer.

Hi Abdekker,
 * A minor point: at the end of anything you add to a talk page, you can sign your name, date, time etc. by adding 4 tilda symbols '~'.


 * Let's have a look at the disputed code:

(* Example Allman code indentation style in Pascal *) procedure dosomething(x, y: Integer); begin while (x = y) do      begin something; somethingelse; end; end;

For Standard Pascal see.

It may well be that the Delphi compiler doesn't entirely conform to standard Pascal, but the following points need to be considered:
 * In the line  while (x = y) do , the round brackets are not required, though their presence does not harm.
 * In the line  something; , the round brackets are not required; just the name is enough when calling a parameterless procedure.
 * in the phrase  (x, y: Integer) , standard Pascal uses  integer  or   INTEGER . If Delphi insists on  Integer  then it is Delphi which is wrong, since the standard says that either case is acceptable.

You can respond here, since I am watching your talk page. Murray Langton (talk) 20:02, 9 January 2017 (UTC)

[AD] Hi Murray. Thanks for pointing out the 4 tilda tag. Will use at the end of this response.
 * AFAIK, the Delphi compiler is fully compliant with the Pascal standard. Pascal itself is not case sensitive, but for some reason I got it into my head that the latest versions of Delphi were case sensitive (or at least had an option to enforce case sensitivity). You can read about me asking this (silly) question on StackOverflow here which has an interesting trail of comments:

http://stackoverflow.com/questions/41554227/case-sensitivity-in-pascal-using-integer-as-example
 * The original code isn't valid Pascal code because of the procedure declaration. "procedure dosomething(x: integer, y: integer)" won't compile in any Pascal compiler because of two errors (cannot separate parameters with a comma and no semi-colon at end of line).
 * Correct, brackets are not required, but they are good programming practice and do no harm. They help make it explicit what is being compared.
 * Correct, empty brackets are not required for calling a parameterless procedure. But again it is good programming practice to use consistent method calling as in "method1;" and "method2(param1);
 * I've seen thousands of Pascal articles and pages of code over the years and see "Integer" most frequently, though "integer" is also used a lot. At a guess, I'd say 60-40% split. However, "INTEGER" is used vanishingly rarely, so I'd have to disagree with you that this is somehow "standard Pascal". Pascal is case-insensitive, so by definition all three examples are valid. I've no objection to using either "Integer" or "integer" in the example, but all the other changes are good (and two are essential!).

Best, AlainAbdekker (talk) 11:19, 10 January 2017 (UTC)

I propose to replace  while (x = y) do  by  while x = y do  since I think the latter reads better without the round brackets (those used to C/C++/Java may disagree). Murray Langton (talk) 15:28, 11 January 2017 (UTC)

Hi Murray. Sure, I've no strong objection to removing the brackets on "while x = y do", though I think you'll find a big majority of non-Pascal developers (and at least some Pascal developers such as myself) would prefer brackets here to retain familiarity with their language and more clearly identify the expression. Go ahead if you still would like to change the code. Good talking with you, best regards.