New around here? Register your SA Forums Account here!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
HoboMan
Nov 4, 2010

"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!"

Adbot
ADBOT LOVES YOU

Shaggar
Apr 26, 2006

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.

Bloody
Mar 3, 2013

refactoring static god classes into things that can be dependency injected, then refactoring to DI them

feels kinda masturbatory tbh

Bloody
Mar 3, 2013

theres just so many static god classes though. gently caress.

NihilCredo
Jun 6, 2011

iram omni possibili modo preme:
plus una illa te diffamabit, quam multæ virtutes commendabunt

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?

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

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

Corla Plankun
May 8, 2007

improve the lives of everyone
i think that sometimes is what people mean when they say a singleton right?

animist
Aug 28, 2018

alternatively, c

pokeyman
Nov 26, 2006

That elephant ate my entire platoon.

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"

Kazinsal
Dec 13, 2011

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

Bloody
Mar 3, 2013

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

DaTroof
Nov 16, 2000

CC LIMERICK CONTEST GRAND CHAMPION
There once was a poster named Troof
Who was getting quite long in the toof

pokeyman posted:

my real answer is "a namespace"

Soricidus
Oct 20, 2010
freedom-hating statist shill

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

Soricidus
Oct 20, 2010
freedom-hating statist shill

Private Speech posted:

now that's just mean

e: how well does Maven work with c++ and python anyway, I've only used it with java

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

Private Speech
Mar 30, 2011

I HAVE EVEN MORE WORTHLESS BEANIE BABIES IN MY COLLECTION THAN I HAVE WORTHLESS POSTS IN THE BEANIE BABY THREAD YET I STILL HAVE THE TEMERITY TO CRITICIZE OTHERS' COLLECTIONS

IF YOU SEE ME TALKING ABOUT BEANIE BABIES, PLEASE TELL ME TO

EAT. SHIT.


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

Carthag Tuek
Oct 15, 2005

altid pamo når du går
veje du burd' kende
overleved' barneår
lig' til livets ende

animist posted:

alternatively, c

c... with classes? :wth:

Carthag Tuek
Oct 15, 2005

altid pamo når du går
veje du burd' kende
overleved' barneår
lig' til livets ende

also my latex thing keeps hanging and idk why :(

Xarn
Jun 26, 2015

pokeyman posted:

my real answer is "a namespace"

alternatively, reason why Java and C# are stupid

eschaton
Mar 7, 2007

Don't you just hate when you wind up in a store with people who are in a socioeconomic class that is pretty obviously about two levels lower than your own?
(in-package :butts) is the best way to namespace

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder

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.

Powerful Two-Hander
Mar 9, 2004

Mods please change my name to "Tooter Skeleton" TIA.



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

Finster Dexter
Oct 20, 2014

Beyond is Finster's mad vision of Earth transformed.
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.

Shaggar
Apr 26, 2006
the first version of server side blazor will be ready this year and will probably be more appropriate for most solutions anyway

Shaggar
Apr 26, 2006
i did some work on a server side blazor thing in 3.0 preview 4 and it works great.

Aramoro
Jun 1, 2012




Blazor looks like terrible garbage that's going to die in the vine.

NihilCredo
Jun 6, 2011

iram omni possibili modo preme:
plus una illa te diffamabit, quam multæ virtutes commendabunt

Powerful Two-Hander posted:

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

i actually have some dev scripts that start with this for safety

code:
     declare @devserver nvarchar(max) = 'NIHILCREDO-PC'

     if host_name() <> @devServer or @@server <> @devServer begin 
         select 'dont run this in prod u moron' 
         return 
     end
this was entirely a thing i came up with ahead of time and totally not a follow up to some potentially disastrous mistake

akadajet
Sep 14, 2003

Aramoro posted:

Blazor looks like terrible garbage that's going to die in the vine.

Shaggar
Apr 26, 2006
blazor owns and is going to destroy javascript forever

Carthag Tuek
Oct 15, 2005

altid pamo når du går
veje du burd' kende
overleved' barneår
lig' til livets ende

more like blassor

DELETE CASCADE
Oct 25, 2017

i haven't washed my penis since i jerked it to a phtotograph of george w. bush in 2003
i don't know what blazor is but if shaggar likes it then surely no one in silicon valley will use it

necrotic
Aug 1, 2005
I owe my brother big time for this!

Shaggar posted:

blazor owns and is going to destroy javascript forever

good luck with that. not everyone uses .net despite your strongest wishes.

Shaggar
Apr 26, 2006
people will always be dumb but as long as i never have to touch js its good

HoboMan
Nov 4, 2010

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

HoboMan
Nov 4, 2010

shagger is right, the internet was a mistake

Chalks
Sep 30, 2009

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

Shaggar
Apr 26, 2006
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

Shaggar
Apr 26, 2006
also typescript is transpiled where blazor is not

HoboMan
Nov 4, 2010




ughhhhhhhhhhhhhhhhhh

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder
huh blazor/signalR is interesting. anything like it in a good ecosystem?

Adbot
ADBOT LOVES YOU

Sagacity
May 2, 2003
Hopefully my epitaph will be funnier than my custom title.
there's rsocket

regarding blazor, there has always been gwt but that has now been replaced by j2cl I suppose

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply