I believe the proposal here is merely to make the template empty by 
default--people who want a default license header (to e.g. the Apache license) 
can still use the feature, but must customize the template first, like they 
always had to before.

The default license header has always been a slight annoyance to me. Different 
projects I work on have different licenses, so it has never made sense for me 
to try to customize the default. Instead I just end up deleting the 
auto-inserted comments every time.

But I think this is a bigger issue for beginners, who will likely just leave 
the defaults in, out of fear of breaking anything. When you're trying to teach 
students how to write a for loop, all the magic incantations at the beginning 
of a Java file are just distractions.

-- Eirik

-----Original Message-----
From: Matthias Bläsing <mblaes...@doppel-helix.eu> 
Sent: Sunday, May 31, 2020 12:55 PM
To: dev@netbeans.apache.org
Subject: Default license header in generated files confuses students (was: Re: 
The time has come to bd farewell to the license header)

Hi,

Am Sonntag, den 31.05.2020, 16:37 +0000 schrieb Kenneth Fogel:
> Please, please, please get rid of this:
> 
> /*
> * To change this license header, choose License Headers in Project Properties.
> * To change this template file, choose Tools | Templates
> * and open the template in the editor.
> */
> 
> My students think its important so refuse to remove it or go to Tools
> | Templates and delete it there. Its really annoying. If you want to
> keep it then put it at the end of the file with the added notation 
> Delete Me.
> 

please use speaking subjects. They are not funny and not helpful. I updated it 
to a from my POV better summary.

I don't get your point. License headers are important, the development 
ecosystem shifts to opensouce models (hell, even Microsoft admits that) and in 
that case clear licensing is a base requirement.

If your students don't understand what is written there teach them, I 
understood you are in teaching, so use the oportunity. Just as teachers in 
germany have to consider correct spelling and grammer even in non- language 
subjects, you could make it a point by deducing points for invalid license 
headers.

There is even a description how to "fix" the issue, so if that is to hard, 
maybe programming is not the right direction for the students?

The header can't be placed at the end of the file as convention requires it to 
be at the top. There are projects out there that
(rightly) refuse to include software without clear license statement.

Maybe this gives this another perspective.

Greetings

Matthias


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to