Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "csharp"
-
Replaced semi colons (;) with a greek question mark (;) in my colleague's c# code.. He's now scratching his head... :D27
-
Our Web Technology professor taught us this in the year 2016, he said and I quote,
"HTML frames are the latest technologies in the www and are supported by new generation browsers only, for example Netscape navigator."14 -
REST clients today can use upwards to 1000MB of memory. This leads to a poor experience for people who don't have access to high power machines, such as those in developing countries. So I built a REST client that uses ~60MB.
Introducing Nightingale, a fast and resource efficient REST client for Windows 10.
Let me know what you think! Looking forward to your feedback 🙏🏽
https://microsoft.com/store/...rant rest api xaml dotnet uwp windows 10 windows nightingale rest client postman csharp postman rest api29 -
At my old company one of my colleagues introduced async / await into our csharp code. He created interfaces and showed us a great structuring of his code. Sadly a few weeks later he left the company, because of personal reasons and a bug appeared in his written service. Our senior developer took the issue and complained for like 1 week. That you can't find anything, that interfaces are useless, that async / await is slow and sucks and that we should stop trying to bring new structures into the code base and do things the old way. In the end he deleted all the great things that my colleague introduced and wrote bad and smelly code.9
-
At least, it was honest comment by developer........
Have you ever encountered such funny statement/code ?3 -
Uninstalling literally everything in my laptop including IDEs and tools. It summed up to 94 programs.
I then wrote a simple C# console app that automates the process.
It is running 28/94 currently.
I love being a programmer.9 -
Sometimes in my company, I just want to shout "Java is shit". But I am afraid my coworkers will beat me, because they all seem to love Java. 😅17
-
And here Ladies and Gentlemen, we see some Code I hatte to discover.
(Actually the same method get's called)9 -
Are you a C# developer, and do you want to contribute to the devRant public api C# variant. This is your chance!
Fork the code and help the community project.
https://github.com/WichardRiezebos/...7 -
I am still wondering, who reads entire documentation ? :(joke/meme php java devrant csharp rant programming javascript could plus typesceipt development coding5
-
Want to get kicked out of Starbucks and have a good laugh along with it? https://github.com/filthycoding/...
I was bored.
Also thanks @Skayo for starring this repo early even tho it had no content9 -
-2000 : C# planned to copy entire Java and Java said C# won't be able to.
-2003 : C# copies Java and Java complained
-2005 : C# denied he didn't copy Java and Java laughed
-2008 : C# started to be more than Java and Java felt sick
-2010 : C# became more mature AND Java home defunct (Sun MicroSystems)
-2013 :Java plan to copy C# and C# laughed
-2015 :Java copied C# and C# laughed
-2017 :Java still can't copy C# and C# is laughing
-2018 no one will copy their neighbor and WE HOPE SO.11 -
I learnt my college junior some coding and development, and we became best friends.
Later I asked her out, and now we are not talking after that. 😅10 -
While working in Unity i caught this "action" shot of a ragdoll chicken.. Then i couldn't resist...1
-
Girl: What major are you studying?
Me: Computer Science.
Girl: Cool. Can you hack my boyfriend's Facebook, I think he's cheating on me.
Me: Go to hell. 😡4 -
When you gotta refer docs, write code and Test mulitplayer........you need the squad!
Working on implementig mulitplayer for my game!7 -
C# FTW! New features for C#7.0:
blogs.msdn.microsoft.com/dotnet/2016/08/24/whats-new-in-csharp-7-0/
tuples, pattern matching, local functions *coder-gasm*6 -
Not learning data structures and algorithms. Not learning programming languages. Actually not learning anything to answer during a job interview.
I am more of a learn-while-you-do kind of guy. I never learn anything, instead just do it. Interviewers think I am useless because I know nothing. But I can get a job done, any kind of job done. I have no learning period, I can start working from first day in a all new language, in a all new IDE, in a all new OS.
I know nothing, and I learn nothing. I am a problem solver. You got a problem, I can solve it.6 -
I just started a job as a junior C# dev.
My project at work includes:
-no coding style
-multiple classes in one file
-all classes are static
-who needs interfaces?
-typos in variable names
-more than 3 levels of inheritance
-conf files such as "blabla.xml"
-comments? documentation? nope
-copy&paste everywhere
Client outsourced this project to us to get the job done properly :D
Looks that I have some opportunity to show my talent.10 -
Hello there! I’m back from the /dev/null to rant about how my teacher marked the “the new C# syntax” as a mistake.
I’m really sorry, but this “new feature” is a thing since 2015 - back then, iPhone 6s got released, Barack Obama was still the US president and the only Corona people cared about was the beer.8 -
Spent a month working on a website that relied on crawled data
Got the memory leaks and usage down from 700mb to ~150mb
CPU usage from ~100% to <5%
Shrink-wrapped the DB requirements based on data
Created self-supporting services and what not
When everything FINALLY worked good enough for me to look at it and go "damn, this actually worked"
the whole monitoring sys got dyed in red :v
A quick look up and my crawlers exhausted my godaddy's per-user db limits.
Kill me.
Just fuckin kill me.7 -
.NET drinking game:
* Drink every time IntelliSense refuses to tell you what the actual error is because it's too busy choking on lambda syntax from a decade ago
* Take a shot every time you discover a closed, unresolved Github issue discussing your current showstopping build/CI problem
* Finish your drink every time the solution to your problem involves either manual edits to your CSPROJ (or whatever) file, or creating a new project altogether and copying all your fucking files over5 -
I am feeling lonely and depressed. Don't feel like to code. I am introvert, don't have friends. Idk what to do. 😫10
-
Found my old code.
You gotta admit, that's some clean code there, considering I learned C# only for a year at that time.
But those comments....
VeRy WeLl WrItTeN, vErY dEtAiLeD, vErY gOoD8 -
I love that its 2024, and yet sometimes you still have to delete the /bin and /obj folders from a C# project to remove build errors that are in fact, not build errors...
...and people here hate node.js / npm
🤡🤡🤡🤡🤡🤡
but come on down in the comments all you C# worshippers and please enlighten me what I am doing wrong... definitely couldn't be C# right?
also explain why 'clean' must not REALLY mean clean 🤡17 -
Damn, it's quite refreshing to work on some C#.NET microservices instead of the usual PHPTSD in the CMS Of Doom™...4
-
Hey everyone, cozyplanes here with another quick excel prank i thought of.
It is called TEEST, and the technique behind is simple, but interesting. Recommend taking a look, and pranking with your friends.
The following is the README of TEEST (Text in Excel Every Single Time) in Github.
You can check the simple project here ( https://github.com/cozyplanes/teest )
Disclaimer: Do not use or modify neither the program or the source code to make software violating the law.
### How do I use it?
1. Head to https://github.com/cozyplanes/teest and download the latest release `EXE` file.
1. Windows may warn you with the missing signature. The file is a DEBUG file, so there isn't a publisher signature. You can proceed downloading anyway since it has been virus checked by the developer.
2. Type the message you want to display in the textbox.
3. Click `Save text` button.
5. To check the file, click `Cancel` button in the opened popup dialog.
### What happens?
When an MS Excel file (`.xlsx`) has been opened, by using TEEST, two files gets opened.
1. The original file user opened
2. Excel file named `message.txt` with the custom message you have written.
`message.txt` excel file will open every single time a person opens a excel file.
*In some older versions of Excel, the message may overlap with the user opened file.*
### Why does this happen?
When MS Excel program is executed, it is programmed to check the files in the following 2 folders.
- `C:\Program Files\Microsoft Office\Office[versionnumber]\XLSTART`
- `C:\Users\%username%\AppData\Roaming\Microsoft\Excel\XLSTART`
In normal conditions, there is no file in those folders (or the folders doesn't exist at all) but when you use TEEST and click `Save text` button, it saves `message.txt` file in the folders above. From MS Excel is executed again, it will find out there is a file in the folders above, so it will show those text files in Excel.
### Where is this technique used?
There should be a lot of software using this trick, but it is widely known for ransomwares such as `GandCrab` and `TeslaCrypt` displaying decryption methods in MS Excel by this trick.
### How can I disable it?
1. Open TEEST again.
2. Click `Save text` button and click `Cancel` in the following popup.
3. Delete `message.txt` file in the opened explorer.
### LICENSE
This software is under the MIT License. Refer to the `LICENSE` file for more information.
### Contact
<cozyplanes@tuta.io>
Spam/Ads not allowed. Please only send questions or concerns about the software. It may take up to 48 hours to get a reply.13 -
Today I got a segmentation fault in C#.
No pointers. No unmanaged dependencies. Just managed code. Seg fault.
Uhhhh...20 -
I'm absolutely fed up with all documentation being tutorial-based these days! Well written documentation doesn't start with you creating a new project from scratch.
This is basically how all of Microsoft's documentation starts: Step 1 - Open Visual Studio. Step 2 - Create a new project...
I just checked out their WPF samples repository, and about 8 of the projects won't even compile. Absolutely ridiculous. There's 205 projects in the repository, and of course the one I need is on the list of those that won't compile.1 -
If it crashes, it's linux :/
Even the OS installation crashes, they call it stable release with LTS.11 -
As I get deeper into this project the more I fucking LOVE C# 💜
Although I have been using core. I have VS installed but haven’t used the framework yet. Are there any differences I should know about and get used to?11 -
So I've been working on this user friendly yet advanced youtube-dl GUI.
This is my current stage on the UI side. The program automatically downloads the latest releases of youtube-dl and ffmpeg.
What do you guys think? Do you like it? I'm open to suggestions.16 -
You want to know what shit is?
Go use Alibaba cloud service!
Trying out the service and luckily for me i only paid a few bucks.
-- Poor documentation which seems like it was written by the team from sales.
-- Poor github code samples... If i had written similar code while in college, it would be far better than their code samples... no exaggeration, It literally has 0.1% comment.
See for yourself
https://github.com/aliyun/...
-- Its Object Storage (OSS) C# APIs are all synchronous (Who fucking wrote this piece of shit deserves 10,000 punch in the face). You just killed the whole essence of netcore with oss.
-- Error logs are in Chinese (This was expected but seriously Ali you sold your product in English. WTF you got no English dev)
Coming from an Azure world, i would say Alibaba cloud is still in its infant stage (Cheap to use and Expensive to manage).
Make use of it at your own risk!3 -
I am graduating in a few days for my MBO 4(pretty sure that's like community college/college in other countries) in The Netherlands and i'll be going to start working on getting my bachelor.
To prepare, i have devised a learning plan for in the summer.
Should I learn:
(C)++ and Python
(C)++ and NodeJS
(C)++ and C#
or
(C)++ and assembly
C and C++ are languages I want to learn in any case, but as for the others I am undecided.
Thanks21 -
Continued rant of : https://devrant.com/rants/1152021
Ok, I am using this program again, this time with 43 programs (i guess), and it saves me at least 30 minutes.
Some were interested how I made it, well, another person (who is not in devrant) helped me (and he is not from stackoverflow) make it.
You can see how it works (the frontend) by looking at the image below.
I am afraid that I can't release the source now, and maybe not soon because of personal reasons.
Back to the point, I found a massive bug there, you can see "Finding uninstaller" in the middle of the two, and I can't fix it, so I shall just leave it alone.
It is Saturday now or Sunday I guess, take a good rest, and get back to work in Monday! (or school for students) -
I am working on my personal resume website (with a lot of css and jQuery).
Two days ago, I got a job offer, so I started preparing for the interviews, leaving the website aside.
Then, yesterday that company turned me down. So, I left the interview preps and started working on website again.
Then, today there is another job opening and I am now again preparing for interviews, keeping the website on a pause again.
Also, I have my internal exams coming up this weekend.
I don't know what should I do. Idk what I am doing. 😥😥7 -
Good evening programmers, IT's, devranters and memeians.
I would like to use a little bit of your collective conciousness - the hive mind if you will.
I've been working on my automation system for quite a while and I've received some exposure from non-programmers - which resulted in more questions than suggestions.
I would like to ask you guys to give me some suggestions as to what I could add to my system.. that is, if you have time..
The program in short (if you don't want to read the readme file) is an automation system scriptable in pure Lua.
It utilizes Selenium for web automations, NAudio for audio operations and Moonsharp as an interpreter.
While my tester friends say that they use it for the actual testing, I myself found it very useful in writting bots (for browser games for example).
Here's the github link: https://bit.ly/2GDu92g
Thanks a ton!
PS. Here's an unrelated image to draw your attention.6 -
I created an app that plays background sounds to help people focus/study/relax. It’s free and open source. Feel free to try it.
Download from here: https://apps.microsoft.com/store/....
Source code here: https://github.com/jenius-apps/....6 -
Working with Microsoft.CodeAnalysis.CSharp
where I work with CSharpSyntaxTree
I can compile the code in code.
So basically,
SyntaxTree syntaxTree = CSharpSyntaxTree.ParseText(@"
using System;
namespace InAppCompiler
{
public class Writer
{
public void PrintText(string message)
{
Console.WriteLine(message);
}
public void ALLCAPS(string msg)
{
Console.WriteLine(msg);
}
}
}");
Freaking cool!3 -
Earlier I used to help my college batch mates and juniors in coding and development stuff. Sometimes I used to do some projects with them myself to help them learn. Sometimes I used to go beyond limits to debug their errors, even spending hours with them physically or through TeamViewer.
But now I have realised that I had been no more than just stackoverflow.com to them. They just call me when they need me and don't even care about me as a friend.
So that's it. Now I have stopped helping such people. I don't care if that's rude or arrogant. I just don't want to do this. If they still are a friend, well and good otherwise they can leave. I don't care anymore. -
Today, I applied StyleCop Analyzer to our project codebase.
over 40k of warnings sounds like fun :D2 -
Anyone else hyped for C# 7.0?
I love the direction they're taking, seems like they're doing a lot to make it easier to use and reduce some of the code overhead.
https://blogs.msdn.microsoft.com/do...1 -
After 6 months of C++, switching back to C# for personal Unity project feels so much nice, albeit only in my personal time.
Specifically, when you create a class, it's just a single csharp file, instead of fucking header and class files.
Breath of fresh air.9 -
How, how can I be sooooo bad sometimes.
I just discovered “Alias” feature of C#.
Let’s say you have 2 enums with the same name (Let’s say MyAwsomeEnum) in 2 different namespaces.
In this case I was always full qualifying the name.
I was today years old when I discovered “using MyAwsomeEnum = <Fully qualified name>” in the using section.
Edit : Even worse. It's like 3d example in official doc
https://docs.microsoft.com/en-us/...
/facepalm on my self6 -
Working with the first version of RantComics in C# as the school session leans towards me... 4 days til new semester.
Time really flies~
#rantcomics4 -
Fuck C# for real, like why in the FUCK DO YOU NOT AT LEAST THROW A FUCKING EXCEPTION WHEN I TRY TO CONCENTRATE A STRING WITH NULL, I SPENT 40 MINUTES DEBUGGING THIS SHIT JESUS FUCK
Edit, note: I'm having classes that return null when they don't find something. Why is it so hard for the fucking compiler to at least warn me or some shit!!!!!!!!!!!!10 -
From today, I'm gonna post infrequent-devLogs of the project i am currently doing, I have been thinking about it the past couple of months, and I am finally moving it into action!
I wish writing devLogs will make me to finish the project, at least a working prototype.
It is a C# block coding application that is made in 100% C# that generates human-readable C# code for C# begineers.
If you want to follow me along, make sure to subscribe to my rants by going to my Profile (cozyplanes) > More icon in top right > Subscribe
All devLogs posted directly via devRant API integration from CZedit, a simple edit program for geeks
=========================
devLog #0 - Block coding in C#
Done:
- Made the console output to redirect to textbox
- Ability to save output to external storage
WIP:
Compile C# code directly at runtime with Roslyn
Notes:
open-source??5 -
If you have 5 classes using the same postfix... and inside, 4 methods en each, called EXACTLY THE SAME... Please, create at least an abstract class!! or else next week you'll have to make the EXACT same change 5 times!!! or more!!... I don't know man! just saying... Patterns exist for a reason!1
-
Working on a tiny new project, can't build DLL libraries from our old projects. Contain mixed version of .Net written in VB and C#
Asked our senior developer to help me out.
...
After an hour, he's still not able to build it.
...
So he basically implemented some features I needed on the fly...
😂
DLL hell is real! -
After only having done linux and web projects for the past few years, our company took over an old WindowsForms program written by a guy who only (poorly) knows C. It's some of the most foul code I've ever seen... And I'm the only one in the company who knows how to write C#...1
-
So there is this guy with a startup, who wants me to work with him like a co-founder, putting innovations in to the startup. But I want to work like an intern, I will code, you will pay me money, if something breaks, I'm out.
Idk for how long, we can continue like this. Sometimes I feel I should leave, but then I think about the extra pocket money (I am a student). But he calls me like 10 times a day, talking for 15-30 minutes on phone, repeating the same things again and again, which really pisses me off as an introvert.
Should I leave the extra pocket money for some peace of mind?1 -
In our company most of the PMs do the development. Surprisingly it does with pretty well.
But this PM just asked "how to get rid of spaces in a string"...2 -
!rant
Serious question: should I learn PHP?
I use the Microsoft stack at work, but I'm thinking about branching out a little. What do y'all think?15 -
It's been awhile, for the heads up I'm that good dude applied a job as MIS few months ago, knows a little bit python and the manager finds out, he told me I gotta make a Warehouse Management Software for the company in C# PLUS MIS regular work(server management, user trouble-shooting and stuff).
after I finish my Warehouse Management Software about a week ago, my manager told me which I quote:
"wpf is not enough! we gonna bring it to multi platform like a web interface can be use on employee's phone as barcode reader and do things can be done as wpf can.
aaaaand we need RFID integration for the whole system working with Identity Server on Azure.
AAAAAAND we need it online before Feb 2020."
I guess after C#,
I'm learning typescript and angular now.
oh by the way my position is MIS with MIS salary.
Does this means after all these shits. I can apply as RD my next job right?2 -
So I was installing ubuntu alongside windows in dual boot.
The installer had some problems while partitioning the disk, so I did it manually using GParted. Then the installer had some problems while installing GRUB.
Now I got to know that my windows partition has been corrupted and ubuntu isn't installing.
My fully functional laptop is now reduced to metal crap with no OS being able to boot. Fuck Ubunu. Fuck Linux. -_-4 -
Well ...
switch(priority)
{
default:
DoSomething();
break;
}
... I'm not sure if this switch is really necessary 😂 -
When the new owner of the company decide to regroup every branches of the business to use a disastrous unoptimised .NET software. When the current one is very fast, the interface kinda UX-friendly. Now its, a home hosted .NET software with Windows forms elements with multi-windows inside the main software. Just to help you create yourself an image of the situation. It cannot be installed if there is more languages then only En-US. It will freeze the updater.
The time between switching tabs is in average a 3-4-5 seconds each time.8 -
From HTML CSS javascript to some voodoo WPF xaml and c#, mvvm and databinding dependency inject cluster bomb to my brain god Microsoft just put a tutorial out like a normal group of people. where you do examples of projects. I'm 2 weeks in and this still makes no sense5
-
Is it just me or are there more people who get immense satisfaction and happiness resetting their PC and their phone?
Like I was kinda depressed for some 2 days, and today I re-installed Windows in my friend's laptop and now I am feeling up again. Now I am resetting my PC and my phone 😋.
Feeling super motivated and hoping for a better start. 😁5 -
All the C# developers will get this. I’m a C# developer myself. When I go on GitHub, all of the c# GitHub wikis, comments, and issues are very professionally written, even the amateur comments are worded like a stackoverflow question. It’s great.
I stumbled across a popular JS GitHub repo (https://github.com/tessalt/...) and reading the comments made me so happy to be a developer of enterprise level languages with structure, patterns and conformity.
Sure JS has all these things, but JS also has a boatload of “self taught” (I’m self taught too) developers with no patterns, no sense of scalability, or systems integrations, or sense of how to write meaningful comments and discussions44 -
Hi C# guys out or everyone else too,
I found this in an StackOverflow answer: https://docs.google.com/document/d/...
What do you think?16 -
Random recruiter viewing my linkedin profile:
"oh, this dude knows C#, I gotta send him EVERY single .net job I have"
Nah, mate, I don't know shit about .net or microsoft development in general, furthermore I actually despise developing for either windows or mac os x.
Also, take 2 extra seconds to check I don't have .NET or Microsoft development in my skills list. -
Wow, I'm such impressed by the power of Visual Studio with Team Collaboration, DB Management and this impressive packet manager... But it's like "don't try to understand, just code"
-
Didn't know how difficult is to work with UDP protocol, doing local tests between two PCs in the same network it works well but, connecting to a public server over the internet has become a PITA, you have to do some shit like hole punching or UPnP(some routers but accoding to some users on the net is not reliable) or some others shit in order to connect it
And all that is because how NAT and UDP works, libs like libtorrent(C++) can connect using NAT-PMP, PCP and UPnP, but nothing in C# that can help with that, this is a game of pure guessing4 -
Today I (/ later together with some colleagues) spent almost 4 hours trying to improve a Entity Framework LINQ to SQL query.
The initial problem was, that one of our List API endpoints took longer the more you "page" (besides the long response time it had anyways).
So after
- brainstorming in the team
- brainstorming alone
- hacking around and
- shouting at screens
- googling
we
- got nothing optimized
- got confused about what EF does
- lost the believe in our development skills
So Entity Framework is really a nice thing. But as soon as you look deeper, trying to figure out what it really does between ToList() and "yeah my data arrived" it is just....demonic.3 -
Any .NET Core and Vue.js developers here?
https://github.com/danijelh/...
I made this template( Nuget ) showcasing how to use .NET Core MVC with Vue as a multi-page application. You can build multiple "mini spa's" to enhance UI or simply use plain .cshtml and razor if you don't need Vue on a particular page.
I would like to know, how many of you fellow .NET developers actually use full SPA applications and is something like this useful?
It features Vue.js, Typescript, Vuex, Vue router, Bulma, Sass and Webpack 4.
I heavily use Vue CLI and SPA's but have notices that a lot of people around me still like this approach.9 -
Maybe I'm stupid, but I'm annoyed that there are no good ways to debug Blazor WASM.
It doesn't help to tell me that I got a null value, unless the error tells me which of my 50 variables is causing it5 -
C# styling question: in a constructor do you prefer:
public MyClass(int MyVariable) {
this.MyVariable = MyVariable;
}
or
public MyClass(int _MyVariable) {
MyVariable = _MyVariable;
}
?22 -
Can someone help me? I'm getting this error in VS Code while working on my Unity project. Everything was working fine for last few months. Now I'm getting false positives, because everything works fine in Unity. The problem's gone when I open "ObjectInfo" class file and save it, but I have to do it every time I start VS Code.
The type or namespace name 'ObjectInfo' could not be found (are you missing a using directive or an assembly reference?) [Assembly-CSharp] -
Unity Engine lures you into trying it out with its simple starting Tools.
But once you realize this is just a fassade - it's too late and the trap got you.
You're now in limbo of to simple code which isn't compatible with the more complicated features!
Oh you try to fix this bug here? Let me suggest you 6 year old solutions from Unity Version that are not supported anymore!
Sorry just have to say it: Unity is big pile of sh*t! I don't know who had the idea of making this frankenstein-monster!
Just to consider thinking not only making one monster - NO!
Lets do a whole bunch of iterations and versions of this monster and yes you guessed it: they are not compatible to each other!1 -
Im building an API with NancyFx (HTTP stuff) and mobgoDB (database). i had very strage errors when starting queres. and after 2 fucking days if debugging i found it!
accidentally I wrote somewhere in a custom type conversion "ObjectId" i stead of "OwnerId".
F M L
"""""""""
#MongoDB #NancyFx #CSharp/.Net1 -
Are programming books worth buying/reading? If so, what C# ( and Unity ) book would you recommend. I'd like to expand my knowledge.3
-
Get nice idea to code game.
Done it in 3 hours with unity.
Feel shitty myself now :C
If someone want to take a look:
com.Erxelio.Boolean in android market -
So since Monday I've been working on my C# skills
and testing my self i decided to write a banking app simulation in c#
here is the link to the gist:
https://gist.github.com/TaqsBlaze/...
and link to the executable:
https://github.com/TaqsBlaze/...
to all the experts out there whats your advice/critics etc20 -
I offered my college junior a referral in my company, and she said she doesn't want to be favored and wants to get a job all by herself.
So I am thinking if applying for a job through referral is really unethical or against someone's self-respect? 🤔🤔
What happens when you see a person offerring referral opportunities on linkedin or other social media and apply there?? In that case, it doesn't seem so wrong. Maybe it was a little too personal offer that made her think about her self-respect? 🤔2 -
Using ReSharper is like becoming enlightened, or de-brainwashing oneself to see true reality. Of my entire dev team, I'm the only one who can see the fnords!
Unused identifiers, badly sorted modifiers, unused property setters, redundant `this`/namespace, redundant casts... Surely if they could see them too, such code would not survive! -
"We would really prefer it if you didn't attempt to print time zone offset with your DateTime values (because that functionality is utterly borked and prints nonsense)."
From documentation of .Net DateTime. -
I started with a free trial of neobook (anyone remember that?), and then moved on to MS SmallBasic. At some point I had discovered Roblox and was stuck with that and lua for a few years. Eventually I started learning C# from a course, but never really used it much so I kinda forgot it.
School got a lot more busy for me and so I wasn't really able to do much programming for a few years, and even when I did, it was mostly bash and docker stuff. Then in the beginning of last year, I was able to start learning Go, which is now my current language of choice. -
What are the pros and cons of creating a builder (and a dozen related files and classes) vs using a partial shared view?
For what is basically 2-3 html elements reused a few times in a single page. -
I hate heavy-duty frameworks. I'm currently working with both ABP and Angular and they're both just godawful. They're inelegant solutions that just fucking eat through my computer's RAM. It's just slow, generates code that my IDE analyses and finds problems with. And the application runs so. fucking. slowly. I like how it enforces a separation of concerns, but that's about it. Oh and in the name of God, why would anyone do anything with angular now that we have Vue? Why? I can't...2
-
NEED HELP: C#
Please I am a Beginner in C# and I need little help with Methods.
In the Picture attached, I'd love to use User input as Parameters in the method. Example: example getting user imput with Console.ReadLine(); and storing it to num1 or num2 as parameter in the Method.
Is this possible in C#, if so, how can I make it work? Thanks5 -
Currently working on a (school) app that allows quicker access to links than navigating the website.
Because apparently, the school has shit web devs.
Fantastic.