|
Soricidus posted:"just give them on error resume next. i'm sure everyone will definitely check the err object at appropriate times instead of just taking it as carte blanche to ignore everything and hope for the best" also the meeting at golang world headquarters
|
# ? Jan 13, 2019 18:00 |
|
|
# ? Apr 29, 2024 05:06 |
|
Arcsech posted:you’re living the dream I went from telecom in the Midwest with a company of 35 to Electric Vehicle Service Equipment in SoCal with a growing company of 98 that just closed series B and has contracts with 23 fortune 100 companies including Amazon. Also, I now have a full team of, continuous integration, unit tests, coding standards, processes, documentation, and a boss that, so long as the work is complete, don't give a poo poo how few hours I work. (I average around 30 a week.) I am quite happy right now. Unfortunately; I have a feeling that I won't be sharing any more anecdotes about the Ex-Company. There is only one ex-coworker left that I talk too, but it's not on a regular basis. More than likely the company will either sell itself or start selling its Ballards to other companies and stop making its products. Part of me is a bit sad, from a personal pride level. It’s always neat to have your product out in the wild. I worked hard on it, and there is a lot of excellent and innovative code in it. The architecture was clean, and the security is quite remarkable. The product was just underfunded and needed at least three full-time software engineers to make the product shine, but that would have required competent management. Oh well. I learned a fantastic amount there; not just programming and systems management wise, but also about how not to manage a business and employees. I also feel like I lost the last bit of the nativity I had when it came to being a company man. Thanks to the current company, I have a lot more self-respect, and will gladly walk a lot sooner if things ever start to go sideways. Hopefully, I can pass these experiences off to my kids, as they are 18, 18, and 21, and shouldn't have to go through the stress, depression, and anxiety I endured to learn all of this.
|
# ? Jan 13, 2019 18:16 |
|
ratbert90 posted:Hopefully, I can pass these experiences off to my kids, as they are 18, 18, and 21, and shouldn't have to go through the stress, depression, and anxiety I endured to learn all of this. A CJ who let he own children grow up to be CJs. A shameful CJ.
|
# ? Jan 13, 2019 22:31 |
|
Jabor posted:What the hell sort of "unit tests" are you writing that you need to have them interact with a database? I'm not sure I got back to this one but basically; - I want to be able to test schema changes - I want to make sure that said schema changes do not break my queries, for instance, conversion of column type int to bigint - I call them unit tests because my application can interact with several types of databases (poorly!) so each one is tested as their own unit! perhaps there is some way of doing all that w/o having an actual database but I can't think of one that wouldn't be more work than simply starting a database up but this is for one of my hobby projects and not a huge enterprise application
|
# ? Jan 13, 2019 22:46 |
|
pokeyman posted:also the meeting at golang world headquarters golang error handling is so terrible if you're thinking about writing something in golang think extremely long and hard about how much error checking you want because this one attribute of the language might be enough to put you off
|
# ? Jan 13, 2019 22:48 |
|
elite_garbage_man posted:One thing I like about Java is the great mocking libraries available. It blows my mind that poo poo like that isn't anywhere close to what we have for C++. More often than not it ends up being "Just make every function virtual lol" To be fair this is exactly what Java did.
|
# ? Jan 13, 2019 22:49 |
|
abigserve posted:I'm not sure I got back to this one but basically; those don't sound like unit tests at all
|
# ? Jan 13, 2019 22:53 |
|
abigserve posted:I'm not sure I got back to this one but basically; those are integration tests. there's nothing wrong with integration tests and they often have more value than unit tests, especially with code that is difficult to unit test.
|
# ? Jan 13, 2019 22:55 |
|
Soricidus posted:"should we implement all visual basic's error handling modes?"
|
# ? Jan 13, 2019 23:02 |
|
abigserve posted:golang error handling is so terrible if you're thinking about writing something in golang think extremely long and hard about how much error checking you want because this one attribute of the language might be enough to put you off go error handling is fine albeit super verbose handling panics in early versions was hot garbage especially since places in the stdlib and a whole bunch of 3rd party libraries used to use it liberally
|
# ? Jan 13, 2019 23:09 |
|
I would settle for just "some tests" tbh. like any, any tests would be an improvement.
|
# ? Jan 13, 2019 23:36 |
|
Cold on a Cob posted:those are integration tests. there's nothing wrong with integration tests and they often have more value than unit tests, especially with code that is difficult to unit test. i'll start calling 'em that then!
|
# ? Jan 13, 2019 23:50 |
|
yeah tests are pretty great tbhabigserve posted:i'll start calling 'em that then! cool beans
|
# ? Jan 13, 2019 23:51 |
|
Cold on a Cob posted:yeah tests are pretty great tbh sometimes
|
# ? Jan 13, 2019 23:51 |
|
go error handling is so bad I will and have turned down job opportunities that otherwise could have been very nice because they use go. it's some braindead poo poo.
|
# ? Jan 13, 2019 23:57 |
|
MononcQc posted:go error handling is so bad I will and have turned down job opportunities that otherwise could have been very nice because they use go. Literally me right now
|
# ? Jan 14, 2019 00:01 |
|
mystes posted:Not that removing the other options would improve anything, but error handling is literally the worst thing about legacy vb. On error goto is terrible compared to try/catch. yeah, it’s very bad compared to most of the alternatives. I have written horrors in vba, many years ago. I remember how bad it could be. it is, however, very definitely better than on error resume next.
|
# ? Jan 14, 2019 00:06 |
|
DONT THREAD ON ME posted:a ton of smart people have worked hard to make javascript usable in a browser. it’s much better than it used to be and it’s amazing what’s been accomplished. typescript is the best language to write serverless stuff in, by a lot
|
# ? Jan 14, 2019 00:38 |
|
terraform is pretty cool but the fact that any custom providers need to be written in Go is a significant black mark on it double that mark for me since I taught myself Go in order to write a custom provider for it
|
# ? Jan 14, 2019 01:16 |
|
Shaggar posted:vbscript is unironically better than javascript i don't believe you actually believe this
|
# ? Jan 14, 2019 01:45 |
|
ThePeavstenator posted:terraform is pretty cool is it though
|
# ? Jan 14, 2019 01:54 |
|
the talent deficit posted:typescript is the best language to write serverless stuff in, by a lot this says more about serverless than it does about javascript
|
# ? Jan 14, 2019 02:26 |
|
I would rather people write unnecessary tests and test the language bullshit than at a previous job, where they wrote zero tests and regularly deployed poo poo that straight up didn't work.
|
# ? Jan 14, 2019 04:00 |
|
Beamed posted:is it though it's good but requires the user to understand it's mechanics at too low a level imo by default it stores the statefile in a directory called .terraform in the working directory. it stores everything unencrypted in a json blob in said directory, including poo poo like keys that you have to pass every run anyway. naturally this makes it trivially easy to accidentally check into version control - other developers may force or at least warn the client that hey, perhaps best to store state remotely or at least somewhere else on disk not in the working directory, when it runs. But hashicorp went a different route with it.
|
# ? Jan 14, 2019 04:30 |
|
Powerful Two-Hander posted:I would settle for just "some tests" tbh. like any, any tests would be an improvement. still holding out hope that i will someday work on a team that has 1 or more tests on their code before i start there
|
# ? Jan 14, 2019 13:57 |
|
is there an article for dummies about analyzing simple hashing schemes? related: holy poo poo i finished microcorruption. time to retry cryptopals I guess!!
|
# ? Jan 14, 2019 14:22 |
|
this whole discussion is moot because in 12-18 months webassm and Blazor will be taking over everything and all the js devs will be making GBS threads themselves at having to learn c# (which won't actually be that bad because c# is super easy to learn) *this is my headcanon don't ruin it*
|
# ? Jan 14, 2019 17:36 |
|
Finster Dexter posted:this whole discussion is moot because in 12-18 months webassm and Blazor will be taking over everything and all the js devs will be making GBS threads themselves at having to learn c# (which won't actually be that bad because c# is super easy to learn) there'll be a JS library for this don't you worry actually lets have three equal but subtly different libraries for it
|
# ? Jan 14, 2019 18:44 |
|
well looks like I'm the only person that tried to actually build our internal libraries for like, 5+ years because so far every single one has been targeting dotnet 3 or lower and they all fail when the latest versions of their own dependencies are added super bonus annoyance: a service component that is actively used builds but does nothing, why? turns out that the logger code caught and ignored exceptions encountered while logging "incase the log dB is down" so if you encountered a fatal error in the logger it would just sit in a "running" state doing nothing forever! and the actual error? "dependent library x threw an exception of invalid method
|
# ? Jan 14, 2019 19:18 |
|
Boiled Water posted:there'll be a JS library for this don't you worry undefined.js, null.js, and ... uh ... ok i didn't think this joke through
|
# ? Jan 14, 2019 19:30 |
|
Soricidus posted:undefined.js, null.js, and ... uh ... ok i didn't think this joke through - brendan eich, 1995
|
# ? Jan 14, 2019 19:38 |
|
god why couldn’t it have been jwz
|
# ? Jan 14, 2019 19:49 |
|
The Leck posted:still holding out hope that i will someday work on a team that has 1 or more tests on their code before i start there test cases last modified january 1998
|
# ? Jan 14, 2019 19:51 |
|
Finster Dexter posted:this whole discussion is moot because in 12-18 months webassm and Blazor will be taking over everything and all the js devs will be making GBS threads themselves at having to learn c# (which won't actually be that bad because c# is super easy to learn)
|
# ? Jan 14, 2019 19:52 |
|
Finster Dexter posted:this whole discussion is moot because in 12-18 months webassm and Blazor will be taking over everything and all the js devs will be making GBS threads themselves at having to learn c# (which won't actually be that bad because c# is super easy to learn) oh my god I really want to like the idea of Blazor now I've seen it. Is the idea that it removes the need to integrate piles of ajax event handlers etc to do call out to a controller when doing anything dynamic on the page? how does that work with regards to accessing objects/properties from an event without reverting to the equivalent of viewstate? edit: or I could just, you know, read the docs and figure it out. I hope they fixed razors lovely error checking where it will only tell you there's a problem when you hit the page and juts barf a massive stack about a rogue comma Powerful Two-Hander fucked around with this message at 20:10 on Jan 14, 2019 |
# ? Jan 14, 2019 20:00 |
|
c# owns and i wish it was used more outside of line of biz coding because i really want to get out of line of biz coding
|
# ? Jan 14, 2019 20:02 |
|
oh my god they're officially including blazor (now called razor components) in asp.net core 3.0.
|
# ? Jan 14, 2019 20:06 |
|
rip in piss javascript
|
# ? Jan 14, 2019 20:07 |
|
C# would be cool except lol if you develop on Windows or deploy to windows or have to work with people who willingly do either
|
# ? Jan 14, 2019 20:25 |
|
|
# ? Apr 29, 2024 05:06 |
|
it would suck to not be able to afford windows and to have to use a Linux.
|
# ? Jan 14, 2019 20:26 |