|
Su-Su-Sudoko posted:
what is this? looks interesting
|
# ? Oct 8, 2016 16:28 |
|
|
# ? May 25, 2024 10:31 |
|
Asymmetrikon posted:i feel bad for the people that have to clean up after you. i feel bad for the guy who has to pay you overtime for staring at UML diagrams for hours, trying to find a way around not being able to have multiple inheritance. also i love how most of the guys at my old work were so proud to finally find an architecture that makes sense, when in reality they're just trying to solve limitations dictated by the language itself "look at me! i'm writing a UserFactoryFactory which implements IFactory and IUser! i'm so good at writing c# code!" in the meantime, i feel that with js i can just write functionnal code without just pressing tab a million times ... because just try writing poo poo in a strictly-typed language without intellisense-type tools. all that boilerplate wouldn't have to be written in the first place if the language was a bit more flexible, no? welp, that's my rant. thanks everyone ill be here all night e: i've worked as a c# dev for 3 years ... that's not long to most people's standards but it was enough for me to want to go back to dynamic languages. besides if you do proper unit testing in js all of these "problems" get caught early on ... just lol if you don't have a proper environment for that type of thing go play outside Skyler fucked around with this message at 16:42 on Oct 8, 2016 |
# ? Oct 8, 2016 16:39 |
|
go play outside Skyler posted:i feel bad for the guy who has to pay you overtime for staring at UML diagrams for hours, trying to find a way around not being able to have multiple inheritance. source your quotes
|
# ? Oct 8, 2016 16:45 |
|
multiple inheritance is bad. claiming that tests mitigate things that static analysis should catch is godawful.
|
# ? Oct 8, 2016 16:49 |
|
go play outside Skyler posted:i feel bad for the guy who has to pay you overtime for staring at UML diagrams for hours, trying to find a way around not being able to have multiple inheritance. we've already had our "unit tests are just as good as static typing" slapfight this year.
|
# ? Oct 8, 2016 16:51 |
|
go play outside Skyler posted:i feel bad for the guy who has to pay you overtime for staring at UML diagrams for hours, trying to find a way around not being able to have multiple inheritance. i mean, i agree, oop is also bad, but that's not an argument for javascript
|
# ? Oct 8, 2016 16:52 |
|
go play outside Skyler posted:what is this? looks interesting it's the haskell type signature for a list where each item is an Either String Int, so each element is a Left string or a Right int, then you match on both cases whenever you want to do something with the elements e.g. code:
|
# ? Oct 8, 2016 16:57 |
|
go play outside Skyler posted:that's something you believe, not necessarly a fact. what kind of software do you work on
|
# ? Oct 8, 2016 16:57 |
|
go play outside Skyler posted:i feel bad for the guy who has to pay you overtime for staring at UML diagrams for hours, trying to find a way around not being able to have multiple inheritance. lol
|
# ? Oct 8, 2016 16:59 |
|
go play outside Skyler posted:i feel bad for the guy who has to pay you overtime for staring at UML diagrams for hours, trying to find a way around not being able to have multiple inheritance. i'm sorry someone hurt you.
|
# ? Oct 8, 2016 17:00 |
|
basically if you don't understand why static & strict typing is cool & good, go play with haskell or similar and come back when you've seen the light
|
# ? Oct 8, 2016 17:01 |
|
alright i get it nobody here likes javascript. maybe i got a little too excited. sorry guys i still think it ain't so bad
|
# ? Oct 8, 2016 17:03 |
|
Su-Su-Sudoko posted:basically if you don't understand why static & strict typing is cool & good, go play with haskell or similar and come back when you've seen the light alright maybe i will
|
# ? Oct 8, 2016 17:03 |
|
FamDav posted:what kind of software do you work on the kind of software that doesn't need to handle serious business transactions and stuff, obviously. if something crashes or some data is lost, it's not that big of a deal in my field. so i don't work on business or industrial applications and i would never recommend js for these things. but when i write poo poo like games what i really care about is being able to work quickly and until now i feel that js has been the only language to give me that flexibility
|
# ? Oct 8, 2016 17:08 |
|
I was gonna say that dynamic typing has its uses, but then I realized I cant think of any. any place we use dynamic typing today would be much better w/ static typing.
|
# ? Oct 8, 2016 17:08 |
|
c# has dynamic typing now but no one uses it anyway because dynamic typing is so bad
|
# ? Oct 8, 2016 17:10 |
|
sometimes I think about using it for interop stuff then i realise i should be using casts instead
|
# ? Oct 8, 2016 17:11 |
|
pointsofdata posted:c# has dynamic typing now but no one uses it anyway because dynamic typing is so bad to me it felt more like dynamic typing was added as an afterthought . that's why it's kind of a hacked-together thing and it just doesn't make sense in a statically typed language like c# e: kind of like adding a spoiler to a ford fiesta
|
# ? Oct 8, 2016 17:12 |
|
the only place ive ever used dynamic in c# is dealing w/ javascript interop in things like signalr where you're binding a dynamic c# method to a call of that method on the js client.
|
# ? Oct 8, 2016 17:13 |
|
go play outside Skyler posted:to me it felt more like dynamic typing was added as an afterthought . that's why it's kind of a hacked-together thing and it just doesn't make sense in a statically typed language like c# it doesn't make sense because you have better options
|
# ? Oct 8, 2016 17:15 |
|
imo they should have just had you define the interface statically and then expose it via the generated client soap style.
|
# ? Oct 8, 2016 17:15 |
|
What's the deal with the popularity with Python at startups today? My last 8 or so interviewing companies have been Python shops. I don't get it, isn't the GIL a complete show stopper for many apps? It always seems a "above my pay grade" thing to the interviewers.
|
# ? Oct 8, 2016 17:15 |
|
Shaggar posted:imo they should have just had you define the interface statically and then expose it via the generated client soap style. can you get the soap stuff to work with non-wcf servers btw? it never seems to work for me
|
# ? Oct 8, 2016 17:16 |
|
This looks legit great
|
# ? Oct 8, 2016 17:17 |
|
Shaggar posted:I was gonna say that dynamic typing has its uses, but then I realized I cant think of any. any place we use dynamic typing today would be much better w/ static typing. pretty much. as mainstream static type systems get more and more expressive and require less and less boilerplate, the actual use cases for dynamic typing are going to shrivel away. the popularity of things like typescript shows that even people who use ultra-dynamic plangs can appreciate that static checks are a useful tool that makes programmers' lives better.
|
# ? Oct 8, 2016 17:17 |
|
Shaggar posted:imo they should have just had you define the interface statically and then expose it via the generated client soap style. it would be kind of cool if there was a way to write an interface and then special-cast an object from interop as fulfilling that interface. not sure if that makes sense
|
# ? Oct 8, 2016 17:18 |
|
go play outside Skyler posted:look at me! i'm doing something ridiculously stupid in a dynamically typed programming language and expecting the results to have any meaning at all! well yeah obviously that is a silly and contrived example. It just shows off a quirk of the language that people don't necessarily know or expect. I'm not advocating that anyone actually do something like that.
|
# ? Oct 8, 2016 17:21 |
|
Soricidus posted:pretty much. as mainstream static type systems get more and more expressive and require less and less boilerplate, the actual use cases for dynamic typing are going to shrivel away. the popularity of things like typescript shows that even people who use ultra-dynamic plangs can appreciate that static checks are a useful tool that makes programmers' lives better. im wary of typescript because I feel it was invented by Microsoft to lock people in just a bit more. besides , i hate transpiled languages because what you write is not what's executed swift however seems to be something I could get behind, with it's inferred typing... however I hate that apple decides to make breaking changes every 6 months go play outside Skyler fucked around with this message at 17:25 on Oct 8, 2016 |
# ? Oct 8, 2016 17:22 |
|
MrMoo posted:What's the deal with the popularity with Python at startups today? My last 8 or so interviewing companies have been Python shops. I don't get it, isn't the GIL a complete show stopper for many apps? It always seems a "above my pay grade" thing to the interviewers. i don't know, but i don't like it. even the company i just joined (as a .net guy) seems to be moving towards python for everything.
|
# ? Oct 8, 2016 17:23 |
|
go play outside Skyler posted:im wary of typescript because I feel it tas invented by Microsoft to lock people in just a bit more. besides , i hate transpiled languages because what you write is not what's executed swift does a really good job of it, but type inference isn't exactly new or unique to swift. c# has had it for ages, hell even java has some basic inference for generic collections. that's not even getting into the ML-family languages a bit more off the beaten path.
|
# ? Oct 8, 2016 17:26 |
|
pointsofdata posted:can you get the soap stuff to work with non-wcf servers btw? it never seems to work for me yeah I do it all the time. probably the biggest problem you gotta watch out for is that if you're using cxf on the server side it doesn't generate actions for the methods by default so you end up w/ multiple methods w/ the same action which is a spec violation and wcf wont have it. since most people do cxf with a shared interface between client and server cxf has no problem ignoring action duplicates if it can match on other stuff pointsofdata posted:it would be kind of cool if there was a way to write an interface and then special-cast an object from interop as fulfilling that interface. not sure if that makes sense well they do that in the runtime for p/invoke and wcf. you define your interface/method sigs and they get bound to the right place either at compile or runtime. In the case of SignalR I don't see why they couldn't have let you define an interface statically in the same way and then publish it into signalr with a backing implementation. Then the runtime would just publish the javascript client with those interface methods exposed. idk why they made it dynamic instead. it makes no sense.
|
# ? Oct 8, 2016 17:26 |
|
I kinda like JavaScript because I do a lot of data viz work and a library like d3js is amazing for that, but I do feel I would be an order of magnitude as productive in a good language. but oh well, gotta spend those 8 hours at the office anyway so might as well be debugging JavaScript and CSS (which is even worse than JavaScript).
|
# ? Oct 8, 2016 17:26 |
|
i can draw dialogs now and they just work, even automatically sending REDRAW events when the dialog exits to all the windows they covered holy poo poo piss
|
# ? Oct 8, 2016 17:31 |
|
lol that's so cool
|
# ? Oct 8, 2016 17:32 |
|
jony neuemonic posted:swift does a really good job of it, but type inference isn't exactly new or unique to swift. c# has had it for ages, hell even java has some basic inference for generic collections. yeah but the difference is that swift actually feels less boilerplate-y to me.
|
# ? Oct 8, 2016 17:34 |
|
go play outside Skyler posted:i feel bad for the guy who has to pay you overtime for staring at UML diagrams for hours, trying to find a way around not being able to have multiple inheritance. go play outside, skyler
|
# ? Oct 8, 2016 17:40 |
|
hackbunny posted:go play outside, i'm really digging my new username
|
# ? Oct 8, 2016 17:47 |
|
go play outside Skyler posted:im wary of typescript because I feel it was invented by Microsoft to lock people in just a bit more. besides , i hate transpiled languages because what you write is not what's executed lock you in to what? it's an open source product that runs wherever JavaScript runs. the language is basically JavaScript with type annotations and a little syntax sugar. also, if you're put off by "what you write is not what's executed" you are in for a treat if you ever dig into what optimizing compilers actually do. transpile is such a goofy loving word. please don't use it.
|
# ? Oct 8, 2016 17:53 |
|
transpiles is the diarrhea you get from hormones right
|
# ? Oct 8, 2016 17:59 |
|
|
# ? May 25, 2024 10:31 |
|
Luigi Thirty posted:i can draw dialogs now and they just work, even automatically sending REDRAW events when the dialog exits to all the windows they covered does GEM not do this automatically?! quote:holy poo poo piss
|
# ? Oct 8, 2016 18:19 |