Title: Generalize ConvertService + Converter · Issue #109 · scijava/scijava-common · GitHub
Open Graph Title: Generalize ConvertService + Converter · Issue #109 · scijava/scijava-common
X Title: Generalize ConvertService + Converter · Issue #109 · scijava/scijava-common
Description: The ancestors of these classes evolved to have API for handling Type and Class separately. This is unnecessary.. we should unify this API by focusing on Type and special-casing Class. This will simplify things and reduce the number of si...
Open Graph Description: The ancestors of these classes evolved to have API for handling Type and Class separately. This is unnecessary.. we should unify this API by focusing on Type and special-casing Class. This will sim...
X Description: The ancestors of these classes evolved to have API for handling Type and Class separately. This is unnecessary.. we should unify this API by focusing on Type and special-casing Class. This will sim...
Opengraph URL: https://github.com/scijava/scijava-common/issues/109
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Generalize ConvertService + Converter","articleBody":"The ancestors of these classes evolved to have API for handling `Type` and `Class` separately. This is unnecessary.. we should unify this API by focusing on `Type` and special-casing `Class`.\n\nThis will simplify things and reduce the number of signatures.\n\nFurthermore the API of `\u003cT\u003e convert(Object, Class\u003cT\u003e)` is really a holdover from the old uber-conversion mindset. What we should have is:\n- [x] A single high-priority (right after `NullConverter`) `castingConverter` that handles casting. This implies that low-level converters do not cast, but provide their specific output type.\n- [ ] Refactor API so converters just implement `O convert(I)`\n","author":{"url":"https://github.com/hinerm","@type":"Person","name":"hinerm"},"datePublished":"2014-07-25T17:09:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/109/scijava-common/issues/109"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e66a1f79-dc7b-5c37-b79a-012ce611fc51 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9DBA:9DE01:1036D27:1637E80:6969F4EB |
| html-safe-nonce | 93b41b00b370916bc8fa575f66584dff6e5e72ac9badfa092a8a043d51dac931 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5REJBOjlERTAxOjEwMzZEMjc6MTYzN0U4MDo2OTY5RjRFQiIsInZpc2l0b3JfaWQiOiIxMzY2NDU2MDIzMjIzMjM1ODE5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2cc3546cb7b4af8b7abdeac5d682149cbecf29e0685e63ac7a4f07da415fade5 |
| hovercard-subject-tag | issue:38750932 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/scijava/scijava-common/109/issue_layout |
| twitter:image | https://opengraph.githubassets.com/76d5933928a05be0696f24e3a99c91d065a7253a6e046e3612a3d402f1a404d5/scijava/scijava-common/issues/109 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/76d5933928a05be0696f24e3a99c91d065a7253a6e046e3612a3d402f1a404d5/scijava/scijava-common/issues/109 |
| og:image:alt | The ancestors of these classes evolved to have API for handling Type and Class separately. This is unnecessary.. we should unify this API by focusing on Type and special-casing Class. This will sim... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hinerm |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| turbo-cache-control | no-preview |
| go-import | github.com/scijava/scijava-common git https://github.com/scijava/scijava-common.git |
| octolytics-dimension-user_id | 1262770 |
| octolytics-dimension-user_login | scijava |
| octolytics-dimension-repository_id | 3594497 |
| octolytics-dimension-repository_nwo | scijava/scijava-common |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3594497 |
| octolytics-dimension-repository_network_root_nwo | scijava/scijava-common |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width