Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Names of functions inconsistent and against conventions

Aperta
#2 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@jaksmid ci sta già lavorando.

Dal 23/2/2015.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

OpenmlConnector:
Almost all methods starts with openMl. This is generally not recommended as it should be clear from the object type itself what it is upload.
It would be like class person would have methods like getPersonName.

Method also usually start with nout and then verb.
e.g. dataUpload. This could lead to thinking that you are creating some sort of precooked dataupload object (especially when the return data type is called DataUpload).
It is usually recommended to start with verb first, e.g. uploadData.
It would be also consistent with some other methods in the class that starts with verb.

There are multiple ways to go, we could break the API or we could stuill support the old api and mark the old methods as obsolete.
Ref: http://www.iwombat.com/standards/JavaStyleGuide.html

Lingua principale
Java
Stelle
12
Fork
5
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di openml/openml-java

Tutte le issue di openml/openml-java

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.