|
Snapchat A Titty posted:no u Swift code:
|
# ? May 5, 2015 18:26 |
|
|
# ? May 26, 2024 09:41 |
DimpledChad posted:so my company is planning to scrap its lovely php codebase and rewrite the product using a better language/platform. yay! only thing is, i think my boss wants to use go. i know that the terrible programmers here have a general antipathy towards go, and i'm inclined to agree. does anyone have any good articles/arguments i can use to make the case to the higher-ups for why we should not use golang? I think the main problem people have with Go is the lack of generics. How much will that affect you? I've actually heard it's a decent language otherwise.
|
|
# ? May 5, 2015 18:30 |
|
fleshweasel posted:
ty but that isnt the same i need like this, either the key isnt there, or it is, but its val is larger than newCost: code:
|
# ? May 5, 2015 18:45 |
|
Valeyard posted:grab your junk and shout "program this" and walk away
|
# ? May 5, 2015 18:57 |
|
Snapchat A Titty posted:no u C# code:
|
# ? May 5, 2015 19:11 |
|
Shaggar posted:
cute joke, but you made the same mistake fleshweasel did in comprehending what the code actually does
|
# ? May 5, 2015 19:21 |
|
which is even less understandable; how do you see || and write &&?
|
# ? May 5, 2015 19:21 |
|
anyway, no, OP, the way you wrote it is pretty much fine for the particular case you are presenting maybe there is a way to not be in the situation which produces a desire for that conditional in the first place, but if you need to perform that check then the code you wrote is fine
|
# ? May 5, 2015 19:24 |
|
comedySwift code:
|
# ? May 5, 2015 19:26 |
|
Dessert Rose posted:cute joke, but you made the same mistake fleshweasel did in comprehending what the code actually does oh lol. yeah.
|
# ? May 5, 2015 19:26 |
|
Oh i got it! this works: if newCost < (costSoFar[next] ?? Int.max) { e: I guess great minds &c
|
# ? May 5, 2015 19:28 |
|
Dessert Rose posted:comedy it compiles & works so im just gonna put a //lol and move on, maybe fix it later when i dont have time
|
# ? May 5, 2015 19:31 |
|
Shaggar posted:
there u go.
|
# ? May 5, 2015 19:31 |
|
its me, im the terrible programmer
|
# ? May 5, 2015 22:56 |
|
Im using Java and I just don't understand why any programmer would choose to program in an object oriented language without interfaces and generics
|
# ? May 5, 2015 23:42 |
|
MALE SHOEGAZE posted:Im using Java and I just don't understand why any programmer would choose to program in an object oriented language without interfaces and generics I miss generics so much
|
# ? May 5, 2015 23:50 |
|
MALE SHOEGAZE posted:Im using Java and I just don't understand why any programmer would choose to program in an object oriented language without interfaces and generics incidentally every time I read the word pythonic in context im more convinced its just a synonym for "stupid"
|
# ? May 6, 2015 00:08 |
|
St Evan Echoes posted:interfaces arent pythonic Rubyist
|
# ? May 6, 2015 00:40 |
|
What do you guys use to do like design diagrams / umls?? Like omni graffie??
|
# ? May 6, 2015 00:41 |
|
St Evan Echoes posted:interfaces arent pythonic it's just a way of saying "i don't like that" but in a way more annoying manner
|
# ? May 6, 2015 00:43 |
|
that is a good question I would also like to know the answer to
|
# ? May 6, 2015 00:44 |
|
shards of glass, the blood of the fallen, tender naive flesh
|
# ? May 6, 2015 00:44 |
|
python is pretty bad
|
# ? May 6, 2015 00:44 |
|
how does one represent a monad in uml?
|
# ? May 6, 2015 00:44 |
|
very carefully
|
# ? May 6, 2015 00:45 |
|
Luigi Thirty posted:how does one represent a monad in uml? wget https://www.chipotle.com/public/hero.jpg
|
# ? May 6, 2015 00:47 |
|
MALE SHOEGAZE posted:What do you guys use to do like design diagrams / umls?? Like omni graffie?? draw.io or visio
|
# ? May 6, 2015 00:47 |
|
Shaggar posted:google has never released a finished product and tying yourself to them is a disaster waiting to happen. i want to agree but angular is pretty good
|
# ? May 6, 2015 00:52 |
|
PleasureKevin posted:i want to agree but angular is pretty good which one? they've already rewritten it once.
|
# ? May 6, 2015 00:53 |
|
gliffy is OK if your an atlassian shop
|
# ? May 6, 2015 00:58 |
|
PleasureKevin posted:i want to agree but angular is pretty good angular is probably the exception but I think that was also a side project by some people who happened to work at google. knockout is better tho
|
# ? May 6, 2015 01:01 |
|
does Google use Angular (either version) for anything important?
|
# ? May 6, 2015 01:13 |
|
I would guess that most big projects that pre-date angular don't currently use it, because rewriting your application just because you can is basically never worth it no matter how much of an improvement the new hotness is. So I guess the answer to your question depends on whether you think any small applications that started development (or had a UI rewrite where it was worth switching toolkits) are actually "important". (As an aside, this is the same reason Go uptake is slow. If your metric for success is " everyone immediately drops everything to rewrite their already-working code " then you really do belong in this thread.)
|
# ? May 6, 2015 01:42 |
|
Angular isn't good tho. It's retarded and the upcoming rewrite - - while desperately needed - - just goes to show how asinine and obtuse it is. if u wanna see angular's future just look at GWT it's a goddamn crystal ball.
|
# ? May 6, 2015 01:51 |
|
i watchjed the angular tutorial videos and liked the little jingle SHAPING UP WITH AAAAAAAANGULAR
|
# ? May 6, 2015 01:53 |
|
one of these places I've been talking to said they were rewriting their api from webapi to node and short of new(ish) hotness I have no idea why. also they described their culture (when I asked about how they work, generally speaking) as a "war room" which I assume means 80 hour work weeks
|
# ? May 6, 2015 01:56 |
|
shags, whats your beef with EF anyway
|
# ? May 6, 2015 01:59 |
|
VikingofRock posted:I think the main problem people have with Go is the lack of generics. How much will that affect you? I've actually heard it's a decent language otherwise. it's petty but I have a real visceral reaction to seeing "import github.com..." in code, so go is right out
|
# ? May 6, 2015 02:03 |
|
Jabor posted:I would guess that most big projects that pre-date angular don't currently use it, because rewriting your application just because you can is basically never worth it no matter how much of an improvement the new hotness is. So I guess the answer to your question depends on whether you think any small applications that started development (or had a UI rewrite where it was worth switching toolkits) are actually "important". it doesn't need to be big to be important. google has built plenty of things that are important to their business since angular was launched, I'm just not sure if any of them use angular. if you magically eradicate react from the world, Facebook is in trouble, and that trend is increasing.
|
# ? May 6, 2015 02:38 |
|
|
# ? May 26, 2024 09:41 |
|
google is the worst at dogfooding
|
# ? May 6, 2015 02:59 |