|
"i sure hate having to map values... i know! ill just use a fragile method that requires three times as much value mapping to avoid it!"
|
# ? May 9, 2019 18:07 |
|
|
# ? Jan 23, 2025 18:05 |
|
akadajet posted:I kind of want to try Azure Devops and see if it's any better than the bamboo/octopus setup we use at work right now I was looking at the pricing and it seems for just the source control and build stuff (no vs licenses) its cheaper than the vm hosting costs for our current stuff.
|
# ? May 9, 2019 18:49 |
|
refactoring static god classes into things that can be dependency injected, then refactoring to DI them feels kinda masturbatory tbh
|
# ? May 9, 2019 21:45 |
|
theres just so many static god classes though. gently caress.
|
# ? May 9, 2019 21:56 |
|
what do you guys call a class that has no state and no constructor arguments, just a bundle of pure functions that exists only because your language has poor support for static classes?
|
# ? May 9, 2019 23:14 |
|
NihilCredo posted:what do you guys call a class that has no state and no constructor arguments, just a bundle of pure functions that exists only because your language has poor support for static classes? java
|
# ? May 9, 2019 23:49 |
|
i think that sometimes is what people mean when they say a singleton right?
|
# ? May 9, 2019 23:52 |
|
pokeyman posted:java alternatively, c
|
# ? May 9, 2019 23:57 |
|
NihilCredo posted:what do you guys call a class that has no state and no constructor arguments, just a bundle of pure functions that exists only because your language has poor support for static classes? my real answer is "a namespace"
|
# ? May 10, 2019 00:01 |
|
NihilCredo posted:what do you guys call a class that has no state and no constructor arguments, just a bundle of pure functions that exists only because your language has poor support for static classes? a grave misunderstanding
|
# ? May 10, 2019 00:17 |
|
NihilCredo posted:what do you guys call a class that has no state and no constructor arguments, just a bundle of pure functions that exists only because your language has poor support for static classes? utils.languageextension
|
# ? May 10, 2019 00:20 |
|
pokeyman posted:my real answer is "a namespace"
|
# ? May 10, 2019 00:25 |
|
NihilCredo posted:what do you guys call a class that has no state and no constructor arguments, just a bundle of pure functions that exists only because your language has poor support for static classes? I believe “utility class” is the standard term among users of languages that require this pattern ideally the functions should not have anything in common, and there should be at least three versions of each in different places in the project
|
# ? May 10, 2019 01:16 |
|
Private Speech posted:now that's just mean what does python need with a build system I know people who use maven to build c code tho so clearly it is possible. I doubt it is good, but that will primarily be because the good parts of maven rely on tooling, metadata, etc that simply do not exist for c
|
# ? May 10, 2019 01:19 |
|
Soricidus posted:what does python need with a build system to make a .deb redistributable with a bunch of configuration files, virtualenv libraries and auto-generated api documentation it was a little tongue-in-cheek, the point being that cmake is good at some things and maven at others without much overlap Private Speech fucked around with this message at 01:49 on May 10, 2019 |
# ? May 10, 2019 01:47 |
|
animist posted:alternatively, c c... with classes?
|
# ? May 10, 2019 03:50 |
|
also my latex thing keeps hanging and idk why
|
# ? May 10, 2019 03:51 |
|
pokeyman posted:my real answer is "a namespace" alternatively, reason why Java and C# are stupid
|
# ? May 10, 2019 05:00 |
|
(in-package :butts) is the best way to namespace
|
# ? May 10, 2019 05:02 |
|
NihilCredo posted:what do you guys call a class that has no state and no constructor arguments, just a bundle of pure functions that exists only because your language has poor support for static classes? i call it time to switch to a good language op.
|
# ? May 10, 2019 05:18 |
|
Bloody posted:i like developing c# because i just open the solution in visual studio and click build and thats the whole build process i was gonna post this lol Terrible programmers: turns out our db uses @@server for some funky environment aware calls based on host cname and whoops looks like that changed when we upgraded the db so we've been sending prod emails to the dev edl all week
|
# ? May 10, 2019 13:20 |
|
This blazor talk is pretty good: https://www.youtube.com/watch?v=y7LAbdoNBJA This poo poo still seems a long way off, though, unless you want your client-side stuff running on top of mono.asm. .NET 5 is slated for like 2021... so 2 more years until reactjs is dead.
|
# ? May 10, 2019 13:22 |
|
the first version of server side blazor will be ready this year and will probably be more appropriate for most solutions anyway
|
# ? May 10, 2019 13:28 |
|
i did some work on a server side blazor thing in 3.0 preview 4 and it works great.
|
# ? May 10, 2019 13:29 |
|
Blazor looks like terrible garbage that's going to die in the vine.
|
# ? May 10, 2019 13:47 |
|
Powerful Two-Hander posted:i was gonna post this lol i actually have some dev scripts that start with this for safety code:
|
# ? May 10, 2019 16:20 |
|
Aramoro posted:Blazor looks like terrible garbage that's going to die in the vine.
|
# ? May 10, 2019 16:36 |
|
blazor owns and is going to destroy javascript forever
|
# ? May 10, 2019 16:37 |
|
more like blassor
|
# ? May 10, 2019 17:08 |
|
i don't know what blazor is but if shaggar likes it then surely no one in silicon valley will use it
|
# ? May 10, 2019 17:18 |
|
Shaggar posted:blazor owns and is going to destroy javascript forever good luck with that. not everyone uses .net despite your strongest wishes.
|
# ? May 10, 2019 17:22 |
|
people will always be dumb but as long as i never have to touch js its good
|
# ? May 10, 2019 17:27 |
|
quote:Angular defines an ErrorHandler class that will allow us to override it and handle custom logic. Typically, I have my error handlers do things like show some sort of notification to the user via a dialog or growl-like component (ideally with a emoji) ugh
|
# ? May 10, 2019 17:28 |
|
shagger is right, the internet was a mistake
|
# ? May 10, 2019 17:29 |
|
Shaggar posted:people will always be dumb but as long as i never have to touch js its good it seems cool but it won't replace javascript for the same reason typescript hasn't replaced javascript
|
# ? May 10, 2019 17:34 |
|
typescript hasn't replaced javascript because javascript is the only browser language. if javascript is no longer the only browser language then you no longer need javascript
|
# ? May 10, 2019 17:37 |
|
also typescript is transpiled where blazor is not
|
# ? May 10, 2019 17:38 |
|
HoboMan posted:ugh ughhhhhhhhhhhhhhhhhh
|
# ? May 10, 2019 17:43 |
|
huh blazor/signalR is interesting. anything like it in a good ecosystem?
|
# ? May 10, 2019 17:50 |
|
|
# ? Jan 23, 2025 18:05 |
|
there's rsocket regarding blazor, there has always been gwt but that has now been replaced by j2cl I suppose
|
# ? May 10, 2019 18:27 |