In theory, the use of Dummy{T} without explicitly declaring a “scope” for T, would mean that Dummy is an abstract type. But if I try to make an abstract type with that structure:
julia> abstract type Dummy{T} end
It works, but when I try to subtype it:
julia> struct QueCono{T}<:Dummy{T} where T<:Real
a::Float64
b::T
end
I get the error:
ERROR: invalid subtyping in definition of QueCono: can only subtype data types.
Stacktrace:
[1] top-level scope
@ REPL[12]:1
Haha, that’s okay. I’ve had a lot of frustrations learning Julia as well, they’re just much, MUCH more preferable frustrations than I’ve had with other languages. I am also personally supportive of opportunities to vent, and have constructively done so here. Another location for smaller gripings is in Slack.
Thank you for taking the time to ask your question rather than letting it go unasked. Don’t be afraid to ask other questions after doing some research on it, which I find is the best way to learn and develop skills.
And between you and me, I’ve put cusses in code as well. Moreso my MATLAB code. And maybe once or twice in Julia trying to get plot recipes working in Plots.jl or Makie.jl.
Also, I took the liberty of making your question-title more specific .