Jump to content

Talk:Boilerplate code

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

C# / WPF INotifyProperyChanged

[edit]

I think the standard implementation of INofifyProperyChanged in WPF should be put here. ( i myself can't recall it perfectly)


130.95.218.211 (talk) 07:26, 27 March 2012 (UTC)[reply]

The HTML section is wrong

[edit]

It's simply not true that most webpages contain !DOCTYPE html or charset="utf-8", (though this page does), and for these HTTP has headers to prevent a document having to explain by itself how it should be read, which is very awkward. That's like a letter that starts with "This contract is written in English, so if you understand what this sentence means than I can assure you this contract is in English".

Oh, this is not HTML at all, the DOCTYPE says it's a PDF in HTML format so it can tell me it's actually a PDF. Let's try Acrobat and see what happens. - no browser ever. The rest of the example contains real, important things, like "here's the html", "this is the header", "this is the title", "this is the body". If that's boylerplate, "Introduction" and "Chapter I" in a book is. Joepnl (talk) 00:22, 9 August 2014 (UTC)[reply]

Lack of citations

[edit]

In the definition no reference. Also the presented solutions such as metaprogramming have no reference. — Preceding unsigned comment added by 86.84.45.195 (talk) 11:32, 19 May 2017 (UTC)[reply]

I added Template:Refimprove. Whenever you see an article on Wikipedia that needs more references, you don't need to comment on the talk page as you did above, just add {{Refimprove}} to the top of the article. Biogeographist (talk) 12:41, 20 May 2017 (UTC)[reply]

Origin section on etymology

[edit]

The "Origin" section in this article directly contradicts the etymology explanation given in the Boilerplate (text) article, which links here. The two sections should at least be consistent, and the explanation in this article lacks any citations. --NCraike (talk) 00:38, 28 June 2017 (UTC)[reply]

Records in java

[edit]

In java 15+ you can now write

public record Pet (String name, Person owner) {}

to achieve the same. See https://docs.oracle.com/en/java/javase/15/docs/api/java.base/java/lang/Record.html — Preceding unsigned comment added by 2A01:E35:2430:22F0:FE7:F4C7:7146:F362 (talk) 21:42, 5 March 2021 (UTC)[reply]