Topics
Creativity
Film & Literature
Music
Activities
Games
Food & Drink
Pets
Causes
Sports
MBTI
Enneagram
Astrology
-
Interest Groups
expand_more
Andy
15 days ago
5w4
59
53
replyCopy Link
Sam
15 days ago
5w4
5Haha. I like the try...catch one 🤣
0
21
Andy
15 days ago
5w4
5I can't really think of any similar ones... maybe a "goto" would be a long cable passing all other circuitry
1
1
Davis #witnessForHire
15 days ago
4w3
4The foreach ones are promises 😆
0
1
Andy
15 days ago
5w4
5promises?
0
1
Davis #witnessForHire
15 days ago
4w3
4JavaScript promises Plug.then(plug.then(plug...)) Something like that
0
1
Andy
15 days ago
5w4
5ok, I only fiddled around a bit with javascript... never heard the term promises in programming
0
2
Davis #witnessForHire
15 days ago
4w3
4Yeah, I only heard it there in JS. It's handy, but nesting hell
0
2
Andy
15 days ago
5w4
5many don't like nesting, I still use it from time to time, since I find it actually more readable (but I'm still a beginner after 8 years of programming, I probably do a lot of things wrong)... but I agree, it can get a bit confusing, especially when you miss a closing bracket...
1
1
Davis #witnessForHire
15 days ago
4w3
4Yep... Indentation indentation indentation! 🤣🤣🤣
0
1
Andy
15 days ago
5w4
5I remember having to work on vb6 programs and there is no automatic indentation, you have to do it manually and if you miss something, you're gonna get confused quickly
0
1
Davis #witnessForHire
15 days ago
4w3
4Yep... I remember those vb6 days... I don't miss them one bit.
0
1
Andy
15 days ago
5w4
5we then switched to vb.net, which was a huge step forward and then we went to c#, but I have to say, the autocorrection of vb.net was kinda nice, more forgiving... c# or a lot of others you have to "tell" to do some adjustments on its own... and then it yells at you with nonsense errors instead of telling you "hey, you need () after ToString"... 😑
0
1
Davis #witnessForHire
15 days ago
4w3
4I threw in the towel when we were forced into .net. now I use python. I tried Java for a bit, but it seemed piecemealed together like 30 bars of half-used soap.
1
1
Andy
15 days ago
5w4
5I actually enjoyed java, but I only worked on it in my free time, so that might be a factor in liking some language over the other... I looked at python to help a friend with it and its probably very capable, but also kinda strange for me... I know have to work on perl, which reminds me a lot of python, with all these loadable moduls...
0
1
Sam
15 days ago
5w4
51
0
Davis #witnessForHire
15 days ago
4w3
4I've never touched perl, probably should have by now.
0
1
Andy
15 days ago
5w4
5depends on the field you're working in... python and perl are languages for usually very specific fields
0
0
Sam
15 days ago
5w4
5I personally love JavaScript. All my code is clean using async/await. I was only exposed to it recently, so I maybe missed all the pain points 😜.
0
1
Andy
14 days ago
5w4
5every language can be pain, especially if you're not familiar with it and/or need to build something with it... on worst case something that the language isn't quite designed for... I used javascript for a few more functionalities on a website, often combined with jquery, which apparently isn't very liked nowadays for some reason... I find it very powerful
1
2
Sam
14 days ago
5w4
5Ain't nothing wrong with that if it gets the job done!
0
1
Andy
14 days ago
5w4
5thats my way to go... if it works, go for it (or like the other two pictures I posted "if it works, don't touch it")... surely, there can be things optimized and made "better", but I don't really need programming that is made for time efficiency... sure, 500000 datasets take a few seconds with my program, but thats fine... most of our clients don't even have so much data and if, they can spare a few second, because the alternative would be weeks or even months (at least for 500000 datasets) to do it manually
1
0
Davis #witnessForHire
15 days ago
4w3
4Yeah, there's been no demand for it, so I suppose that's why I haven't used it. PHP is still in my toolkit though!
0
28
Andy
14 days ago
5w4
5php is also a bit hard to understand from my point of view, but I only had to edit it in form of a forum (phpbb), so I didn't have to write stuff myself
0
1
Davis #witnessForHire
14 days ago
4w3
4Yeah, it's a bit messy like Java, but it's portable so I love it!
0
1
Andy
14 days ago
5w4
5portable as in cross platform? I never built such a program and if you need system directories it still could be a bit tricky... I like small programs you can use as tools, but all of mine are for windows only, since they're .NET
0
1
Davis #witnessForHire
14 days ago
4w3
4Portable as in I can copy/paste the folder and it still runs on another Windows machine without a bunch of installation. I use Nginx too
0
1
Andy
14 days ago
5w4
5ah, thats my favorite kind of portable then 😅 I liked the idea, that java could technically run on different OS, but I never saw a reason to try it (I edited a few and also made my own plugin for the game minecraft, but nothing publicly, just for my old server back then)
1
1
Davis #witnessForHire
14 days ago
4w3
4Yes, it makes for fast recovery when stuff blows up!
0
1
Andy
13 days ago
5w4
5when stuff blows up? 🤔
0
1
Davis #witnessForHire
13 days ago
4w3
4Yeah, it's inevitable. Hard drives crash, motherboards melt, ram rams 🤣🤣
0
1
Andy
13 days ago
5w4
5ok, I also work as a technician and I have never seen a mainboard melt... and if a RAM rams you might have other problems than saving your programs... but hard drives do crash, fortunately with SSDs drive failures have become a lot less... in fact, since these are available for consumers, I only had one with a very strange phenomenon, but it was a cheap one for 10 euro probably (you could do anything im windows, updates, delete, install stuff, but once you restarted, it reset to the state it was before you worked on it... only seen that on "locked" school PCs, never as a disk failure)... but if you don't backup your programs, it doesn't matter if they're portable, unfortunately still many people don't make external backups of their stuff... I have two external backup drives plus a laptop with some of the data synchronized...
1
1
Davis #witnessForHire
13 days ago
4w3
4Yessss... Backups, backups, backups. I run a realtime listener for disk writes, transmit those to an on-site and an off-site, and do incrementals daily. You can't be too safe. Just need one uneducated user to let the bad guys in...
0
1
Andy
13 days ago
5w4
5we don't support very huge companies (more like 20 clients), but even those managed to open malicious mail attachments and got their systems encrypted... the clients had to be reinstalled, the servers had backups, but all that still takes hours or even days to "recover" from... personally I lost a huge amount of data twice... one time a 200 gb hard drive (when these where still the new big thing) crashed on me and every attempt to recover the data, apparently shifted a bit and made it worse... it was half full... the second was my own stupidity to try and rearrange partitions on a half full disk, because I needed a bootable device, so I thought I could make a new fat32 partition... the disk didn't like that...
1
1
Davis #witnessForHire
13 days ago
4w3
4Ugh! Partition managers can be treacherous! I've lost a few hours to malware, myself. It's never easy to recover. Luckily for me, I support only one company now, so I don't have to train took many users to just say no to executables.
0
1
Andy
13 days ago
5w4
5most companies don't really want training, they just come to you, when something happened... and then you do something, sometimes not sure if it worked and you ask every single time for a short answer, if it worked or not... silence... not all of our companies do that luckily or else it would be really frustrating if you never get any affirmation
0
1
Davis #witnessForHire
13 days ago
4w3
4I love when somebody asks for a code update, and try to small talk with you while you're writing it 🤣🤣
0
1
Andy