|
the funniest part is that golang will still be a bad language even if they inevitably add in decent generics but it'd still be over 8 years since the language's public inception in which every single year involved everyone that wasn't blind to the development of programming languages for the past 5 decades asking for generics
|
# ? Jun 21, 2015 23:19 |
|
|
# ? May 27, 2024 19:39 |
|
go is objectively bad but please remember that users of bad languages are victims of the language and not perpetrators. please dont victim blame in this thread, it is the safe zone. i dont have any specific examples, just a friendly reminder to this thread.
|
# ? Jun 21, 2015 23:30 |
|
i agree i'm mad mainly at rob pike, google, et al. for hyping a bad language for naive programmers trying to break out of the hellhole of dynamic typing that is ruby or python or w/e i think the most we can do is just educate people away from voluntarily choosing the language
|
# ? Jun 21, 2015 23:31 |
|
i know some good programmers who are not afraid of type systems and they like go a lot. it seems to me that the language seems really dumb until you adopt whatever the idiomatic approach is and then it becomes usable.
|
# ? Jun 21, 2015 23:34 |
|
the idiomatic approach is to untype everything with interfaces because the language was incorrectly designed
|
# ? Jun 21, 2015 23:35 |
|
MALE SHOEGAZE posted:it seems to me that the language seems really dumb until you adopt whatever the idiomatic approach is and then it becomes usable. so you're saying the idiomatic approach to golang is to not implement any data structures, because user-created generic structures subvert the type system is that the point where it's supposed to stop seeming dumb?
|
# ? Jun 21, 2015 23:37 |
|
i actually prefer golang's approach of functional composition over java/c# where everything has OOP kool-aid boilerplate for no good reason i also like that you can't do subtype polymorphism and must use interfaces i think moving away from the OOP madness is part of the appeal of golang but it's not compelling when you replace OOP madness with another form of madness that is actually worse
|
# ? Jun 21, 2015 23:38 |
|
Notorious b.s.d. posted:so you're saying the idiomatic approach to golang is to not implement any data structures, because user-created generic structures subvert the type system you just have to make them data structures of interface{} or copy paste the implementation for every type you want lol
|
# ? Jun 21, 2015 23:39 |
|
lol this is my favorite. "i personally am too inexperienced to be able to comprehend how generics could ever be useful outside of the container types already present in the standard library, therefore generics are unnecessary" if i look back over the java i've written this last couple of years, there are a good dozen or so packages that use generics to do things utterly unrelated to providing basic container types, plus several data structures that were missing from the standard library and not readily available in suitable third-party libraries. could i have written all that code without generics? yes, but it wouldn't have had compile-time type safety, so it would have been like programming with one hand tied behind my back. why would i ever choose a language like go that wilfully refuses to provide useful tools that come as standard elsewhere?
|
# ? Jun 21, 2015 23:40 |
|
comedyblissoption posted:or copy paste the implementation for every type you want when golang finally adds generics, what do you want to bet they turn out to be c++-style templating
|
# ? Jun 21, 2015 23:42 |
|
i have faith that they'll choose the worst possible style of generics
|
# ? Jun 21, 2015 23:43 |
|
Zlodo posted:id say focus on the math side for now and dont bother too much digging far into opengl because it'll become very obsolete very soon when vulkan and dx12 become available vulkan seems likely to be a thing only game engine writers will care about, not your average programmer using an engine is probably correct for opengl as wel,l unless you'd rather get stuck in fiddly perspective matrix math than finish a project
|
# ? Jun 21, 2015 23:50 |
|
I'm sure Jonathan Blow will *blow* everyone's mind with his new language actually I never watched any of his videos, how good (or bad) is his language thing?
|
# ? Jun 22, 2015 00:02 |
|
i've never watched them either but i feel safe in assuming that his language is bad
|
# ? Jun 22, 2015 00:05 |
|
Valeyard posted:i need a new project use your Haskell skills to add support for more constructs to CλaSH
|
# ? Jun 22, 2015 00:46 |
|
|
# ? Jun 22, 2015 00:48 |
|
comedyblissoption posted:i have faith that they'll choose the worst possible style of generics some hellish combination of C++ style templates for compile time and type erasure so none of that propagates to runtime?
|
# ? Jun 22, 2015 00:51 |
|
in go, it's a build error to declare a variable and not use it. it's also a build error to import a package and not use it. i don't appreciate this when i'm experimenting with some code change and want to just compile and run without cleaning up all the loose ends first. you literally have to be a retard to like this language.
|
# ? Jun 22, 2015 06:21 |
|
fleshweasel posted:in go, it's a build error to declare a variable and not use it. these would be sensible as warnings, not as errors
|
# ? Jun 22, 2015 06:42 |
|
i mainly use Java 1.3 in my job and the lack of generics is HELL and every time i need a list of things i have to go have a cry out back
|
# ? Jun 22, 2015 07:10 |
|
let's be honest here how often do you really need lists or containers of things in programming it's really an edge case scenario
|
# ? Jun 22, 2015 07:46 |
|
bobbilljim posted:i mainly use Java 1.3 in my job whyyyyyy
|
# ? Jun 22, 2015 07:47 |
|
bobbilljim posted:i mainly use Java 1.3 in my job and the lack of generics is HELL and every time i need a list of things i have to go have a cry out back . . . I mean, what the hell man
|
# ? Jun 22, 2015 07:58 |
|
bobbilljim posted:i mainly use Java 1.3 in my job and the lack of generics is HELL and every time i need a list of things i have to go have a cry out back
|
# ? Jun 22, 2015 09:02 |
|
St Evan Echoes posted:lol i thought i was badly off using 1.5 bobbilljim posted:i mainly use Java 1.3 in my job and the lack of generics is HELL and every time i need a list of things i have to go have a cry out back how does that happen? are you stuck writing for windows 2000 or something
|
# ? Jun 22, 2015 12:52 |
|
fleshweasel posted:in go, it's a build error to declare a variable and not use it.
|
# ? Jun 22, 2015 12:53 |
|
Brain Candy posted:
|
# ? Jun 22, 2015 13:23 |
|
go users will simply tell you to install a plugin that deletes anything that isn't being used on every save
|
# ? Jun 22, 2015 15:01 |
|
triple sulk posted:go users will simply tell you to install a plugin that deletes anything that isn't being used on every save Please tell me that this isn't actually a thing.
|
# ? Jun 22, 2015 15:07 |
|
I think one exists for Eclipse too.
|
# ? Jun 22, 2015 15:11 |
|
I haven't used cpp since 2007 they have lambdas now!? #wow #whoa
|
# ? Jun 22, 2015 15:22 |
|
i have spent some time trying to get an "older" Rust library to compile and it's absolutely insane how much has changed. the last successful build was apparently just 6 month ago and at this point i'm wondering if it's even worth it to keep going or to just write it from scratch because I'm just making whatever change gets it to compile and i have no idea if it's going to work at the end of it.
|
# ? Jun 22, 2015 15:49 |
|
rrrrrrrrrrrt posted:i have spent some time trying to get an "older" Rust library to compile and it's absolutely insane how much has changed. the last successful build was apparently just 6 month ago and at this point i'm wondering if it's even worth it to keep going or to just write it from scratch because I'm just making whatever change gets it to compile and i have no idea if it's going to work at the end of it. seems like your library is rusty
|
# ? Jun 22, 2015 16:10 |
|
cross-posting from the CoC get a job thread:recruiter posted:Hi gonadic io i'm counting this as a win
|
# ? Jun 22, 2015 16:41 |
|
rrrrrrrrrrrt posted:i have spent some time trying to get an "older" Rust library to compile and it's absolutely insane how much has changed. the last successful build was apparently just 6 month ago and at this point i'm wondering if it's even worth it to keep going or to just write it from scratch because I'm just making whatever change gets it to compile and i have no idea if it's going to work at the end of it. but of course it has a good test suite to verify correct behavior, right? right??
|
# ? Jun 22, 2015 16:43 |
|
gonadic io posted:cross-posting from the CoC get a job thread: con(gratulations|dolences)
|
# ? Jun 22, 2015 16:45 |
|
currently contemplating building some sort of distributed chat system as a side project. clojure seems neat but dynamic typing ugh.
|
# ? Jun 22, 2015 16:47 |
|
gonadic io posted:cross-posting from the CoC get a job thread:
|
# ? Jun 22, 2015 16:54 |
|
Bloody posted:duck typing is so awful they're taking it out of python lol lol
|
# ? Jun 22, 2015 16:54 |
|
|
# ? May 27, 2024 19:39 |
|
Plastic Snake posted:currently contemplating building some sort of distributed chat system as a side project. clojure seems neat but dynamic typing ugh. clojure's eventual typing is really cool
|
# ? Jun 22, 2015 16:55 |