|
I can't explain the maven hate. I use maven with scala because it is the best
|
# ? Aug 20, 2013 00:18 |
|
|
# ? Jun 11, 2024 03:00 |
on a side note, docker seems really cool and useful and should be a good representative thing for golang
|
|
# ? Aug 20, 2013 00:19 |
|
C++ code:
|
# ? Aug 20, 2013 00:25 |
|
Posting Principle posted:
you already crossed that line a long time ago with QT
|
# ? Aug 20, 2013 00:26 |
Posting Principle posted:
nice javascript
|
|
# ? Aug 20, 2013 00:26 |
|
more curly braces, curly braces in every line
|
# ? Aug 20, 2013 00:26 |
|
goodbye type names, good bye most vexing parses submit to the curly braces
|
# ? Aug 20, 2013 00:27 |
|
i read some scala code today that was pretty much java with type inference and automatic constructors. pretty nice that we have the technology now to not have to type SomeLongAssClassName<OhWowItsAGenericToo<FuckYouJava>>> g = new NowIHaveToTypeItAgain<ThankGodForAutoComplete<IWantToDie>>>(24, true, null, 213,); all the time. stay DRY, bicth.
|
# ? Aug 20, 2013 00:30 |
|
if you get mad about verbosity you're the biggest whiney babby idiot.
|
# ? Aug 20, 2013 00:41 |
|
The fact that the language convention tends towards readability is one of its strengths. also the auto complete literally makes it faster than an untyped shortcut that the autocomplete cant figure out for you.
|
# ? Aug 20, 2013 00:42 |
|
c++ is ugly as hellcode:
c++ seems to keep layering poo poo on poo poo to make up for all its shortcomings
|
# ? Aug 20, 2013 00:52 |
|
thats just c but with typecasts you can grep for though
|
# ? Aug 20, 2013 00:54 |
|
Posting Principle posted:
Shoulda used emplace_back. In fact, why does that collection have a member called append?
|
# ? Aug 20, 2013 00:55 |
|
Probably doesn't even have a move constructor.
|
# ? Aug 20, 2013 00:55 |
|
Zombywuf posted:Shoulda used emplace_back. In fact, why does that collection have a member called append? Qt legacy containers
|
# ? Aug 20, 2013 00:57 |
|
If only concept maps, or whatever they were called, had made it in.
|
# ? Aug 20, 2013 01:04 |
|
suffix posted:i read some scala code today that was pretty much java with type inference and automatic constructors. doesn't java 7 let you go SomeLongAssClassName<OhWowItsAGenericToo<FuckYouJava>>> g = new SomeLongAssClassName<>(24, true, null, 213);
|
# ? Aug 20, 2013 01:46 |
|
Zombywuf posted:If only concepts had made it in. considering it took until the yool 2012 for lambdas to make it into these languages, i await 2030 when we finally get typeclasses.
|
# ? Aug 20, 2013 01:50 |
|
java doesn't have lambdas
|
# ? Aug 20, 2013 02:01 |
|
more sluggish than the c++ standard committee, gently caress you oracle
|
# ? Aug 20, 2013 02:02 |
|
worse than the people who delivered c++0x in 2011
|
# ? Aug 20, 2013 02:03 |
|
Brain Candy posted:java doesn't have lambdas any day now..... until then use scala (keep using scala after jdk 8 too)
|
# ? Aug 20, 2013 02:48 |
|
yaoi prophet posted:doesn't java 7 let you go oh, yeah, you can do that now. thanks, java!
|
# ? Aug 20, 2013 02:53 |
|
if lambdas ever become useful im sure they'll be added to java
|
# ? Aug 20, 2013 02:54 |
weve hit peak shaggar
|
|
# ? Aug 20, 2013 02:56 |
|
Shaggar posted:if lambdas ever become useful im sure they'll be added to java lambdas are in jdk8, mostly useful with collections Scala does a way better job, but jdk8 makes things suck less
|
# ? Aug 20, 2013 03:09 |
|
Posting Principle posted:thats just c but with typecasts you can grep for though its ugly as h*ck thats what it is
|
# ? Aug 20, 2013 03:26 |
|
gucci void main posted:as far as I've ever understood, the problem with scala is that it tries to jam every paradigm and feature into one language which subsequently leads to no real identity or niche and massive bloat, granted some people might like that though unixbeard posted:c++ is ugly as hell the best is that java looked at the c++ example and said "we should do that but without all the powerful parts because java programmers cannot be trusted"
|
# ? Aug 20, 2013 03:28 |
|
Zombywuf posted:Shoulda used emplace_back. msvc only allows one argument to emplace_back
|
# ? Aug 20, 2013 03:29 |
|
i bought a SensorTag im going to build an app that tells me how far away i am from my coffee and also how hot it is
|
# ? Aug 20, 2013 03:32 |
|
Cocoa Crispies posted:the best is that java looked at the c++ example and said "we should do that but without all the powerful parts because java programmers cannot be trusted" not sure what's wrong about realizing how terrible developers are at using programming languages
|
# ? Aug 20, 2013 03:33 |
|
Cocoa Crispies posted:the best is that java looked at the c++ example and said "we should do that but without all the powerful parts because java programmers cannot be trusted" what are all the mythological "powerful" parts?
|
# ? Aug 20, 2013 03:33 |
|
Shaggar posted:what are all the mythological "powerful" parts? being able to add more levels of indirection
|
# ? Aug 20, 2013 03:34 |
|
or having generics without type-erasure maybe
|
# ? Aug 20, 2013 03:34 |
|
vapid cutlery posted:or having generics without type-erasure maybe wait what how are cpp generics not type erased, they are literally a source template
|
# ? Aug 20, 2013 03:57 |
|
Notorious b.s.d. posted:wait what because type erasure doesn't happen, the static type == the runtime type. thats the best answer i can give, but really your question indicates a fundamental misunderstanding of C++ templates, type erasure, Class objects, compilation, and linking
|
# ? Aug 20, 2013 04:15 |
|
Shaggar posted:what are all the mythological "powerful" parts? like you don't sit there with your c# and java sometimes and think to yourself "boy, i wish i had a turing complete metaprogramming language based on type parametrization right now."
|
# ? Aug 20, 2013 04:19 |
|
i wish c++ had sane and convenient features rather than a horrifyingly complicated and lovely compile-time environmemt for computation of types. it cripples development of things that mortals might use because a sperg in venezuela already bodged it up as a template library. instead of concepts we get template metaprograms that fail in curious ways, and by composing about 5 pounds of < and > worth of template metaprograms you can create a concept in go its like INTERFACE METHOD METHOD DONE bam you made a concept. thats how it should work in c++ too
|
# ? Aug 20, 2013 04:25 |
|
theres a distinction between what should be language level and what should be library level. c++ makes all the wrong choices. also generics in java is basically a wrapper around void* containers that does some compile time checking to make sure you really didnt put the wrong kind of thing in there.
|
# ? Aug 20, 2013 04:27 |
|
|
# ? Jun 11, 2024 03:00 |
|
how much confusion do you think would be avoided if c used different words for functions returning void and like void pointers
|
# ? Aug 20, 2013 04:43 |