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 - "great code"
-
me: im tired of coding here
boss: then go home and code there
me: GREAT SEE U TOMORROW
boss: okay, tomorrow bring a pillow, slippers and food so you'll feel more comfy coding!11 -
"Sir, I fixed the recent bug"
"Great, what did you do?"
"I commented out the code that was causing it :)"
"Brilliant! You didn't forget to push the code to production, did you?"
"No Sir, I pushed it immediately"
"Marvelous! I'll arrange a promotion for you next month"5 -
Great phrase from my PM (sarcasm):
"Don't waste time with maintainable code, we have a lot of bugs to solve"4 -
One of my worst meetings, as the sheer rage was unbelievable.
Backstory:
Architect: "Stop duplicating code", "stop copy pasting code", "We need to reuse code more", "We need to look at a new pattern for unit tests" etc.
Meeting:
Architect: What did you want to talk about?
Me: I built a really simple lightweight library to solve a lot of our problems. Its built to make unit testing our code much easier, devs only need to change a small bit of how they work.
Architect: I like the pattern a lot, looks great ... but why a library? can we not just copy the code from project to project?
... do you have a twin or something?2 -
Dev: "Ah, I finally fixed that code I was working on the other day and got it pushed to staging!"
Almond: "Ah, great! What was the issue in the end?"
Dev: "It was an odd one - it wasn't actually my code that was the issue, there was a bunch of other code getting in the way."
Almond: "How do you mean?"
Dev: "It kept complaining about something called a "unit test" failing - so after a while I found the right unit tests, deleted them, and now it works great!"
Almond: "..."11 -
Any devs here that Code in C/C++...?
Or am I lost in "webRant".
I am worried about the future " code everything in javascript " generation :)
Make pointers great again!75 -
Testivus On Test Coverage
Early one morning, a programmer asked the great master:
“I am ready to write some unit tests. What code coverage should I aim for?”
The great master replied:
“Don’t worry about coverage, just write some good tests.”
The programmer smiled, bowed, and left.
...
Later that day, a second programmer asked the same question.
The great master pointed at a pot of boiling water and said:
“How many grains of rice should I put in that pot?”
The programmer, looking puzzled, replied:
“How can I possibly tell you? It depends on how many people you need to feed, how hungry they are, what other food you are serving, how much rice you have available, and so on.”
“Exactly,” said the great master.
The second programmer smiled, bowed, and left.
...
Toward the end of the day, a third programmer came and asked the same question about code coverage.
“Eighty percent and no less!” Replied the master in a stern voice, pounding his fist on the table.
The third programmer smiled, bowed, and left.
...
After this last reply, a young apprentice approached the great master:
“Great master, today I overheard you answer the same question about code coverage with three different answers. Why?”
The great master stood up from his chair:
“Come get some fresh tea with me and let’s talk about it.”
After they filled their cups with smoking hot green tea, the great master began to answer:
“The first programmer is new and just getting started with testing. Right now he has a lot of code and no tests. He has a long way to go; focusing on code coverage at this time would be depressing and quite useless. He’s better off just getting used to writing and running some tests. He can worry about coverage later.”
“The second programmer, on the other hand, is quite experience both at programming and testing. When I replied by asking her how many grains of rice I should put in a pot, I helped her realize that the amount of testing necessary depends on a number of factors, and she knows those factors better than I do – it’s her code after all. There is no single, simple, answer, and she’s smart enough to handle the truth and work with that.”
“I see,” said the young apprentice, “but if there is no single simple answer, then why did you answer the third programmer ‘Eighty percent and no less’?”
The great master laughed so hard and loud that his belly, evidence that he drank more than just green tea, flopped up and down.
“The third programmer wants only simple answers – even when there are no simple answers … and then does not follow them anyway.”
The young apprentice and the grizzled great master finished drinking their tea in contemplative silence.
Found on stack overflow https://stackoverflow.com/questions...8 -
I created an open-source module for Angular about a year ago, which is now used in a real project for a big client by someone else! What a great feeling.
Just had to tell someone, my friends and family doesn't understand this code stuff.13 -
I met my girlfriend due to code.
There were these free courses for competitive programming as a preparation for the informatics olympiad and we got along and made weird programs and had a great time. Most of the other people there were much younger than us, and in the actual finals she ended up beating me by quite a bit, yet she still dares to say I am a better programmer.
It's been almost a year since then. Wow20 -
Friend: Hey, I managed to build my own UI.
Me: That's great, which programming language did you use?
Friend: Filezilla.
Me: No, I mean the language. The language you code in to build your UI ?
Friend: Notepad ++
KILL ME.9 -
Friend: Atom
Me: Vs Code
Friend: Light theme
Me: Dark theme
Friend: I believe there's some kind of energy that rules our destiny.
Me: Haha, seriously, no
Friend: (Starts telling me about some proposal of how he's going to build something).
Me: Yeah that's not going to work.
Friend: (Gets angry and proceeds to explain his idea on a whiteboard)
Me: Ahhhh yeah, sure it looks great
Friend: Dammit!!
Me: (I start telling him about some proposal of how I'm going to build something).
Friend: Yeah that's not going to work.
Me: (I get angry and proceed to explain my idea on a whiteboard)
Friend: Ahhhh yeah, sure it looks great.
Me: Dammit!!
If we didn't have such a solid friendship, I think we'd hate each other by now hahaha15 -
Working alone is great. You won't have to deal with others shit coding and others won't have to handle your shit coding.
Code free, code alone!3 -
##REAL STORY##
Friend: Hey there, I have a Java Exam after one hour and I have a question for you.
Me: Great ! How can I help
F: They will give us a problem and ask us to solve it by writing a Java code.
Me: Okay,
F: That's it.
Me: Good, so were's the question.
F: Come on, of course I want to know how to solve it.
Me: Absolute Silence.
Me: friendsList.removeAll();10 -
My teacher said: "You can choose the language of your code, but when you will need to make a great program you will use Java"17
-
So I found myself explaining to my rubber duck all the things I've done wrong in my past relationships...
What? It's a great guy, I shouldn't limit it just to code issues, I have a life it could fix too4 -
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
-
(after 1 month working on native android app).
Me: The android app is now ready.
Boss: okay great... Can we have the ios one ready for launch tomorrow.
Me: No it will take some time.
Boss: why you already have the Code can't you just make an ios app out of it... Like copy and paste
Me:😡😡🆘9 -
Fuckin hell!!
Code works everywhere except at one client. Ok, I check logs & see something missing.. I go check the code that handles excel files.. try catch and do nothing.. great.. :/ ok let's log this shit to see what is not ok...
Insert logs, build, update, run.. now it freakin works o.O11 -
Worst meeting?
A tech review where a senior developer presented my code and slightly modified ui as his own.
Only things he changed were the button colors and title of the app. When he switched to the code, my comments were still there.
It was the worst meeting because my boss said, in all seriousness, "It looks great!" 😦6 -
!rant.
I've worked for about two months at my (first) job. Its amazing.
We create audio/video software for the products we make.
There are 9 programmers besides me, I'm the only junior. And I'm still learning my way around the code, but they still value my input.
We only do stand ups for 5-10 min, like it should.
One if my colleagues helps me often when I have questions, so I've nicknamed him ducky.
My pm is awesome, he's great at coding and a great manager.
When we work overtime, the department pays for delivery food and drinks.
And we've already gone on 2 trips with the department, mountain biking and a BBQ.
I love my job and I hope that I'll soon be good enough to ask less questions.3 -
I was at a web development competition in Helsinki when representative of Microsoft comes by my desk and suddenly says:
"I see, you are using Visual Studio Code. How it is?"
"It's great.", I answer.
"YES! Finally, we have done something right."
The point being that even Microsoft's own employees know how carbage their products can be. *Cough* *Caugh* Windows.14 -
When I drink and code at home I put "while drunk" at the end of a commit so I know which ones to look back over later. This system worked great for me until yesterday when I included that in a PR for a work repo.8
-
To all the C++ programmers who haven't read "Modern C++ Design" by Andrei Alexandrescu yet, READ IT! Its great. To me, it opened up an entirely new approach to designing classes with a whole new dimension of possibilities. And it reads really well! Sometimes I got shivers because the code was so sexy 😅😂😂14
-
!rant
My girlfriend sat on my lap the other day when I was helping a friend of mine with some assembly code. She look at the code an said
What are you doing?
I explained the code and said that is the lowest you can get before machine code. She didn't run away in fear....
This is a great sign...6 -
Im at the end of my studies and doing great, but when my clinical depression episodes kick in I forget how to take a piss correctly let alone write some code. I think I'l have a fun time when I get a job.14
-
It's great to hear the boss telling someone that your code "saves time" and "makes things easier to do".
Write good code people. It pays.1 -
Humans generally distract the fuck out of me when I try to code. And when they leave me alone, Windows decides its a great fucking time to install its shitty updates.2
-
Find a great project on github=> want to find out how it works => open the source code =>zero line of comments6
-
Week 26 advice - you all probably know this but good to refresh!
Eat healthily
Sleep well
Document clearly
Annotate your code
Use version control properly
Keep yourself in check with project management tools
Your peers are your friends... And competition.
As much as your boss is an idiot respect them and your life will be easier.
With great power comes great responsibility; don't touch that keyboard until you think through what you are doing chances are your first idea is not the best.
Don't write quick fixes and say you will go back to clean it up later on when you have time. That time will never come.3 -
Him: I am a software engineer.
Me: That is great, do you use specific technology?
Him: Multiple, but my basic is YouTube.
Me: Sorry, I didn't get it? You mean YouTube API?
Him: No need, I have a channel on YouTube... And podcast a lot about software engineering.
Me: So you don't write code anymore?
Him: I didn't, engineering is more than writing codes.
Me: Yes it is....13 -
Goes to first job interview. Great interview but, can you send some code?
-Sure-
Sends requested js, css html files.
Great code, we want to speak to you again!
Goes to second interview, waits 15m, meets the sales department. Sales? Wtf?
Great interview but, can you send more code?
Errr?
We need some native JS to really make sure you can write code.
You could've emailed this request before the interview b*tch. That way id save time hurrying in rain and traffic jams!4 -
How to be a great developer - 101
1. Write Code
2. scrap it
3. Rewrite in a better way..
Repeat! 😂1 -
To paraphrase Jeff Atwood: everything you write sucks. The goal of programming is not to write great code, but to writes code that sucks less each time you write code.
-
I see all these tools for the past few years claiming...
"build an app without writing code"
Great, if you want to build a prototype and then try to find a technical co-founder who can actually build something.
Otherwise, none of us need another shitty cookie-cutter app.
There is a 0% chance you can build anything that will scale without writing some code. Your best case scenario is you sell it to some sucker who doesn't understand that what they are buying is garbage.
I give those folks 3 options...
1. Find a technical co-founder
2. Learn to build software
3. Fuck off
Thinking you can build a software company without building actual quality software if fucking moronic.
Of course, that won't stop the thousands of business grads each year from trying and saying...
"I have such a great idea, I just need someone to build it"
Let's get things straight. You have nothing. NOTHING! You idea is worthless without execution.5 -
I hate the fucking fakeness at my corporate workplace. Everybody's kissing everybody's ass. What' worse is that individually, they're nice people but the environment changed them and they don't even notice it.
Also they fucking congratulate themselves for their fucking great work but all they did is basically a big crud app. We're all just a bunch of code monkeys. I'm so getting out of there.12 -
From the guy who wrote all the Programming Microsoft books and the Annotated Turing book. Comes this book.
This book is great for beginners great for people who don’t know a lot about software and how computers work, simple read. I like it because it also gives a different prospective, beginning at Morse code and works up from there all the way up to high level languages.
The book gives snippets of code to discuss it not really a tutorial book. It’s a different type of book that all people could understand.
Good read32 -
STOP CODING MUTHERFUCKER AND THING YOU DUMB FUCK!!! THIIIINK!!!! IMPROVE!!! LEARN NEW SHIT!!!
STOP CODING TO CODE BETTER!13 -
Why must I always have great ideas for my projects and have the code in my head when I'm out for dinner with family and drinking, whyyyyyyyyyyyyyyy8
-
Do you code in your dream too?
Cuz, I do. Mostly it's about some functionality I am not able to implement in real life, at the end of my dream I feel like I have got a really great logical solution but when I wake up it doesn't make any sense.
(Excuse me if the image is a repost)8 -
Found a "great" variable name while maintaining legacy code:
{
...
Report goodbye = Report::first($id);
goodbye->delete();
...
}
Goodbye report! 😂😂😂 -
Hmm our bundle js is already 1.35Mb maybe I should do something with that.
... Insert 2 hours of frantic webpack magic + babel-preset tweeking, tree-shake code optimization ...
- npm run build
- bundle.js => 1.37Mb
Great Success! I'm going to take a lunch...4 -
!rant
I would like to ask you guys for advice.
I am a content manager who is gradually given more and more dev tasks. That is great because I want to become a webdev. However I have one big issue. Whenever I write code (any code) I feel ashamed because I know that anyone else could do better. I am also ashamed to show my work to my colleagues because I am afraid of what they might think of me. I know that they are good people and they would probably help me out but still...
Someone once tried to explain to me that I am not my code and whenever my code is being evaluated I am not the one who is being judged, it is my code, my current knowledge. I understand conceptually what he was trying to tell me but I just can't feel it.
Did you have similar feelings when you started out?
Thanks in advance.18 -
Found out a senior dev threw me under the bus for a mistake I made while coding and it affected my raise. Not only was I never initially informed of the mistake, I was never told what went wrong and why it needed fixing. We also don't implement code reviews or anything of the sort. Seems like a great avenue for improvement and growth, right? 😑5
-
That moment when you notice that devrant addiction is starting to be a global threat to developers:
Stop devrant immigration
Make code great again
Compile a wall around devrant and let developers write it1 -
Client:
This has to be done with in 160 hours.
Me:
Seems doable
After maybe 100 hours of developing:
Client:
This is great and all but we decided to change the specs little (a lot) surely you can code this whole thing again in the rest of the time.10 -
My team is quite international and although we speak English among ourselves, most people still comment their code in their mother tongue.
I have learn a lot from reading my colleagues code. Mainly curse words from all over the world. It's great.14 -
Me: *opens FB in mobile web browser*
FB: You there! Go ans get our great Facebook Lite app! It is faster and...
Me: Nope! *clicks X to dismiss*
FB: Nope! *a wild code appeared*10 -
I've created an AI!!!!
Code:
switch msg:
case "Hi": return "Hello";
case "What's the weather": return "Weather is great";
case "Are you an AI?": return "Yes, I'm highly intelligent"8 -
devRant collaboration project - a lot of us are thinking of doing a project or projects in the future. I am sure some valuable partnerships will be forged.
My desire is to do something that can make a positive impact in people's lives. Possibly to help people with special needs.
I am thinking about code that extends into the physical world - an Internet of Things project sort of a devThing.
Brainstorming a bit deeper - maybe a mashup of off the shelf components - maybe using Raspberry Pi or the $5 Raspberry Pi. Keep it low cost so everyone can afford it. As an aside CubeSats powered by RP's are being used in outer space saving a great deal of money and providing value.
The great thing is devRant has great coders, graphic design, ux, Raspberry Pi (or similar miniaturization), public relations to get the word out...
I have some examples we can use for inspiration. Let's keep building on this.40 -
Breakup really kills the mood to work for a long time eh?
I have a multiplayer minesweeper project in the works. It's great, everything is super slick. Using SASS, Node.JS, MVC design, WebGL... It's a super great, modern project and I am very proud of it.
But I just can't continue it. I open my editor and I just ignore it. I play video games, go outside... Anything except code. It hurts to see myself do this.
I have some great designs for it. You're allowed to play anonymously or logged in. VS mode and everything.
I was going to share the discord link when I launched the alpha... But I think maybe I need to start building a community now so that I can gain my motivation back.
Before the breakup I worked on it daily. I was learning new technologies left and right (SASS being the largest, and WebGL is the next frontier)
It hurts to see. Today after I get off work maybe I will try harder.8 -
Being that none of my family or friends code, it is nice to be here with others who are nerdy. What a great place5
-
!rant
That great moment when you can just write your code with nobody rushing you and no deadlines8 -
I seriously hate egotistical developers. Just had an hour meeting where one developer side tracked and talked for 45 minutes about how important and great his code is. At one point he even literally said, "I'm a genius". It takes everything inside of me to keep it together and remain professional to him on a daily basis. Please don't be this guy7
-
preface context: I was recently asked to make a website for an event I participated in before
client: okay I heard you can make a website for our event? that’s great!
me (dev): yeah, do you have any requests or expectations for me?
.
client: not really, but I was a developer before and I can code a bit so I’m wondering in what language would you code or develop our website in?
me: oh I would be using JavaScript, specifically nodeJS
.
client: oh really? i’m not really familiar with that language, so is it okay if you code it in a language I understand and used before?
me: sure, what is it?
.
(lol I wonder if you can guess already what it is at this point)
client: HTML
me: ... (*uh oh* html isn’t a markup language *sigh*) :——) -
Hello World! First post here. I'm literally done with frontend stuff. I want to design code, not to code design. Unless it's Processing. I find it cute. So.. I have a somewhat handy grasp on C++ because of a class in electronics course, Python seems quite easy to catch. I'm totally new to programming. I'd like to get into software, game development and android development (but I would like to do things cross-platform).
Which paths, resources, languages, useful books, videos, or just anything would you recommend?
To be fair, I have no coding friends so mentorship or simply finding code buddies would be great. 💜7 -
!rant
Just started working for a new company. Super cool. Just like the last one (as far as perks), except they actually trust their devs.
Old company: Make sure your code is extensible
Devs at old company: You know it's not written in stone right?
Old company: Does that mean you can make it do this?
Devs at old company: No. That's the wrong code base
New company: I need a feature. Get it done when you can
New company devs: Well, guess I'll take some time to refactor all this stuff while I'm at it
~Some time later~
New company: Thanks, that feature works great!
No staring over shoulders, asking when it will be done. No asking why we want to refactor something. As long as work continues to flow, there are no issues. It's great!
Also, if we want to try a new tech, we just have to put together a short paper explaining why it will work better in that situation than the tech that's already in place. -
Before I get too fat, the "Hour of Code" concept it's great, trying to get kids interested in programming
That being said, why on earth do they use fucking drag and drop programming? I would argue Python is easier to learn and infinitely more useful, and this is coming from someone who can't stand Python.
So far the only thing that I can think that the Hour of Code achieves, with drag and drop programming, is people possibly getting into Scratch, and fuck Scratch.5 -
Account manager: "We somehow managed to take unmaintainable spaghetti code for money again. This is a great opportunity for you."3
-
After seeing this "old" picture I want to let know at the guyz who are in love with AMD that before Ryzen(s) I was able to cook my fuckin' breakfast's eggs on their fuckin' CPUs.
Big mistakes brings to great solutions and shut up the fuck up AMD, probably your core code is full of vulnerabilities but no one cares about your ultra threads architecture.22 -
Spent 2 days of hackathon creating keynote presentation and wrote 0 lines of code. Our "app" was only html and css. We won and I felt sorry for some guys because they had some great apps and still lost to keynote.4
-
I love reviewing code. I learned a better way to write something. That feeling of "hum, that's a lot better than what I have been doing" is great.1
-
Everyone is on their vacation and I am in good mood so time to refactor some 3 year old frontend, angular, javascript code. After 5 minutes of looking, some great quality of code snippet on the image below.10
-
Facebook: Ok, so we have this really cool idea for native Android and iOS app with React
Devs: Nice!
Facebook: Its gonna take away the need to work with native code!
Devs: Great!
*Reality comes in*
Reality: To make anything work you need to modify native code and use more hacks than there are useless npm packages18 -
Former boss taught me to care about the place where you work and how to think always as a team and not just to improve my skill.
Current boss taught me that you can be excellent designing and writing code, bur if you don't know how to transmit your ideas to others in a way that they understand, you're pretty much stuck.
Great bosses so far...2 -
After finishing a long and arduous refactoring I got to delete some hundreds of lines of really horrible, unmaintainable and broken legacy code. Feels absolutely great.
I love the smell of deleted code in the morning. -
I hate these idiots that post source code examples as an image just so they can keep their cool highlighting and style. How the fuck am I supposed to test that without re-typing the whole thing myself? Ever try OCR on source code? Not too great, is it.12
-
Modern HR is great. I love the fact that my future as a developer depends on how effectively I can talk over someone and create solutions to shitey ice breaker games.
Fuck off. Code test me, cunt.1 -
when your friends have a "great idea" for an app and expects you to code it all and they forget about it after you code it...3
-
Great.
I have a demo in an hour for which I need to make some final code changes and tests (about half an hour’s work), and just discovered that XCode killed itself. 🤦🏻♀️
Looks like I’m missing the demo.12 -
So, a friend of mine just got a NullPointerException from his shitty Java code, and decided to fix the problem by catching the exception.
Great fix bro, real smooth..1 -
I was having great progress in reverse-engineering the devRant Avatar system...
And then I came to the shirt list.
109 SHIRTS THAT HAD TO BE METICULOUSLY DOCUMENTED AND GIVEN AN INDIVIDUAL CODE
AAAAAAAAAAAAAAAAAAAAAAAAAAAA9 -
Instead of worrying about API rate limits I made my code manually parse the html from a website.
And the code still works great!4 -
* Got a date *
She : I'm a programmer.
Me : wow that's great! Which language do ya prefer to code?
SHE : HTML .
* And that's where I ran away *19 -
Kotlin support on Android:
i never liked Java, not because of the language but for the usual bad design implementations and Android is one of those.
Then Kotlin arrived, it looked very promising but it's when i looked at Coroutines that it simply blew my mind:
you just have to write your code and the Kotlin's compliler "magic" will do most of the boring/complex stuff for you and it's even great performance wise!
I even refactored inter-process calls to simple sync functions with few like of code and for a non-android developer like me it's just love at first sight!3 -
Humph. Just remembered something pretty cool. Last year I had a great math teacher and tech teacher. My class on the other hand: not great except my friends. We were being taught c++ in tech class and man were these kids the laziest i've ever seen. Just creeping up behind me and copying the code. Tech teacher walks up and opens up stack overflow on the kid's pc and walks away. Later during math class our teacher overhears kids talking about pokemon go. She then gets really excited and talks about how fun ar is to code and asks if any of the kids need c++ help. Turns out she had quit a dev position to become a teacher and give back to the community. She left halfway through the schoolyear because she was pregnant though. Needless to say most of my class caught the coding bug and it was thanks to both those teachers. The math teacher came back at the beginning of the year but then I moved back to the USA.
-
Gotta love kotlin!
@osiris1337 the refactoring is going great
I had a 80 lines long model class with all the getters and setters and Parcelable interface implemented
and all of that converted to kotlin like this
@-psr another reason, small and readable code ^_^1 -
!rant
I've discovered https://repl.it this week and it's pretty awesome!
I'm teaching my gf some python and haskell at the moment (for her fundamentals of compuer science course at university). They have to use IDLE for python and winhugs for haskell ... and it's awful.
So I was looking for something like JSFiddle for python and haskell, something you can use for a few quick lines of code.
I came across repl.it and it's great. No registration needed, many languages to choose from and a quick way to share code. Really good online IDE :-)1 -
great times when you try to explain to your girlfriend the code you're writing, and she's not shure she should be impressed or call the psych ward..1
-
I got cut from a contracting job yesterday I have 3 weeks left in the contract. They said I worked well with the team, had a great work ethic but didn't think I had strong enough tech skills. In the past this would have hurt my feelings and it does a little but I think my tech skills are fairly high. There were three devs working on 66 apps with no tests, some source control but most of the code in source control was older than code deployed in prod, no automatic builds, people would wait a week before checking in code, others would check in code that would not build. Today the boss asked if I had messed with app pools on the prod iIs server because something was wrong. I said no because never remote into the server. Anyway it is the end of the world and I feel fine.5
-
You're a great coder only if you can deliberately write bad code that works but no one can understand.
-
I let my programming buddy comment all the code I write. He's great. His comments looks like this:
/*
I am groot!
*/1 -
So before the Age of JavaScript, when programming was trying to be an engineering discipline, I felt like we were getting close to figuring out what worked and what didn't. We had rules of thumb (more general than Patterns) and code smells.
Then JavaScript came in and no one had time to think about "engineering" anymore. I'm fine with MVP and small iterations, but the disdain I see for making code clean and extendable and improvable is baffling (and annoying). First-time coders might never have had to fix someone else's code, but two weeks in a chair should have fixed that.
It's not that understanding code is so hard (although it can be); understanding the _intent_ is hard. This MVP is great, but when no one had time to document what is actually supposed to happen, programmers have to reverse-engineer the *design*.4 -
https://javascript.info/ninja-code
Hilarious article on writing “Ninja Code”. Great resource for y’all ninjas out there 😂
But seriously, don't.3 -
Have to finish this code today but only slept four hours last night, coffee isn't working anymore, making the most stupid mistakes and constantly dreaming away while looking at my screen because I can't focus anymore. Also, it's around 25 degrees here and the vents aren't working that great... fml.1
-
Hey there! I'm a sophisticated IDE!
I see your trying to Undo your work! That's great.
Oh now you're trying to redo...
I'm sorry... I just deleted that important line of code. I'm sure it will be ok though.6 -
I've been using devRantron recently to try it out. It's hard enough to be productive when I just get notifications on my phone, but getting desktop notifications that pop up over my code... how can I not immediately go look who commented on what??
So thanks guys, the app is great, but I have a love/hate relationship with the desktop notifs due to my lack of self-control.2 -
Yayyyyy! I got the stickers 😆
Thank you @dfox and @trogus for building this great dev community. We owe you 1000 lines of code :p1 -
Me: I'm a computer major along with an added specialisation in Information Security. So besides learning code and software development, we also do a variety of security related stuff like penetration testing and so on.
Others: Oh great that means you must know how to hack Facebook.
*makes me flip every time*6 -
Just got an email from the boss asking if me and the other dev on a project have been liaising with each other before editing code because changes were being lost and over written.
Wouldn't it be great if here were some way to manage collaborations and control versions of files? *git*
The company is so reluctant to use git and do things properly.
-.-8 -
Refactoring! Refactoring! REFACTORING!
This is one of “those desk books” that you gotta have imo. Personally I love giving names to categories of things, helps us better recognize patterns if we can classify them.
Software can always be improved, this book give you a good majority of the most common refactorings it’s like a recipe book almost.. shows you the code smell... give you the detailed recipes to fix it. Great to have in code reviews.
Doesn’t matter that this book is in JavaScript the concepts and ideas are the big pictures in this book.
Classic “one of those” books.21 -
Got a middle software developer position at a great company.... wrote 10 lines of code and spent 90% of the time in calls and meetings.
-
adding feature and came across some code that looks quite efficient.
really wanted to tell the guy that he did a great job. checks revision history, and the author was me, 2 days ago...2 -
1. Coding gets me naturally high. Mentally sound and sharpens my focus.
2. Beating a challenge by code is fun. And watching something I spent much time on working is great. Like setting up all those dominos to watch them cascade and fall down one after another...bliss!
3. People think I'm smart because I can type instructions into inanimate objects and make lights flash on the screen.3 -
First task as Python delevoper intern - fix non-essential for business app, written by an intern last year. Apparently that intern didn't even know what an object is. In Python, where everything, including functions, is an object.
I have to fix it piece by piece. It would be faster to throw old code and start from scratch.
Yet I'm glad they gave me this task. I feel like I'm learning a lot working with this shitty code. And they assigned a great person to help me should I have any questions/problems.
I could not be happier.1 -
This is my favourite place to code
Great vibe
plenty of light and most important thing
i can through myself from the window if i get frustrated4 -
Ahhhh.. the great feeling of starting a new project at work after the stresses and health deterioration of maintaining old code bases.
-
I cannot believe its 2020 and I'm reading: Customize font size for navigation items & tabs as "New Features!"
From Apple:
With an all-new design that looks great on macOS Big Sur, Xcode 12 has customizable font sizes for the navigator, streamlined code completion, and new document tabs5 -
that feeling when you start looking at code after dinner, correct a bug or two, start implementing new features, tweak the code a little bit, you are really focus in your coding... then look out the window and realize the sun is about to come up. it's great 🤓
-
It really is a great feeling to be able to put your headphones in and lose yourself in the code for a few hours without interruptions (except for devRant of course).
-
In college while submitting the java application project to the teacher.....
Teacher : The project is really great son, but do tell me how does your code work.
Me :2 -
Friend has great idea for a software project built on top of OpenAI's API.
He wants it to be freemium, littered with ads.
He doesn't code. I think he's hinting at me to build it for him and I'll continue acting aloof.
I will not build software that's funded by ads.
Fuck ads. I hate ads.5 -
Well shit.
Recently refactored some backend code that makes some https requests.
I realized I was repeating myself a lot with the request options so I decided to make a function to generate the options with defaults.
Works great, shortened my requests to almost nothing.
The problem is it wasn't working great.
It took me about an hour to finally figure out that the requests were failing because I forgot to return the options object after I created it.
Sending the request with null options just makes it act as if the options are there, but incorrect, so I was totally lost.
FML1 -
What is this 'cutting edge dev tech' y'all talking about? Does it count if I somehow manage to add support for MS Edge?? 🤔
Hell.. I'm stuck with COM+ & activex, so if anyone who gets to use fancy pants new techs would be so kind to ping me and let me know how it even feels to code like it's 21st century, that'd be great..2 -
Improving my English using DevRant
Note: Will be of great help in writing precise documented code 😜1 -
So I had a problem. MongoDB replica set connection was not accessible to server in another container. I’ve used ChatGPT. Gave it my code. It showed me the things I didn’t know and helped me work out a problem I’ve struggled with for 2 days.
It’s awesome!
ChatGPT is basically StackOverflow 2.0. It’s a tool and a great one. I can’t wait for an actual production level implementation target to software engineers.
P.S. I think co-pilot sucks.1 -
First day went great. Got my laptop all set up. I still have no idea what I’m doing. Imposter syndrome really set in as of yesterday. Looking at the code base and seeing all of the code made me feel stupid. I understand I won’t know the whole code base.
It’s also my first developer job. I just feel stupid. I’m super eager to learn. But I feel like I’m going to ask a lot of stupid questions as well.
Idk how to feel. I guess a fraud would be the right answer? How can I get more comfortable at my new and first developer job?9 -
After 1 year of working as android dev and coding in java, finally switched to another startup where everything is in Kotlin where I will be the only one maintaining that project.
Me: This code has almost no comments
Senior dev: Code is pretty self explanatory
FML
At least she spent 4 days with me and walked me through the code, so I'm not totally lost which is great!2 -
We spent a lot of time creating these CSS animated pop-ups that described parts of the product. They looked great, but the client called and said they were "flickering" on her computer. We debugged and could not for the life of us figure out what she meant by flicker. The code was so simple that we couldn't imagine how it could be flickering. It was just a jQuery fadeIn(). It worked fine for us in every browser we tried. So we just gave up. The next day, the client called back and said,"Hey, it looks great. You fixed the flickering. How did you do it?" And our dev replied, "Uh, we set the flicker to 0".6
-
Wow, this code someone wrote a while back is really great. Words never uttered by anyone that meant it.1
-
I just read this great line in the Google SRE book which I have experienced myself:
"Some of the most satisfying coding I’ve ever done was deleting thousands of lines of code at a time when it was no longer useful."3 -
what the fuck is up with devs who always send screenshots of code and/or log files? In Slack, which has great functionality for formatting text snippets in a variety of languages and data types?! screenshots of code are really a pet peeve lately. You can't copy the text or click on any urls or do *anything* with a fucking screenshot. so dumb.6
-
Me: here is my idea with the code. Does it follow what you had in mind?
Dev lead : this is good...really good but if you could take everything you have here and make it a reusable module that would be great!
Me: so it is or isn't what you had in mind?
Dev lead :: it is but I need you to change it all.
Me....FML -
!rant but wondering,
I'm doing Instrumented test for my android app, and wrote that code to check if the fragment loads data and click on first item and check if all is working as expected, am I doing it right?
Any help would be great :)
Warning: LIGHT theme ahead, room brightness is higher than my screen and I can't see shit in dark theme :\10 -
When you are all assigned to make one specific program but get called out for plagiarism for making the same program even though the code is different. Great job4
-
My reaction after analysing the code responsible for the latest outage...
The week started great *sigh* -
Note to self, don't fix a minor bug that will not effect the demo right before the live demo. My program that was working great didn't work anymore during the demo because of my quick bug fix I figured I had a few minutes to add to my code.1
-
I feel like a lot of devs, last years self included.
Need to realize, a great Dev is not necessarily one that Ace in code.
But rather one that can convey and understand the problems they're to solve and more importantly the perspective of the end user.3 -
//Something great
try
{
//Some code.
}
catch(Exception ex)
{
string url = "http://stackoverflow.com/search?q=";
System.Diagnostics.Process.Start($"{url}{ex.Message}");
}1 -
Best part of working in Company:
Getting learning sessions from Seniors and sharing design aspects and their pros and cons.
Had an awesome session on how to focus on making a code testable.
With hands on coding too.
Never expected to have such a great experience. -
Coming to the end of a project and set up Wunderlist to do a snag list whilst testing, decided to involve my client, which worked out great initially but now they started adding features to it. Now in a situation of explaining that feature additions at this stage require a proper functional spec and costing as they may mean a rewrite of existing code and could derail the project. Are all clients dim or just mine?
-
Everyone has a great story about writing their first line of code when they were under 15 years old, except for me. I got my first computer at a young age, around 11, thanks to my dad's friend who brought the computer along with some CD-ROMs of Tom and Jerry and GTA Vice City. (By the way, I had to wait ages for the game to load, and I was very happy when it finally did.) I spent my childhood playing games. You guys are lucky to have found someone who encouraged you to learn to code. I didn't have internet at that time8
-
I'm often asked if I enjoyed my time in college. Of course I did. Loved learning how to code, and had a great rapport with the lecturers. I remember our conversations fondly:
Me: Funny story, over the weekend I was out with friends an...
Lecturer: You have friends? -
Me as a dev most of the time:
✓ great project idea
✓ create a skeleton for the project
✓ gather all the info needed
❌ Time to do the actual work on my project
Leave it for months unattended
Randomly write 5-10 lines of code3 -
Great... None of my coworkers know about this tiny bit of undocumented code, and the guy who wrote it, I replaced ... Fucks sake ... Next weeks gonna be hellish2
-
FUCKING SANGOMA WTF???????
You buy FreePBX and then convert great modules from OPEN SOURCE to Commercial.... I get it. Developers need to eat. But I've reviewed the new features and you aren't adding value. Just hiding precious standards behind a pay wall.
FUCK IT. I'LL CODE THIS SHIT MYSELF.1 -
Apart from linux, it has to be vue.js, quasar and express.js
Vue.js had made my development extremely easy, faster and managable
Quasar brought great Styling and various other powerful features to vuejs. Thus helping save even more time
And express.js don't need any explanation. Better code organization and easy to get started. -
I think VS code is the only product from Microsoft which is not broken like I'm writing in it and it feels good. Extensions are great, integration with git is also really good and debuger isn't complete bullshit. I had Sublime before but I switched it to VS code just to try it and I'm keeping it.
I know it isn't lightweight like other editors but fuck it... VS code is great
What are you using to code?3 -
So I'm at a hospital (everything is fine as long as I'm concerned) and there's this pregnancy sign... But it just hit me (not sure how to start this idea) sex is this amazing interaction between softwares so good and well coded that we already know what can create, not only that but the hardware (with some flaws here and there) makes such great UX! Seriously, the join of code (one of the hardest code I know) to make a better code and the interaction thanks to the hardware is great! Thoughts?10
-
Be me, get a consultant job, go to a supposedly great client that has fame of getting scouted by Google. (attn: I doubted all this shit before I started)
Learn the basics by a awesome mentor and trial/error stuff at the same time to get the hang of things, after that was done, I noticed there was no documentation whatsoever, code is spaghetti and your documentation, good luck!
Royal spaghetti, you can't make heads or tails of it, dev code in production, empty try/catch blocks, empty statements, if (true)... (incl. their core classes)
Keep in mind this is a multi milion dollar company...
Someone please understand my pain...6 -
Just found this great JQuery selector in a bit of code a freelancer wrote:
var showErrorFor = $('[name="newPass"]').attr('name')6 -
Recently GitHub announced it is gonna preserve the world's open source code for next 1000 years. Great initiative! But someone has to take initiative to store StackOverflow data too! What if after 500 years someone tries to use Tensorflow and gets dimensionality issues? And imagine there won't be any StackOverflow to solve the issue.
Remember : Wherever there is a code, there is a bug.1 -
So I've been maintaining our company's web products for a few years now with a great senior dev, but why would it ever make sense to have a
bool somebool = returnsBool();
if (somebool == true)
...
WTF?!?! I still fine them in the code to this day.6 -
Let's face it: I am and will always be a tinkerer. Yes, I know my ways around, I can sneak into legacy code bases easily and throw new stuff in there, I've seen software stacks. But scarcely sound design, really modular. Even from the cleverer, experienced ones. They can master more complexity, so they can handle more spaghetti. Some essay from the 80's had this grand idea to organically 'grow' software. That's how it looks like most of the times: cancerous, parasitic super fungi (armillaria). Yeah, we all know have to fight bit-rot and entropy, but it was all lost before already. We'll never get rid of legacy protocols, legacy code.
And even when we go green field, start a fresh. Yeah, take a great design, make everything new, after some months of throwing features and outer constraints at the thing, it's the same old mud again.
But we can still dream on: some day I will design great APIs, I will have great test coverage, documentation, UML design, autometed tests, fuzzing, memchecking, I'll work professionally, clean coder style.
Pfft forget it. Maybe change for consulting, because we'll continue to dream of the 'clean' code, so you can sell the next 'recipe', development method. It's like diets. As effective. For the one selling.2 -
My current boss.. and CTO.. both are great & really laid back, they don't fuss about smoke breaks and are both keeping me in line so that I don't do much overtime (I am a freak for fixing stuff that gets easily consumed by the code)..
-
When you get this great idea at 2 am, code it out and the next day you wonder why you even bother to be a developer
-
!rant
All computers are great and not all people are compilers
please use a Semicolon for God's sake
Though coding is competence
I believe in readable code2 -
Fellow C# programmers, how often do you use #region in your projects and how important do you think it is?
I have found myself using it increasingly. It works great for me and I feel that I can structure my code better.10 -
Them: let's do iterative pull requests
Me: Great, can I have a review
Them: Your code touches a code that doesn't feel right, I can not approve this folly unless you fix following 30.000 lines:7 -
A colleague is walking me trough some of the source code because we try to fix an issue.
colleague: Oh we don't use this anymore
Me: ...
LATER
colleague: This part we should refactor someday
Me: ...
LATER
colleague: Oh I think this is old code and does not exist anymore.
Me: .. .. ...
Great Colleague BTW :)
PS: fix will be posted Later.3 -
Your "feature" just became my problem. Your "great idea" is now my migraine. What you did in 300 lines, another team was already doing in 5.
The next time you `brew install...` on your laptop, you should fucking think that the infra team has to install those dependencies, on every server, too.
In less time than it took you to create your code, I could have given you several functions to call. I could have saved all of us weeks of work. Fucking ask cross-team before you cowboy code your next big idea please.
Got a problem you need to be solved, somebody else probably solved it, just fucking ask.6 -
Need a C++ partner..
I'm self taught developer and it's kinda hard to understand the code of your own.. since c++ is not an easy language to master I need partner whom I can easily discuss code and topics of c++. I'm in slack too and it's great community .. has people who always willing to help you out.. but the thing is it's really weird to ask simple question there again and again.. so i wanna have some partner to discuss C++ code easily..13 -
Fucking fuck sonarcloud and everything about it. Part of the build pipeline for us to deploy code is to ensure that 90% of the code is covered by a unit test. Great in theory, horrible in practice. You think you've written enough tests that actually add value and test a valid piece of functionality but NO, sonarcloud throws a fucking fit because you're at 89.888 then your branch is going nowhere. Because everyone else gets to this stage and writes just enough tests to get the coverage to 90.01% then it becomes a stand off of who will break first; the code coverage threshold or your mental state.4
-
That moment when you feel that you are a great developer ready to do some pull requests to the framework you are using and then you check the source code of it and wonder if that's even the same language.
-
I absolutely love the work put into Visual Studio Code.
It is a great editor, which evolves quickly and has a nice community.
Was using vim for literally everything and switched at some point to VS code and love using it since2 -
So I see this code:
class ViewWithDisplayLayer {
func viewDisplayLayer() -> CALayer? {
FatalErrorMustOverride()
return nil
}
}
If only Swift bad some way of defining some sort of interface or protocol with methods to be implemented by a class without using class inheritance and wouldn't it be great if that feature also gave a compile time error if you forgot to override/implement said method(s). If only.....
😳 -
> uses two workstations
> Forgets to commit code on one before moving to the other
> Works on the other and pushes
> Brain does what it's great at and forgets how to reset to HEAD
> Brain convinces me the only way to handle the issue was to commit my half-working code and then pull
It was only 5 o'clock. What the fuck. -
On a shitty day where your brain doesn't work, have you ever looked at some code you wrote, and actually get intimidated by whatever version of you wrote that? After stumbling around most of the day, read some beautiful code, I admired it, then realized, holy shit, I wrote this?
"Yeah, I don't know who that was, it looks great, how the fuck did I do that, and will I ever be able to do it again"
Like, I don't think I can, definitely not today, write anything even close to that.
bleh.3 -
You know you're going to have a great day when your transpiler is spitting out an error that you hard coded to ignore and don't have access to its source code for a couple days .-.1
-
Wrote code, tested it, and pushed to production for the first time in 3 months.
Great {diety} in {afterLifeLocation} it felt so goooooood to get back to developing. -
If you ever get a chance to refactor a 5/6 years old code , just do it .
Dont loose hope , you'll eventually have a great time .
Its totally worth the effort and time . I learnt so many things. (still in the proccess)5 -
Sometimes it's fun watching new developer who don't want ur help end up writing random number generator code who he thinks works great and u break it in seconds. So much for innovation.
-
Spent an hour trying to figure out why Chrome wouldn't work at all. Even IE was working on my laptop.
Restarted the whole thing.
Now it works.....and I already lost most of my motivation to code. Just great... -
My team lead at my summer internship hailed from an MFC background.
I was able to dictate a whole block of jQuery code to her orally while I was in a hurry to go for lunch, and she typed it in. And it ran perfectly in the first time itself.
jQuery isn't a great deal, but it was a confidence booster for a guy who had only worked with JS for a week. -
I value our most senior developer. His code is certainly clean and structured. He is the ultimate at KISS. However he's not a fan of testing and instead just says, well, did it compile? No matter how much I show him how great testing is, he comes back with how it's pretty unnecessary. Somehow, in the deep dark parts of the web, he finds articles that comply with his standing. I'm okay with him not making tests, I do it myself. But then when working extending or implementing his code, many of my parts are untestable because the parents are. Oye.6
-
LUA... its great! I love it... but WHY THE FUCK DOESNT LUA START COUNTING FROM FUCKING 0!!! WHY THE FUCK DOES IT START FROM 1! I SEARCHED HALF A FUCKING HOUR IN MY CODE AND IT JUST DIDNT WORK! then it hit me... LUA IS THE ONLY FUCKING LANGUAGE THAT STARTS FROM 1 and sure enough... after changes and testing IT FUCKING WORKED!
Fuck4 -
PlantUML is awesome! It's versatile, code based (e.g. version control is simple) and the results are great and as portable as you need.
http://plantuml.com/
https://github.com/plantuml/...3 -
Manager does nothing but give me more work. Can't code. doesn't even get git issues. Last in first out yet I'm first in last out. At end of meeting he says, "great job but one comment, you should say 'We' not 'I', cuz this is a team effort"
Are you fucking kidding me dude? Add it as another issue.... Oh wait -
I do not work developing, besides this is really a passion for me. Said that, today I was talking with my boss.
Boss: Your idea is great, I love this tool you made.
Me: Thank you, I just need to finish some details, this last dramatic change in our structure messed up with a lot of things.
Boss: Yes, I have some ideas to we code more.
Me: Great! I love development! We can do ...
Boss: No, we can use your time with other things as it is more expensive. I'm going to get a boy still in college to develop.3 -
I could use some advice. Immagine this: you recently started a new job where the people are great, the product is pretty cool and pay is good. But the code you have to work with is the biggest pile of shite you've ever seen and your manager does not want to change any of this, even after you suggest you would build something that would be a thousand times better, not only "code wise" but for the users too. What would you do?9
-
Okay, Visual Studio 2022 IntelliSense is actually pretty great and is one of the best implementations of a code suggestion service without getting in the way that I have ever seen.4
-
You've got the perfect architecture lined up, a great idea about how to transition and you're about to start refactoring. Then it hits you. You've got 10 clients running your code in production and you'll have to migrate their data to the new structures, from the blob to each new microservice datastore. For each release. FML.1
-
Had wanted to learn web dev from a long time (Im an android dev). Got to know about free code camp and started 3 days ago. Totally addicted to it. Anyone who wants to learn web dev must try it. Simply great work.
-
php is so fucking great, every time I'm coding in php I'm astonished by the speed it goes from code to test. Unfortunately its the only benefit I see in using php.2
-
first time working with android. using threads debugging is not working like it should. app works great when I'm not debugging. code doesn't get executed WTF i really need that stressball FML
-
How "commented" is your org's codebase?
I joined this company a few months ago, and I've yet to see a single comment explaining how/why some code (doesn't) work.
It's a great company for the most part, this just seems to be the standard practice here and I'm wondering how many more like it are out there.9 -
I recently read that great programmers care more about algorithms than code. I hope I can find more time to devote to learning algorithms than spending it on yet another framework. #springboot.js1
-
A constant fight because the code style matters. If you think it doesn't, just go and die already.
If any of you great folks with no sense of code style are reading this, fuck you, fuck you all, you should leave your jobs and yes I am talking about these assholes who have like 15-20 years of experience in the industry but surprisingly I never heard of anything they made.1 -
Me being lazy, I wasn't able to end any learning series. Tried again with Java using YouTube videos. Feel asleep after 30 minutes, but the entire series kept running in the background.
After waking up I could understand great part of object based coding.
I seriously think that thanks to that now I know how to code. Like magic.1 -
me: *Taking Applied Statistics with R in the Math Department in my college*
classmates: "Did you get what's going on in that class?"
me: *never took statistics* Well I can get the programs to run, but I have no idea what they're telling me"
classmates: "I might get what's going on... if I could get the code to work."
me: "Well we're both doing great, then"1 -
Very useful!
It's not just about code but the whole package.
Watching great programmers fail miserably at project management, research, documentation, team leading and acting professional is just embarrassing, especially when they slate those who went out to educate themselves.
🎙️ Mic drop, I'm out!2 -
"hey, can you please help me out with this, it isn't working"
"What's it say?"
"I dunno, It's giving (not throwing) some exception/error" (no clear distinction between them)
Well, shit. Did NOT expect Java to do that in case of some undesirable flow in code! Stack trace, error message, what was happening when the exception (or actual error) occurred as inferred from logs... Nope.
Great! -
I've had this idea for some time now. How about a website that gathers some of the most well written open-source code and allows you to easily read it for educational purposes? Everyone says that reading source code can be a great learning tool but directly jumping into github is not very friendly to newcomers. I saw what underscore.js has done with the annotated code link and I think it's great. What do you think?6
-
Don't look too closely at the code for tools you use.
Its 50/50 great or garbage. Great way to accumulate side projects...3 -
In programming world there is lot of stuff to learn and there is lot to great developers in the world after seeing code and project's of these developers I feel I am very weak in coding currently my confident is quite low cause I cannot make a simple project by my self without seeing a project tutorial video and I don't know how do I improve my dev skills and I feel stuck any suggestions?15
-
We had to code a logical operator in my computer science class in high school. Because it was a low level course we were given 2 hours to complete the assignment.
During the same time I started being interested in ML so I decided to build a simple feed forward neural network. The guy next to me looked at my like I'm a wizard for the rest of the semester. It felt great!2 -
One of the great lessons I've learned in this career was to: "Stop rewriting up that code to perfection and start moving on to better things. Keep moving ahead. That code will be replaced and get messy again anyway."
But that doesn't mean you should write bad-designed or sloppy code.2 -
So besides college, what are some good books, podcasts, articles, websites, games, apps, etc. To learn how to code and be more proficient in that language?
Any information helps
"Every great developer you know got there by solving problems they were unqualified to solve until they actually did it" -Patrick McKenzie1 -
Please don't try to decipher your code from 5 years ago, it's a mistake. Thought it would be a great idea to bring an old project back to life. Turns out it is not. Not when I can't understand my own code...3
-
As a POC I removed all client specifics from a project and made it reusable. Thousands of lines of code. In a day. From a project I knew nothing about in a language I previously used only in school. And it compiled and ran in the end.
Ripping out so much useless code felt great, possibly as good as creating something new, fresh, innocent. I improved on performance and maintenability and found some errors in the process.
After a successfull POC it was time to do it properly. That was a nightmare. A horror movie you want to see through. In the end I felt even better.5 -
I hate how my work mates think coding in Java you automatically become cleaver than most people who code in another laugauge ..
The hate Python and JavaScript , c'mon guys just write your fucking project so long it works you dont have to make statements on how Java is great. . We all no. . Statements like Python is English anyone can write are not welcome7 -
I am I the only one who doesn't like sprint demos? I don't care what someone else worked on. Yeah they wrote some code that does stuff, great. I don't have time to understand it and when I have to fix it I learn it.
-
Wallaby is a pretty awesome tool that facilitates continuous testing in editor as you code.
While it's not cheap, it has been a great investment in my stack. -
Godot Engine - great open source alternative to Unity, powerful with basically anything you need for game dev and with great community,
VS Community and VS Code for more serious things, because they're pretty pretty powerful and extendable.
Oh and Krita is kinda cool, but I'm not much of an art guy -
Made my first chrome extension today. That's why being able to code is great. I wished I could make something easier, and I did.
-
It's raging when you have a great idea but you're not in the good environment (like not having a desk) to code it...
-
(Time to actually code feature + time to debug it + time for unit tests to pass/add) * 1.5
Works great in my case unless there are some big major road blocks -
I cannot write a line of code after 2pm...my work becomes playing tutorials in the background while I think about dinner and telling teammates my great ideas for the things we can get done tomorrow2
-
!rant
I finally published my first open source project. A package for calculation a geohash of a geolocation for pharo smalltalk.
I know that most of the users don't know smalltalk but it's the best OOP you can code with. And geohash is such a great algorithm. Lovely combination2 -
Wednesday to thursday I had a 24 hour programming challenge at college. Needless to say after 18 hours I lost my train of thought and literally forgot the past 3 lines of code I had written, causing me to re-write them for 15 minutes straight.
Great times. -
Install .net -> install vs code -> install C# vscode extension:
extension not working.
Great job Microsoft!
Booting back to Linux partition.11 -
The overwhelming annoyance when you figure out that the thing that's been causing your code issues for the past 3 hours....
Is because you did a greater than comparison rather than a great than or equal to...1 -
1. Creativity - you can create anything from typing words and a little electricity - office programs, new medicines, predicting cancer from images, robots, planes, satellites, rockets that put people to the Moon or robots to Mars - all use machines programmed with code.
2. Challenge - some of the projects and algorithms are so complicated that full understanding of them is great challenge.
3. Freedom - you only need a laptop and internet and a bit of electricity and you can code from anywhere on Earth or if you’re Astronaut you can even code from space. -
software development is a great thing... when you're the only one working on the project. otherwise everyone writes their part of the code, and you don't feel "in full control" of the codes and software. i hate that feeling.1
-
"Hey before we launch, can you reintroduce that bug you fixed on Friday? The other team needs it for debugging."
Why the fuck would you need debugging code in production and why the fuck do we want to readd something that was causing problems? Shaping up to be a great week already. -
Working with at a web dev job with a guy who is a really great programmer, the problem I have is I'm dyslexic and remember code is pretty hard for me but when I get in the flow I can do things. Him on the other hand is a machine, reads something and can implement it immediately. Do you guys have any tips on how to do better? I don't want to look like a complete noon.3
-
I am starting to get a hang of kotlin at last.
But its gives such a weird feeling. all these years i was writing great code that could lift mountains without failing. And now this language comes in, says "fuck you, we must prevent null and make everything static/final asap!!"
Like static inner classes? Why would we even want them? Well the lady says am wrong, am wrong. -
How enormously great:
(I’m using Windows on Mac a few times for games requiring windows )
*starts win to play with friend *
*update bluescreen*
*installing discord on phone again to inform friend*
*trying to remember the backup code for my 2fa codes*
*I tried*
*win updated but I don’t have time left to play*
PLEASE STOP SURPRISING ME WITH FORCE UPDATES AND FIND AWAY AROUND6 -
What is a good application for reading PDF's on phone? I want a PDF viewer that makes it possible to change font-size. The text in my PDF's are really text - not an image. I can select the contents with Samsung Notes for example. If a reader is a able to select it, there must be a reader that changes the font-size right?
I'm reading "Beautiful code" at the moment. It's a great book13 -
1) Have a great idea
2) Ask a friend who knows how to code to do all the work
3) Get rejected
4) Repeat until you find a sucker
5) Profit 💰 💰 -
!rant
Coming from a pure sysadmin environment and profession, I feel a great sense of accomplishment when I've successfully managed to use a ruby library properly instead if shelling out to use it's cli interface, with optparse, proper rake task in the lib folders and proper exit code handling.
It's never too late to learn how to program in any language for your personal project.1 -
Working with others is always a great way to improve, no matter their skill.
If -
They're better than you, you get to learn new things
They're worse than you, you get to learn how to be a better leader.
Rest assured, folks.
<!-- Was too lazy to write this in code. --> -
I used to think that programming was just straight forward coding what you need.
But now I think it's describing the problem and writing code to solve that problem.
Example: recursive function. It calls itself till it finds a solution or till no options are left. You don't know the answer, but you code something that can find it for you.
Or php, you don't create every single html page, that's done by php dynamically.
The great thing is, it's less work and it is easier to catch error scenarios.
The bad thing is it has become a bit more abstract. -
I really don't balance social and dev life. I know I need some time to socialize but I just can't. It's like my life right now is in front of a computer and lines of code... Not that I don't like it, but I know I need to do other stuff besides coding, but I really don't know what to do and how to manage time. If anyone can give some advice, it would be great.2
-
dammit ti why must your torture be limitless
> eZ80 has awesome DMA-like instruction that copies byte chunks based on registers and it's nigh-instant to copy 64k it's great
> TI has the opcode disabled outside a 4-byte chunk erroneously unincluded from all blacklists and access regulation
> can't bankswitch and keep registers, and can't write to anywhere but those 4 bytes in that bank
> no reusable code in target bank that i can use via mid-func bankswitch1 -
I'm alone most of the day: my housemate is at work this morning, family scattered around the country, recently moved to a new town.
I had a great night last night and today is fantastic too. I'm not writing a single line of code today or doing anything but running a few laps later... maybe.
I don't even feel sad in the slightest.
Happy nondenominational festive period guys! -
So, finally decided to write my first rant.
I finished today a function that takes the generated week calendar of a WordPress plugin and gives the user a nice print layout.
Problem: The plugin doesn't use the database for it's calendar, only for the events in the calendar. I had to write really unefficent code in jQuery(ajax) and PHP and additionally create a new table. Finally completed the code for printing out a selected day, the current week and a timespan that can be defined, every exception and input is now handled correctly .
Such a great feeling to be finally done with this 4000 rows code.
I hope that I will never again have to create a workaround for such a not-developer-friendly plugin.
Why do clients always want to use such plugins?!5 -
This may be wrong, but I've come to see, that it's really easy to find out, who programs because they like it, and who does it for the work. Simply ask: "if you had a really great idea for a program, would you make it open-source?"
Most of the time, people who want to make it open-source, are the people who genuinely like to code. At least that's the observation I've made.1 -
Inspired by someone here who said we should be the Shakespeare of code, how about we comment/show any great, clean and open code that we found here?2
-
Bought great book from this Spanish company on Drupal. The book is well structured and the examples are excellent. Just some typos that they mistranslate from Spanish.
But thought it was weird that the code examples were not available online. Sent them an email to request for them.
They answered that the code is not online beacuse their students have to remake the code using the book in their courses. And ask them if I was interested in the course.
Fuck them! They are using opensource code but their examples are not open source because of some elementary-level school mentality that their students might copy the code and somehow not learn well.
They are fucking adults ffs!
Ps: Even though their answer piss me off, they still have the best book I've read on Drupal.2 -
When rage turns to sadness :
With great frustration wrote and debugged android code since morning , so as a reward , I thought about rebooting my laptop once the code was working and committing it later. Code ran , rebooted my laptop and went to get some coffee, only to find that bodhi crashed and wouldn't run without live usb. No commit, no backup, all went down the drain1 -
The hackathons I have been in have been great. The one negative experience was some guy that showed up, didn't code, and kept asking people who were clearly busy about writing some stock trading code. It is like he could not wait until the end of the event (2 hours).2
-
The moment when I wrote a puzzle solver in C.
Not the most exciting thing to write but it felt great at the time.
Before writing every line of code without thinking some steps forward I decided to write it as pseudo code in notepad.
The very moment it was converted to C it just worked, writing it was beyond pleasure, just pure bliss. -
It is quite a hard pick either generally coding with friends for fun or getting my first ever program done completely by myself (and I don't mean Hello world but rather my first small 'project') . But I'd probably go with my first ever program. Even though retrospectively the code is let's say not that great, it was still an awesome learning experience to actually create sth working out of code
-
Today the DBA-team (needed to keep our Oracle mess running) decided to change datatypes in tables that has been in production for 20 years. Without a headsup.
Great success!
Just took us 5 hours to debug good ol' visual basic code......
Why would you do such a thing!? -
I want to create something using Electron, just because I thought it would be fun(web-development background). Anyone else using it? Any tips? I thought it would be a great exercise to dig through the Atom IDE code, as what I want to make needs some similar features, what do you think?5
-
Do you teach your kids to code? Do they enjoy it? I think it'd be a great way to help Give them the tools to be successful early on. :)3
-
I had this great fun idea and i started programming immediatly. Yes! i'm feeling great and this is going to be amazing!
But Oh! then i had this amazing and super fun idea! It's almost the same, although it requires me to make massive changes to the code... Ok, no problem, i can do this. It's my project and it's fun. This is going to be great!
But then... FUCK2 -
C is great, C is good
And we thank it for blazing code.
By it's spec we must be led,
Give us C, our orphaned thread. Amen -
I know your code is great and that you learned about scrum a month ago. But I didn't know the scrum training had to say you don't assign yourself tasks, mark them as done and be surprised when other team members haven't done them, two minutes to five the day before a national holiday (yesterday).
-
Spent like half an hour messing with our web app code crashing on a cryptic error just to discover that a Chrome extension released a buggy version (automatically installed, of course) which crashes all pages using it (there are even some big pages in production being affected like something from atlassian).
Great, just wonderful job guys... -
I wanted to continue working on my project at my grandparents house, using my laptop.
I've pushed the most recent code, but what I didn't push was the recent commits I made in my helper library...
I was updating and using the library locally and now I have a dependency on ../library name. Great job me3 -
I think there’s a correlation between my code quality and listening to A Tribe Called Quest. It’s weird. Everything time I put them on I make great code 🤷♂️
-
This attachment :D Quite similar as Vim users in 2018, despite free great alternatives like VS Code :)3
-
My client wants great quality and time consuming code
And wants to pay least 😧😑
Defaq i still gonna do it but uh...2 -
Dependabot neither supports pnpm nor yarn:
https://github.com/dependabot/...
https://github.com/dependabot/...
The intention from GitHub is clear, Microsoft acquired npm and the fancy new supply-chain-security is just a lousy way of walling people inside the ecosystem.
GitHub is great, github.dev is amazing, VS Code is sick. But no, this one guy of Isaac Schlueter makes me hate this whole supply chain.
pnpm, renovatebot and GitLab: I choose you!4 -
Working with a team is great... doing something similar as another team member? Just copy his code when he's done!1
-
I keep myself motivated by reading about new technologies, language features and constantly trying to improve my code.
I see great reward in having fast and readable code. -
For donkey, one can argue that WordPress is great, but for the developer, it really sucks. Customize it, feels like your soul tormented in eternal hell with its spaghetti code and unreadable variables.
-
To make personal relationships flourish every time I stop talking to people because of an ongoing programming problem.
"When late nights my code I append,
I get an inbox saying I'm a great friend" -
Coworker: let's use Result monads in the project so that we're forced to deal with exceptions
Me: okay, sounds great!
Me: *implements Result monads *everywhere**
Coworer: how about we don't use results anymore in half the project? It makes the code look ugly. Let's just use exceptions.
Me: ...
Really? Why in your mind is it okay to only force us to handle a few exceptions and others we can just say fuck it and let them wander around?
Oh you want to use try-catch for these other exceptions.
So now we're back at square one, which is trying to remember/figure out which exceptions any method can throw (since the compiler doesn't do shit, not even warnings), but now we also have inconsistent and much less readable code. Isn't it great?
(╯°□°)╯︵ ┻━┻
I also can't do much about it, because I'm just a fucking intern and I do not want to cause trouble, so I just try to say that I disagree with it in the most polite of ways and that's that.4 -
Doing more and more config and admin stuff, dont know how i ended up here. Wrote a line of code today and felt great. Salesforce "development" is killing my spirit, one day at a time1
-
I'll stay later at work to get something working/finished rather than save it for the morning because there is no greater feeling like coming into work and your code works great. What a feeling.
-
About a year ago I had the great idea to enforce ago I had the great idea of proposing that we all lint our legacy code base using eslint to increase the overall quality of our JS.
I distributed the task of initially fixing all the errors eslint would find to the whole Frontend team (Luckily we only use JS there). I've finished my part in a couple of weeks and came across this piece of spaghetti.
One of the guys who has been with the company for over 10 years said, that the guy who wrote this monster was very proud of it...
In case you cannot understand what this does: It calculates the distance between 2 points on earth.9 -
What features of visual studio are so great? I keep hearing about VS Code, and I'm finally going to try it for my next project. What features do I need to be amazed by and converted?10
-
We had to code at the hospital. It was for our thesis and one of the members in our group had to be admitted so we "joined" in and hoped for the best. It was definitely weird but we had a great time.
-
doing documentation in word and having meetings about it, code reviews where people say great code quality with all good practices but... we would like to do it differently, reasons? less lines of code but real reason is not understanding design patterns, also 6 levels of hierarchy and wasted effort to prove that approach is good and considered as good practice just to be changed by someone who doesn't write code anymore. Decisions that other approach is better because they did it that way 10 years ago on last project where they were developers on totally different tech stack. dear friends, welcome to corporation!1
-
My process starts with a problem and trying my best to solve all other problems(read bugs,errors,oh god the code is not working ) related to the parent problem.By gods grace I have a great buddy called google search engine who tought me everything...But I still am surprised everyday that I know so less of coding and fall in love again with it...
-
Working on an opencart eccommerce site I built in 2011... What the fuck was I doing?
Pushing the company to go for and upgrade / rebuild so I can clean it all up.
It was my first online shop AND my first opencart project... But even so... It's scary to look at. Works great, but the code layout is making me twitch.2 -
Building apps in 30 mins at conferences.
First 5 mins: I'm gonna do the entire thing using just some boilerplate.
After 25 mins: I'm just gonna copy some unimportant code from the one I already made... ...And it's done!
Footnote: The people who put themselves up for it are always great! I've learnt a lot from such guys. Massive respect ✌️ -
Best: two actually, a java game that was customizable and had statistics (simples but was great) the other was my first android APP consistent of google maps API and QR code scanner.
Worst: still being made, my first project that consists of doing documentation from scratch about a web app in .net core, and it's giving too much work than it should for a university class project -
Seen a great rant, where someone wrote a code for the song Santa clause is comig to town, the cores that goes: He's making a list, checking it twice, gonna find out who's naughty and nice...
Can someone share it in comments? Tnx :)1 -
So I needed to go through a documentation of a program that was obviously developed by Chinese people, and went through some kind of Google translate to be in English.
This is an utter disaster: sentences that barely make sense, code blocks without a matching ending that cause the rest of the paragraph to be in the code block as well, code outside code blocks and without formatting, sentences unrelated to the section they're in, etc.
The program itself is great, but the shitty documentation makes me wanna kill whoever wrote it2 -
Recently I've finally finished my first game in Unity3D <3 But I'm self-taught and it's probably not really well-made. I'd love to show code to someone with real experience but I don't have any friends in game dev -.-
Does anyone know where I could get some kind of code review (for free would be great, since I won't earn a penny from this game)?
Shameless plug for anyone interested:
https://play.google.com/store/apps/...1 -
A beautiful Friday night on an island with plenty of drinks and katsu!
Life is great sometimes! Don't code too hard guys. Have a drink!3 -
You know how the machine learning systems are in the news (and Ted talks, tech blogs, etc.) lately over how they're becoming blackbox logic machines, creating feedback loops that amply things like racism on YouTube, for example. Well, what might the ML/AI systems be doing with our code repositories? Maybe not so much yet, I don't know. But let's imagine. Do you think it's probably less worrisome? At first I didn't see as much harm potential, there's not really racist code, terrorist code, or code that makes people violence prone (okay, not entirely true...), but if you imagine the possibility that someone might use code repositories to create applications that modify code, or is capable of making new programs, or just finding and squishing bugs in code algorithmically, well then you have a system that could arguably start to get a little out of control! What if in squashing code bugs it decides the most prevalent bugs are from code that takes user input (just one of potentially infinite examples). Remember though, it's a blackbox of sorts and this is just one of possibly millions of code patterns it's finding troublesome, and most importantly it's happening slowly (at first). Just like how these ML forces are changing Google and YouTube algorithms so slowly that many don't notice the changes; this would presumably be similar and so it may not be as obvious as one would think. So anyways, 'it' starts refactoring code that takes user input into something 'safer'. Great! But what does this mean? Not for this specific example really, but this concept of blackbox ML/AI solutions to problems we didn't realize we had, what does a future with this stuff look like (Matrix jokes aside)? Well, I could go on all day with imaginative ideas... But talking to myself isn't so productive, let's start a fun community discussion here! Join in if you find this topic as interesting as I do! :)
Note: if you decide to post something like "SNN have made this problem...", or other technical jargan please explain it as clearly as possible. As the great Richard Feynman once said, the best way to show you understand a thing is to be able to explain it clearly to others who don't understand it... Or something like that ;)3 -
So apparently jupyter / ipython adds the current workdir to kernel library path, and it crashes if you happen to have a file named something like "tokenize.py" in your workdir because it gets prioritised over ipython's builtin module with the same name. What a great design for something which is specifically made to run isolated chunks of code, that it can't even properly isolate itself from the workdir.1
-
Why on earth would anyone agree to work in a company that sends your code to some other team to check it then you get stupid comments like yes it works great but make the code look like the code in that system we made 10 years ago so everything can look the same. Easier for maintenance.
That is not how programming works ...
Code has an essence to it...
You cant just make me break the ...
Honestly id rather work for less money and never have my code questioned on the bases that “it should look like...”1 -
After doing online code exams. I did a job interview for a game company where they asked me to write a spigot and bukkit plugin in Java in advance. I learned minecraft dev, the libraries, Java, and minecraft itself. I built the plugin.
I get to the interview and they tell me that my work was great but they already filled the position.
Omitting school projects because my pay was knowledge which is more valuable than money.2 -
One thing I would really like to be able to do: always understand my own code.
Boy it irritates me when I forget to make proper documentation and have to loo back at some code I wrote days before. Knowing what I was thinking at that moment would be just great. -
Well it was a paid internship but I was in IT/support, used to work in shifts, loved the night shifts (solo) that was when i could write some code, a fellow intern showed me a bash script he had written to automate some the reports he needed to generate, life was great those few months.
-
!rant
Debugged the shit of a customer issue.
I feel great, it has been a while since I had fun/frustration with code. -
Guys! I want to really master the MEAN stack, I'm subscribed to code school and they seem to offer a great path for that.
My question: how much I have to know javascript before starting the said path? -
So, I'm an engineer who believes that there isn't one solution that fits all (feel free to change my mind). I believe 100%, that a great engineer is someone who also encompasses the ability to make decisions appropriately on tools, paradigms, etc to solve any problem.
But, this rant is going out to the TDD fanatics.
I assume every piece or lines of code you write is/are towards solving a problem and it includes the code you write to test the "main" code you are about to write 😑
Question: Do you write a test to test the test you write to test the code you about to write? 😏7 -
I'm a self taught web developer, I know I can develop great apps, but my code doesn't feel structured... It gets messier as I add more features, and this makes it harder to develop and keep track of everything.
How can I improve this, are there any processes to follow?5 -
Trying to update and add to my skills. Let's try angular,. Visual Studio sucks for this. Hey look vs code, this looks great.... Install, add some recommended extensions... Cool. Add eslint, hey look at these errors awesome I'm getting somewhere. WTF dont use var use let.. Ok why... Hours later and one drink, okay that makes sense. Change code.....
Unexpected declaration wtf why. Switch to var... Dont use var..... Fuck me... Google, read, google, read...... Wtf why why why won't this fucking work... I just want to code something using best practices2 -
Motivated by the great success of my previous querry, I have another one! I can also do this myself but I'm lazy.
Give me your worst code samples you have ever encountered!6 -
All new frameworks / patterns / code concepts seem great !! Until you take a minute to imagine your current application using them and the time needed to implement.
That's it. That's the rant. /me wants to buy code migrator / generator from "A" to "B"1 -
It was a great christmas time and good to had some days without a computer and without code but im so happy that i have to work today
-
Everyone have their favourite IDE, but to me Plunker😊 has been a great one it has hell of capabilities and don't forget about the themes it has.. *dark mode* 👌
Every damn time I wanna make sample code ..voila plunker it is ! Best for Mean stack development 👈
Am I the only one who loves it ??1 -
Gotta love it when your untouched code worked just hours ago locally and now you have no idea why everything breaks, what has gone wrong and how to fix it ... but it's stable remotely on dev/test/live. Project runs on localhost + vpn on company servers. I can dynamically change the parts that shall be compiled locally and the rest will be loaded from the company servers.
Fucking great.6 -
What are some examples of really large javascript projects that are not frameworks themselves ?
I ask this because a video suggested typescript is great for large complex projects, but... I wouldn't ever use a js backended language to code a 'large' project.6 -
Great start to a day when a new release of code has performance degrade over time. Turns out some concurrent collection was causing lock contention.
-
The cesspool project I've bitched about on here a number of times wrapped up about 8 weeks ago. The code was delivered to the client and they took care of their own hosting needs.
They finally got their new site up and running. It looks great and seems to be really performant. Too bad it is complete garbage under the hood. -
So i wrote complex, great WP framework using parts of nette, latte template engin, shit tons of my code, has many usefull features. Is fast, puting barier between me and WP shit. You have no idea how fast my development is now.
Now, i writing eshop component, looking good, working great, is extendable, fast and so.
Reason 1: WP is piece of shit, woocommerce too, CMB has no fucking sense, fuck ACF and many other WP tools.
Reason 2: I'm too lazy to read.
Question: I spent months of coding, looking for ideas, and make tenths implemenations because:
1: WP is piece of shit, woocommerce too, CMB has no fucking sense, fuck ACF and many other WP tools.
2: I'm too lazy to read.
Please decide, i honestly don't know.1 -
Hell, I always thought I was a team player, but is it a great week being the sole developer (all the other on vacation). So I didn't get interrupted all the time, read overblown PR. Still, even in their absence I spent about three days fixing their build issues and PR's, but I could sit down and read the code, some documentation to get a better understanding why it all sucks and what we should do with our pain in the ass build system.
It's really a blast, deleting some stupid code, removing superfluous dependencies and above all leaving snarky remarks in the commit messages and code comments. Just letting some steam off. Code is where my devrant is. -
“Why would you ever pay for anything when there’s free ways to learn?”
- mediocre programmer who spent 9 hours a day for 7 years learning to code...
(Great advice!)15 -
Is their a better way than ASP Identity Claims to verify permissions before accessing a page? Refreshing claims in every page load doesn’t seem to be a great solution. Thinking about some sort of permissions middleware. I need to check those IsAdmin roles before any admin area data is accessed. What techniques are you using for authorization in your code base?3
-
I am participating in LeetCode challenge for April and May month. I thought :thinking_face: it would be a great help for every Kotlin developer to share LeetCode challenge solution in Kotlin. I am looking forward your help to optimize the current code or suggest me better approach. I will keep updating the repository on daily basis as challenge goes on.
https://github.com/manishandroid/...
https://github.com/manishandroid/...