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 - "programming tips"
-
Tips for people new to programming
1. Start counting from zero
2. Trees are upside down, root's probably at the top
3. Warnings are usual, go rogue!
What more? 😂34 -
Tips for all the programmers out there:
- A programmer is not a PC repair man, just no one seems to remember about that
- Programming is thinking, not typing.
Counting starts from zero, not one.
- Even after completing a degree and courses and working on IT projects, learning never stops. If you want to stay competitive you should also work on personal projects that force you to use languages and software you never work with on the job.
- You don’t need serious math skills to be a developer. However, you’ll need basic algebra, logic, strong problem-solving skills, and most of all, patience.
- You don’t need a degree to be a developer - programming is like almost any profession: if you’re good at it, people will pay you for your skills, regardless of how you got there.
- Sleeping with a problem, can actually solve it.14 -
Clickbait will never change.
It's the most stable and constant source of mild annoyance.
2019 internet:
"These 3 programming languages will net you the highest salary"
"Ten home improvement tips using nothing but recycled underwear"
"How to cut onions like a real chef"
2020 internet:
"3 programming languages to learn while being bored in self-quarantine"
"Ten ways to use underwear as facemasks during the pandemic"
"Onions might cure corona, click here to learn how to cut them"
2030 internet:
"These 3 programming languages will increase your chances of survival in the wastelands"
"Ten ways to patch up your shelter against radioactive ashes using old underpants"
"Hydroponic onions are a good source of nutrients. Here's how you cut them with your camping knife"13 -
Tips for using a programming language that requires typing:
Don't.
Tips for using Scratch:
Do.
- Words from our IT teacher27 -
For my passionate coders out here, I have some tips I learned over the years in a business/IT environment.
1) Don't let stupid management force you into making decisions that will provide a bad product. Tell them your opinion and why you should do it that way. Never just go with their decision.
2)F@#k hackathons, you're basicly coding software for free, that the company might use. Want to probe yourself? Join a community and participate in their challenges.
3)No matter how good you are, haters are common.
4)Learn to have a good communication, some keywords are important to express yourself to other developers or customers. Try crazy things, don't be shy.
5)Never stand still, go hear at other companies what they offer, compare and choose your best fit. This leads me into point...
6)if you've been working for over a year and feel that you have participated enough in the companies growth, ask a raise, don't be afraid...you're wanted on the market, so either they negotiate a new contract or you find another job.
I'm sharing these with you as I made many mistakes regarding these points, I have coded for free or invested so much time in a company just to prove myself. But at the end I realize that my portfolio is enough to prove that I'm capable of doing the job. They don't like me? Or ask me stupid questions that I can google in 5 minutes. I'll just decline the job and get something better. Companies end up giving me nothing in return compared to the work I have put into it. At the end after some struggles you'll find a good fit and that's so important for your programming career. Burnouts happen quite often if you're just a coding puppy.
If some of you still have additional tips be sure to post them under here11 -
Programming has taught me that time is a valuable and under appreciated resource.
if a task is repeated multiple times per week / month, you have at your finger tips the ability to automate the hell out of it and let your computer deal with the task instead.rant don't waste time dealing with mundane shit automate it wk202 repeated manual tasks let the computer do what it does best1 -
I've been working exclusively from home for over 2 years now. I've been seeing several posts from people talking about adjusting to working from home, so I figured I would compile a list of tips I've learned over the years to help make the adjustment easier for some people.
1) Limit as many distractions as possible. WFH makes it much easier to get distracted. If you have roommates/family members at home, ask them politely to leave you alone while you're working. Make sure the TV is turned off, put your phone on silent, etc.
2) Take regular breaks. I find it easier to accidentally go hours without taking a real break from work. Try working in half hour intervals, and then taking 5-10 minute breaks. Read an article, watch a youtube video, grab some coffee/tea, etc.
3) When you eat lunch, eat it away from your computer. I often find myself eating lunch trying to wrap up fixing a bug, which makes it feel like I never really "took a lunch." Lately I've been trying to step away and do something else completely unrelated to work.
4) Get ready for work like you normally would. It's very easy to wake up, throw on your favorite pair of sweats and sit at the computer with messy hair half awake "ready" to start the day. Instead try doing your normal morning routine before sitting at your computer. It will help your mind and body go into "it's time to work" mode.
5) Keep your work area clean. I find it very difficult to work when my workspace is cluttered. Studies have shown working in a messy place tend to make us less efficient.
6) Keep your work area work related. Try to only have the things you need for work in your workspace. If you're working from your personal computer this can be difficult. I always end up with camera/music equipment left over from the previous night's photo editing/jam sessions. So try to clean off your desk when you're done for the night so it's ready for work in the morning.
7) Prepare for meetings. I have alarms set 10 minutes in advance so I can go from programming mode to meeting mode. During this time I'll go to the bathroom, grab a snack, water, mute all my email notifications, close any non essential programs, get my code ready if I need to present it.
Stuff is hard & stressful right now, but hopefully these tips will make it a bit easier. If anyone else has any good tips please share them.5 -
Tl;dr porn is ruining my life.
Today I had a meeting with the project leader and the CTO. They had bad news, which did not come as a surprise.
In short, they said I did not pass the expectations they had, and unfortunately need to find somewhere else to work.
This is my third time being told to find somewhere else to work, and I really can't describe how it feels. I was even told that I maybe I should reconsider my future as a developer, and kids can do programming better than I can do.
It's really difficult when all you've done in the last year is to learn and improve your current skills.
I have good grades, a unique experience, built lots of unique projects, and a GitHub portfolio with high activity. The apps I've built are used by many customers today. I also have a blog with 600 k views where I share dev tips.
The thing with this work if I'm going, to be honest, is that they expected someone with senior experience, and unfortunately, I don't have that thus it takes many years to build it. So I started here with almost scratch experience of the things they needed.
On the other hand, it feels like a relief in that I can finally focus on my personal business. And maybe this wasn't the right place to work, maybe it requires a couple of jobs until I find the right place.
Despite the bumpy ride, and what such people tell you, I'm not going to give up.
10 years ago, my school teacher told me I was going to be a carpenter (nothing against that) but I manage to get an MSc degree in the engineering field.
There's a lot of shit going into your head when you receive such message like "What if they are true, what if I can't handle programming, what if I'll never be anything etc".
I'm not giving up, this is just a great story every successful person has.
What my number one problem is, and I will f*** win is porn addiction. Get rid of that, and the future is bright.
Sorry for mixing so many things here.14 -
So I'm 17, I go to a vocational school and I'm in a computer IT and networking class as a junior. We have learned programming in HTML and CSS and whenever I'm programming I'm having the most fun, so I am teaching myself C++! I don't really feel welcome due to my age but I hope all of you can help me in the future!15
-
See, the problem with University students beginning programming is that they think that they're the hottest shit just because they know how to open cmd.exe. Since I'm a mentor, I have to give them pro tips while helping them through problems. I can't count the amount of times I've repeated "solve the problem on a notebook, write down how you should approach it before you begin typing your code, otherwise you'll end up spending more time debugging." They don't like to listen, cuz they're the next Zuckerberg. The following day I get a bunch of emails asking why their code doesn't work.2
-
Me and inspector quackers off travelling south East Asia! Any tips on freelance programming for travellers?12
-
To anyone asking for tips and tricks to start programming or become good at it, here is your ultimate golden advice: learn how to google and stop asking stupid questions like this before doing a quick research.
Reasons why:
1. You will most likely to learn better if you do your own research before asking for help. Even if you can't solve problem, you will be better and better at googling over time.
2. It is instant source of information. No need to wait for response (except response from server of course).
3. It takes only YOUR time.
4. Much more possible solutions/answers to your problems/questions.
5. Your quality of life will be improved over time. Not only your dev life but your daily life too.rant stop asking stupid questions how long this tags can be qol i am not your personal teacher programming tips tips11 -
For this year I have four main tasks I have set myself:
1. Don't lose my job
2. Write a few toy programming languages
3. Blog about said languages and things I learnt at work
4. Get married
I'm pretty excited about most of those but would love some tips on how you guys have overcome challenges in similar endevours4 -
Actually I feel I am prety lucky about the relationship between my yamily and me being a dev. My dad is a developer as well (in fact, he was the one who taught me most of what I know today; not as in general coding, but good and bad programming practices, tips what to do next ...) and my mom just started learning Python.
So they know prety well what it means to be a dev and have quite realistic image of what to expect.
To be fair, I am still the one who usualy fixes broken printers and replugs unplugged ethernet cables. but that is because I enjoy doing that. I take it as a challenge for myself to figure out what/how/when went something wrong. Most of the times I try to figure that even without touching the broken things.
Anyway, getting off topic.
Alltogether I don't think that they have too unrealistic expectations, but if I had to chose one, it'd be my learning capabilities. I can't learn complete java in 2 days ...1 -
Anyone else here with anxieties, depression or what-not? I feel this could get heavy, but I feel this is the only place I could write this. So...
My 18-month-long programming course is slowly coming to an end. Time has come for us to be sent out to job interviews at various companies.
Every single time an interview comes up, I feel the exact same mix of my inconfidence, constant anxiety, "I'm gonna throw up", impatience and whatever else is there in my head. I figured it would get easier with each consecutive interview but it hasn't.
The questions they ask make me sick. The atmosphere is unfathomable. Robots are more humane.
- Why do you want to work with us?
I need money for my meds and something to down them with? I willingly put myself through this shit to become a corporate slave, what else is there to say? I can only hope I'll be writing any code here.
- Where do you see yourself in 2-3 years?
Far away from anything remotely related to an HR department of any sort?
- Had you been a fruit, which one would you be? Whatever would come out of my tears blended with semen? What the fuck is even that question?
Of course those aren't my actual responses, but conjuring the IRL ones to finish the process is a serious burden. And those are only some HR ones. After this barrage of questions they want my lifeless, flaccid body to write code. I mean ok, it's a software dev gig, but I already gave all I had on self-clairvoyance.
We'll be in touch!
Is there a strategy you guys have when you go to an interview? Any tips for taming the acrid beast running around in your brain? Is it too much to talk with a human in a humane language without "15 buzzwords to make the recruiter moist"?5 -
I swear I hate seeing these wannabe programmers sharing their shit content on social media. I mean, I respect people who are getting into programming and giving it their best. But one just doesn't write "Fuck Types" when talking about a Dart. I mean, atleast open the introduction page of that language before you jump and start giving people "pro tips". Stop skimming over technologies/languages and dive a bit deep to understand how it works.9
-
I feel like if I ever get a professional programming job my biggest problem will be I can't work on projects with other people when it comes to programming I really don't know how to split up the work any tips?5
-
How to write bug free code:
while True:
try:
_loop() # all logic here
except:
print_excv()
This will not cause any difficulties ever. Remember to pipe output to /dev/null, make this script a critical but undocumented part of your infrastructure and tell no one about it. -
Hey, does anyone have some tips to learn programming faster? I have the problem that I often forget little things; /15
-
I love technology. I love programming and developing software. I love self-learning new things.
But I REALLY REALLY REALLY hate Math. And suck at it too.
I want to study comp-sci at the university but I'm scared of the math.
Any tips?13 -
New to programming but I want to create my portfolio, any tips? Where should I host it? WordPress is good for this or better write whole code?10
-
Stack Overflow is a great resource for all sorts of programming hints and tips, information and...sadly, desinformation. But if you want to comment on something someone's said you need 50 reputation points. How to achieve that when you need rep points to do anything that could earn you rep points? It's a catch 22 for newcomers that are like totally excluded from any discussions at SO which is more sort of a read-only community to me. This is where devRant shines. Anyone can rant about anything and comment on anyone's rant. Some rants and comments are stupid, and some are great. In the end of the day, freedom of speech is a great thing.9
-
I Started in 2012 at 12 years old with Minecraft as an introduction to computer programming. I created a few of my own mods and released them to the forums. I think my name was "lilwillis2" if you want to look them up. Once I created mods, I got into game development. I used The Cherno's game programming tutorials and a few others on youtube. After having my fun with game Dev and the debt of College soon to come, I got into developing my own apps, which got me into using react-native. React native made me realize that I should probably try to stay up to date with the latest frameworks and languages, so that I can create a surpieror product in much less time. It also made me realize how quickly programming changes. Last year, before getting into react-native, I got a summer job using Django and mezzanine at a local company as a web developer and they want me to work there again this year, maybe even on a salary with a pay raise. I recently turned 18 and I already look at code I wrote a few months ago as crap 😂, but hey it means I'm improving quickly!
BTW, if anyone knows any tips on paying/saving for college, please do let me know!1 -
How do I exclude most non-programming related posts from my feed?
I don't want to see Facebook-like topics about weather and housing in my Devrant client.
I know I can use the toggle switch to exclude tags - and I have excluded some (like Jokes/Memes) - but the non programming rants keep coming.
Any tips on more tags to ignore?9 -
Do you think a dual core laptop with 2gb RAM on it can run Ubuntu and Kali Linux? The solely purpose is for programming (ubuntu) and ethical hacking / penetration testing (linux) ?
tbh, I’m learning linux because I want to try a new OS. Any tips so that I can easily adapt to this OS?
PS. I know this is a googleable question but I just want a perspective from this community.10 -
Tldr: what are some tips you wish you got when you started programming?
Hey so. I got added to a facebook group with absolute beginners to programming. Been tryna answer their questions but its getting overwhelming and i thought id make a definitive guide to beginners or something like that. I have a buncha topics and tips but the more the better, so please if you got some advice you wish you got x years ago, post it down here.5 -
TLDR : do you have any tips for lack if motivation / interest in a project?
So I recently got my very first job (R&D). and to give you some context I'm a freshman at college with around a year of experience with programming. so a job like this is amazing for me. it pays well, I work from home, and get to work with nice people. Been working for 4 months now but lately have been loosing interest tbh. For the past month or so I haven't been putting as much effort into the project and I have no idea why. Does anyone have similar experiences with lacking motivation/interest? If you do I'd love to hear from you.2 -
Thinking about teaching a friend programming, I'm tempted by Kotlin as he's interested in mobile dev. Reasonable? Also any programming teacher have tips? I've always programmed so not sure how to look at it from a muggle's - I mean non dev view point.3
-
Why am I the only student that others in IT/programming class look up to when it comes down to basic c++ programming??!
It's not *that* hard. Just read the book provided to you by school, goddammit! Just because I can write and use more than one dimension in an array DOES NOT make me any better in prigramming!(or maybe it does, idk)
But, as much as I hate those lads, deep within myself I want to help them get as best of scores in finals as they can. Here's hoping they come around to realise that and pay attention when I try to give them tips...1 -
I've been working at a consulting company (lone programmer) as a Web Dev for about 2 or 3 months and I'm now skeptical about quitting.
I have the liberty to use any technologies I want, unless we get something already using a certain stack. The atmosphere is great and I only work part-time. The problem is that they have me working like a hog on many different projects simotaneously and expect me to meet deadlines despite new projects coming in weekly. Again, I'm the only programmer here, nobody to help me out. I don't make a killing but the pay isn't too bad considering it's part-time.
I've also noticed that my programming activity has degraded since I started working. I feel like I'm slowly losing the motivation I once had to keep working on my personal side projects.
Any tips on what to do?1 -
Been thinking about taking up server-side programming (I'm mobile).
Any tips?
Should I go with something like node.js, which I'm a bit familiar with and is quite popular or should I try another language/platform? Maybe Rust (given it's similar to Swift) or even Swift itself.
Any good resources (tutorials, guides, etc.) would be much appreciated, especially if they focus on security.
Cheers!17 -
After reading mostly sad (and astonishing!) stories, I didn't really want to share my story.. but still, here I am, trying to contribute a wholesome story.
For me, this whole story started very early. I can't tell how old I was but I'm going to guess I was about 5 or 6, when my mom did websites for a small company, which basically consisted of her and.. that's it. She did pretty impressive stuff (for back then) and I was allowed to watch her do stuff sometimes.
Being also allowed to watch her play Sims and other games, my interest in computer science grew more and more and the wish to create "something that draws some windows on the screen and did stuff" became more real every day.
I started to read books about HTML, CSS and JS when I was around 10 or something. And I remember as it was yesterday: After finishing the HTML book I thought "Well that's easy. Why is this something people pay for?" - Then I started reading about CSS. I did not understand a single thing. Nothing made sense for me. I read the pages over and over again and I couldn't really make any sense of it (Mind you, I didn't have a computer back then, I just had a few hours a week on MOM-PC ^^)
But I really wanted to know how all this pretty-looking stuff worked and I tried to read it again around 1 year later. And I kid you not, it was a whole different book. It all made sense now. And I wrote my first markups with stylings and my dream became more and more reality. But there was one thing lacking. Back in the days, when there was no fancy CSS3. It was JavaScript. Long story short: It - again - made no fucken sense to me what the books told me.
Fast forward a few years, I was about 14. JavaScript was my fucken passion, I loved it. When I had no clue about CSS, I'd always ask my mom for tips. (Side story: These days it's the other way around, she asks me for tips. And it makes me unbelievably proud!)
But there was something missing. All this newschool canvas-stuff wasn't done back then and I wanted more. More possibilities, more performance, more everything.
Stuff begun to become wild. My stepdad (we didn't have the best connection) studied engineering back then, so he had to learn C. With him having this immensely thick book for C, I began to read it and got to know the language. I fell in love again. C was/is fucken awesome.
I made myself some calculators for physics and some other basic stuff and I had much fun using and learning it. I even did some game development, when I heard about people making C-coded games for PSP. Oh boy, the nights I spent in IRCs chatting with people about C, PSP-programming and all that good stuff, I'll never forget it - greatest time of my life!
But I got back to JS more and more and today I do it for money and I love it. I'll never forget my roots and my excurse into the C/C++ world and I'm proud to say, that I was able to more or less grow up with coding and the mindset that comes with it.1 -
I can’t take this shit anymore. I’m constantly cleaning up the diarrhoea behind other incompetent nutjobs, while these very same people treat me like I have no clue about programming because I won’t introduce their unmanaged dependencies which they call snippets into the clients code base. Whoever transitioned from “int - int” to freelance / self employed please give me some tips4
-
I'm seriously interested in programming and all that comes with it and have been for a long time. I'd love to talk to some people that share the same interest but struggle to find people. Any tips? Note: I am not in university/college yet.8
-
Currently learning programming (c#) and I can't wrap my head around classes can anyone give me some tips?9
-
Incoming rant.
I have 4 years professional experience at a small shop working on a web application for property and liability insurance. The application is ASP.NET with C# as the code-behind. I have a BCS and will finish my MSIS fall 2017. I have no idea why I have the degrees. I know that when I enrolled, it seemed like they would be a nice addition to an otherwise empty resume. I was lucky enough to land my first and only development job during my sophomore year of my undergraduate program. Is this enough experience to land a new job?
I feel like I'm learning nothing at my current job. The specs that come in seem very vague to me. When asked for clarification, there is often push back, and I don't know whether that's because I don't have enough experience to parse what the client means in the two sentence spec I got or if it's because the client does not actually know what they want.
I hate my current job. My productivity is low because I spend more time trying to figure out what the client wants and analyzing an 8 year old system that has 0 documentation. I know some of you will just say, "Suck it up" at this point, but I really want another job. The only thing I like about this job is that it's 100% remote. It also pays $60k a year, so a replacement should be at least that salary.
Most postings I see require professional experience of 5 years or more, and knowledge of other frameworks. I can work on getting knowledge of the other frameworks, but will have no professional experience with them. I don't live in an area with a lot of software development jobs, and the ones I see are for non-IT organizations that want 1 person to run a distributed system from 10 or more locations. A hospital system out here wants to pay $30k a year for a guy to be both software developer for new tools as well as the helpdesk and IT support guy that's on-call for four locations in the county. I made more than that before I got into the development industry, for less work, and would rather leave than settle for something like that.
I've thought about moving to somewhere near San Francisco or San Jose, but I have my daughter to think about. I have joint custody of her, and would have to give that up in order to move out of the county.
I like programming and using it to solve problems. I like designing architectures and how all the components will interface. I like designing and normalizing databases. I like taking part in coding competitions for employers that are well-known (Amazon, Facebook, Uber, Twitch, etc.), even though I often just place middle of the pack. When that happens, I feel like I'm an imposter in this industry.
I think I have the most fun just working on small projects for personal use. My latest is an assistant calculator for the game Transport Fever to figure out cargo throughputs per annum based on the in-game timing information. Past projects have also been small. Ones I could use in a portfolio are a sudoku solver desktop application, PC/Web game in Unity that is a 3D FPS remake of Duck Hunt that allows open world exploration but locks the camera's viewpoint for shooting events, and a building assistant for Rome II: Total War that maps out all the bonuses/perks of user-specified building combinations in provinces so users can record their long term building plans without using all their turns to see the final results.
I seem to be an unproductive, average developer who dabbles in projects here and there.
This is what I want from other Ranters. Just say something. I don't care if it is, "Suck it up and get better." It could be your tips for finding and securing a new position. It could even be empathy, if such a thing exists on the Internet. Whatever you want, just say something that will help get me thinking of what the next steps in my career should be.1 -
Could you share your experience on how you get your first job as a developer without a solid background?5
-
"Download our app for some lovely additional ass licking features....."
Why tech industry love apps? also I hate these days not only mobile phones, but also computers are in progression of "applification."
Programs are only installed do some advanced things that were absurd and inappropriate to work on web browser. like video editing or programming, or file management.. etc. but in recent days, everything is fucking apps. why just not improve your web version of your service and make the shortcut from that? Weather app. youtube app. reddit app. 'tips' app by apple that is totally useless. news app. map app. so much wasteful. these kind of services are MUST be on the UPPER layer than the web browser laid on. also apps are taking much resources on local hardware and that makes my hardware too much slow.
That is not how tech works. that is not how software engineering, hardware engineering works, every single thing in technology must NOT work like that. If it does, then that is not technology, and just stack of cow shit.3 -
Hello everyone. I'm new to programming and I would love some tips.
I have been told to learn C# and Java as a way to begin programming, what do you think of this?
If you have any better tips please explain it in a way an amateur can understand.
I hope that I explained my situation well.8 -
(not a rant) Knowledge seeker XD
I'm about to start my life as unemployed/fresh grad , and I'm still not sure if my coding was good or right (proper coding). But I already have an experience on creating Android App (Java) and MySQL as database , Web Dev (HTML, CSS, Javascript, PHP, MySQL database) implement plugins like JQuery , Bootstrap , Chart.js , and DataTables , basics of Python , GIT ,and understanding of OOP.
I'd like to know where I can learn proper coding and good practices , where I can solve sample machine problem , learn different programming languages , and tips that might help me to be better.
note: I already do some research about this topics , I just want to get more answer as much as possible , Thank you :)
May the bug/s be fixed by you. -
How stupid am i?
1. I tried to learn programming language.
- It just so freaking hard for me to understand. Failed at logic.
2. Tried to learn aws.
- Technically know how it works but often forgot the services name. (Was thinking to get aws cert).
3. Tried to learn OpenSource DB.
- Can do up to db setup only. Else i didnt understand sh*t.
4. Tried to learn cybersecurity.
- Ended up bunch of unwanted process in my vm.
I was envy that some of my friend only read documentation once & he is like know what to do.
Guys, any pro tips for poor man here?
I want to code, but somehow i stuck.
I feel dumb...12 -
I work in a big company and we decided to program our programs ourselves and not let them be done by external companies. Any tips for my team and me? My programming skills are quite good, those of my team members a little rusty. We only ever made the application design.1
-
Top 12 C# Programming Tips & Tricks
Programming can be described as the process which leads a computing problem from its original formulation, to an executable computer program. This process involves activities such as developing understanding, analysis, generating algorithms, verification of essentials of algorithms - including their accuracy and resources utilization - and coding of algorithms in the proposed programming language. The source code can be written in one or more programming languages. The purpose of programming is to find a series of instructions that can automate solving of specific problems, or performing a particular task. Programming needs competence in various subjects including formal logic, understanding the application, and specialized algorithms.
1. Write Unit Test for Non-Public Methods
Many developers do not write unit test methods for non-public assemblies. This is because they are invisible to the test project. C# enables one to enhance visibility between the assembly internals and other assemblies. The trick is to include //Make the internals visible to the test assembly [assembly: InternalsVisibleTo("MyTestAssembly")] in the AssemblyInfo.cs file.
2. Tuples
Many developers build a POCO class in order to return multiple values from a method. Tuples are initiated in .NET Framework 4.0.
3. Do not bother with Temporary Collections, Use Yield instead
A temporary list that holds salvaged and returned items may be created when developers want to pick items from a collection.
In order to prevent the temporary collection from being used, developers can use yield. Yield gives out results according to the result set enumeration.
Developers also have the option of using LINQ.
4. Making a retirement announcement
Developers who own re-distributable components and probably want to detract a method in the near future, can embellish it with the outdated feature to connect it with the clients
[Obsolete("This method will be deprecated soon. You could use XYZ alternatively.")]
Upon compilation, a client gets a warning upon with the message. To fail a client build that is using the detracted method, pass the additional Boolean parameter as True.
[Obsolete("This method is deprecated. You could use XYZ alternatively.", true)]
5. Deferred Execution While Writing LINQ Queries
When a LINQ query is written in .NET, it can only perform the query when the LINQ result is approached. The occurrence of LINQ is known as deferred execution. Developers should understand that in every result set approach, the query gets executed over and over. In order to prevent a repetition of the execution, change the LINQ result to List after execution. Below is an example
public void MyComponentLegacyMethod(List<int> masterCollection)
6. Explicit keyword conversions for business entities
Utilize the explicit keyword to describe the alteration of one business entity to another. The alteration method is conjured once the alteration is applied in code
7. Absorbing the Exact Stack Trace
In the catch block of a C# program, if an exception is thrown as shown below and probably a fault has occurred in the method ConnectDatabase, the thrown exception stack trace only indicates the fault has happened in the method RunDataOperation
8. Enum Flags Attribute
Using flags attribute to decorate the enum in C# enables it as bit fields. This enables developers to collect the enum values. One can use the following C# code.
he output for this code will be “BlackMamba, CottonMouth, Wiper”. When the flags attribute is removed, the output will remain 14.
9. Implementing the Base Type for a Generic Type
When developers want to enforce the generic type provided in a generic class such that it will be able to inherit from a particular interface
10. Using Property as IEnumerable doesn’t make it Read-only
When an IEnumerable property gets exposed in a created class
This code modifies the list and gives it a new name. In order to avoid this, add AsReadOnly as opposed to AsEnumerable.
11. Data Type Conversion
More often than not, developers have to alter data types for different reasons. For example, converting a set value decimal variable to an int or Integer
Source: https://freelancer.com/community/...2 -
I'm currently pursuing engineering in an Indian engineering college. Needless to say the college Curriculum isn't going to take me places.
I like programming and I feel I'm pretty good at it. So I need tips as to what I need to do apart from college to pursue programming.
I have recently started learning Android development and web development in the college.
So any tips from devs would be great!3 -
I've been coding for fun since before I was a teenager (I'm 28) but, excluding two small freelance projects, not in a professional capacity as I've pursued another career.
To help land my first real programming position I'm now building my portfolio. (http://daglundberg.se)
Any tips, feedback, thoughts?
Thanks5 -
!rant
I used to use quora for most of my programming related trivia and tips but of late I'm glued to devRant.3 -
I have a dream of working in the IT industry(especially programming) in the United States. Do you guys have tips or suggestions for this? I am currently pursuing a computer science degree in Europe.
Thanks a lot already.6 -
Hi do anyone has a formula or tips on working on two different freelance software projects at the same time?
Ps: both has same project time frame (1 month), different programming tools: ( Ruby on Rails), the other MERN stack...7 -
Any tips on staying motivated to improve one's own programming skills? (Self-taught and lacks guidance)4
-
Wonder how do I organize an online meetup? Want to do an online meetup about improving programming skills tips and ideas. Google hangout may be an option. Anyone interested?3
-
Critical Tips to Learn Programming Faster Sample:
Be comfortable with basics
The mistake which many aspiring students make is to start in a rush and skip the basics of programming and its fundamentals. They tend to start from the comparatively advanced topics.
This tends to work in many sectors and fields of Technology, but in the world of programming, having a deep knowledge of the basic principles of coding and programming is a must. If you are taking a class through a tutor and you feel that they are going too fast for your understanding, you need to be firm and clear and tell them to go slowly, so that you can also be on the same page like everyone else
Most often than not, many people tend to struggle when they reach a higher level with a feeling of getting lost, then they feel the need to fall back and go through basics, which is time-consuming. Learning basics well is the key to be fast and accurate in programming.
Practice to code by hand.
This may sound strange to some of you. Why write a code by hand when the actual work is supposed to be done on a computer? There are some reasons for this.
One reason being, when you were to be called for an interview for a programming job, the technical evaluation will include a hand-coding round to assess your programming skills. It makes sense as experts have researched and found that coding by hand is the best way to learn how to program.
Be brave and fiddle with codes
Most of us try to stick to the line of instructions given to us by our seniors, but it is extremely important to think out of the box and fiddle around with codes. That way, you will learn how the results get altered with the changes in the code.
Don't be over-ambitious and change the whole code. It takes experience to reach that level. This will give you enormous confidence in your skillset
Reach out for guidance
Seeking help from professionals is never looked down upon. Your fellow mates will likely not feel a hitch while sharing their knowledge with you. They also have been in your position at some point in their career and help will be forthcoming.
You may need professional help in understanding the program, bugs in the program and how to debug it. Sometimes other people can identify the bug instantly, which may have escaped your attention. Don't be shy and think that they'll make of you. It's always a team effort. Be comfortable around your colleagues.
Don’t Burn-out
You must have seen people burning the midnight oil and not coming to a conclusion, hence being reported by the testing team or the client.
These are common occurrences in the IT Industry. It is really important to conserve energy and take regular breaks while learning or working. It improves concentration and may help you see solutions faster. It's a proven fact that taking a break while working helps with better results and productivity. To be a better programmer, you need to be well rested and have an active mind.
Go Online
It's a common misconception that learning how to program will take a lot of money, which is not true. There are plenty of online college courses designed for beginner students and programmers. Many free courses are also available online to help you become a better programmer. Websites like Udemy and programming hub is beneficial if you want to improve your skills.
There are free courses available for everything from [HTML](https://bitdegree.org/learn/...) to CSS. You can use these free courses to get a piece of good basic knowledge. After cementing your skills, you can go for complex paid courses.
Read Relevant Material
One should never stop acquiring knowledge. This could be an extension of the last point, but it is in a different context. The idea is to boost your knowledge about the domain you're working on.
In real-life situations, the client for which you're writing a program for possesses complete knowledge of their business, how it works, but they don't know how to write a code for some specific program and vice versa.
So, it is crucial to keep yourself updated about the recent trends and advancements. It is beneficial to know about the business for which you're working. Read relevant material online, read books and articles to keep yourself up-to-date.
Never stop practicing
The saying “practice makes perfect” holds no matter what profession you are in. One should never stop practicing, it's a path to success. In programming, it gets even more critical to practice, since your exposure to programming starts with books and courses you take. Real work is done hands-on, you must spend time writing codes by hand and practicing them on your system to get familiar with the interface and workflow.
Search for mock projects online or make your model projects to practice coding and attentively commit to it. Things will start to come in the structure after some time.4 -
LEARNING QUESTION
I have been learning a lot of coding, front and back end web mainly (a touch of C# and Python but trying to keep my focus on web for now).
I am wondering where is the best place to learn about integration of SQL into other web programming (PHP for example).
Any tips are greatly appreciated.1 -
Ok guys ... real talk ... I've been stuck on a problem for over a month! The thing is that the problem and implementation is too specific for stack overflow. I've tried everything that I can think of and it's actually keeping me up at night! What do you guys do when you hit a brick wall?8
-
What do you people do if you feel like you are in rut? I mean I love programming and I love my job but currently I'm working on feature that has turned into a almost a never ending feature because of bad planning so know I feel like I'm stuck in that feature even though I'm working on side projects also but still I know I have to push and finish THAT project. Any tips/suggestions or things that you do to overcome these situations.7
-
!tips
Hey codebroes! Give me your best programming movie, serial, documentary.
That episode from NCIS where they created a GUI for tracking down a criminal doesn't count!3 -
good evening devs,
any suggestions/tips, on how to learn more efficiently, more effectively, more structured?
Recently, after school/work, my discipline to learn is lost a bit..
Because, watching tutorials or reading, while programming the shown, isn't the right thing for me.
I need definitely much more practice , to keep shit in my brain.
Maybe i need ideas? small projects and then make it bigger and bigger?
How do you learn?
Whats your way to practice?1 -
Kinda want to start learning hardware (Arduino, RasberryPi etc), any tips?
How it works programming languages and stuff, anyone who can lead me on into it2 -
Hey All, hope everyone is doing absolutely well, need some advice/help i'm kind of stuck and overwhelmed at the moment :"D. I Really would like to get back into c++, i have not done much programming for quite a good few months on this particular programming language, i love to learn by doing and following examples, if someone could recommend me some good books or other resources i'd be very grateful :=), or some good tips onto getting back into this language :-).
Thank you once again for taking the time to read through my question :D.
Milo <3 :D5