|
yes. yes i did.
would it have been better or worse if i told you i just write code that way?
It's part of my "let me substitute this source sharing system for Microsoft's lack of static linking in .NET"
if i had a reliable way to distribute these files as binary and link them into other .NET modules i wouldn't use this method, but ILMerge is dodgy last i checked, and last time i tried to make a tool using it it got flagged by my virus scanner.
These files aren't intended to be modified. They are generated from other files, which are merged into one big "code brick" with all source dependencies included so you can just drop it into your project - like a static linked library.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
honey the codewitch wrote: would it have been better or worse if i told you i just write code that way? Neither, you'd just write according to my expectations
|
|
|
|
|
When you get to be as old as I am, brackets and whitespace just aren't important anymore.
Now get offa my lawn!
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
honey the codewitch wrote: When you get to be as old as I am, brackets and whitespace just aren't important anymore.
You young'un. Must be a cyclical thing, 'cuz I need them now more than ever.
|
|
|
|
|
perhaps.
Honestly though, I used to be a stickler about coding style when i worked in shops.
And as I was usually lead I was the one who enforced them.
Maybe that's why I am so fast and loose these days. It's kind of liberating to be able to make stuff for (mainly) me and code it my way i guess.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
You should swap that code for Damerau-Levenshtein distance, which also handles transpositions.
I can send you the code if you'd like. I'll even minify it for you if it's to hard to read.
|
|
|
|
|
I'd be interested in the code. unminified. the whole point of the minification, other than making the file smaller, is so it isn't modified. I immediately know when i wind up in source i'm not supposed to touch.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
string result = something ? variable.GetString() : null;
«One day it will have to be officially admitted that what we have christened reality is an even greater illusion than the world of dreams.» Salvador Dali
|
|
|
|
|
How could I have missed that!
Not only have I missed it, it gets my approval as well
|
|
|
|
|
Sander Rossel wrote: How could I have missed that! Lack of or lack of ?
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
I don't drink either
Maybe a lack of tea or syrup?
Or maybe I'm just generally lacking?
|
|
|
|
|
> This might be why i don't work in software anymore
Correction - this is why I don't work with other so-called developers anymore.
Sadly the reality is that I do have to work with other developers, I just limit my contact.
|
|
|
|
|
Marc Clifton wrote: Sadly the reality is that I do have to work with other developers
That's most people's. Even telecommuting wasn't enough though. The last gig i worked for, the one developer they had basically wrote his own jquery and he was doing php where he should have been using SQL - and the boss expected to be able to bring other devs on and have them just be up to speed on this arcane mess he had developed.
And I respected him professionally as a developer. He is talented when it comes to front end stuff and with some coaching could do back end pretty easily. He picked up SQL once i showed him, and his pages from then on used it.
But my life would have been easier if i had been starting without him and his tools.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Yeah, them PHP database servers are the worst
modified 20-Oct-19 21:02pm.
|
|
|
|
|
What I mean is he was for example, joining data he'd get from two separate SQL "select * from table" queries using a for loop in PHP.
so yeah in effect, using the webserver to do the database server's job.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
No way! Did he query JSON repositories of data with PHP?
modified 20-Oct-19 21:02pm.
|
|
|
|
|
Yep. QA is fun like that. The best ones are when they want to open a document and don't know why it fails in production because Office isn't installed on the server a thousand miles away ...
It's hard sometimes to keep calm and polite when you just want to smash them over the head with a ClueBat until they stop bleeding.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
i prefer my trusty clue-by-four but i hear you.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
In fairness, they could be new to web development. It's a different animal than Windows Forms.
Social Media - A platform that makes it easier for the crazies to find each other.
Everyone is born right handed. Only the strongest overcome it.
Fight for left-handed rights and hand equality.
|
|
|
|
|
ZurdoDev wrote: In fairness, they could be new to web development. It's a different animal than Windows Forms.
WinForms doesn't do enough of a good job insulating you from the underlying technology to NOT know this wouldn't work when transitioning to web development.
Does it? I learned Windows programming from Petzold.
|
|
|
|
|
dandy72 wrote: I learned Windows programming from Petzold.
Good 'ol Chuck =) You could have learned from far worse.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
honey the codewitch wrote: You could have learned from far worse.
Ain't that the truth. At least nobody could ever accuse Petzold of trying to steer anyone[*] towards VB.
[*] and if he did, then they deserved that career move.
|
|
|
|
|
i mean, it's not even a programming problem.
maybe i was always weird for being able to understand that servers are separate machines than my dev machine.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
When I first started doing web development I had a page that did a lot of processing. I added in lblStatus.Text = "Some message" after the various parts so you could see what was happening. It took a few minutes for me to realize why it wasn't working.
Of course I was self taught and was going from WinForms to WebForms/ASP.
But I agree, developers need to know how the underlying technology works (to a certain extent).
Social Media - A platform that makes it easier for the crazies to find each other.
Everyone is born right handed. Only the strongest overcome it.
Fight for left-handed rights and hand equality.
|
|
|
|
|
i mean, yeah that's a beginner error but you figured it out and it didn't mean you had confusion about client and server location so much as you were (temporarily) confused about ASP/ASP.NET context switching and how it worked, it sounds like,
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|