Tumgik
#java programming
codingcorgi · 7 months
Text
Something romantic for programmers to do, write a console program for your crush. Only for them to not know what it means and just reply "👍"
228 notes · View notes
izicodes · 8 months
Text
Old Java Notes
Tumblr media Tumblr media
Sunday 27th August 2023
I found some of my old Java notes I made during my apprenticeship early last year! I don’t use Java now at all but it’s cool to look back at what I used to study on! Then, because my work place used C#, the class turned to a C# class instead!
for some reason I couldn’t understand Java but I could understand C# even though their syntax are similar and other things? Anyhoo, I still prefer C# over Java now 🥰✨🙌🏾
105 notes · View notes
hotfudgecherryrosy · 7 months
Text
Well fuck me i guess
Tumblr media
Apparently replit is having issues… i hope they fix this very much
found out you can make custom themes...
Tumblr media
my project doesnt work but at least the 1 remaining file is pink now.
i wish javafx just worked when i first tried to use it in eclipse and vscode then i wouldnt have to use this godafwul website that nuked my code...
AH BY CREATING NEW FILES WITH THE OLD NAMES THE CODE IS BACK
24 notes · View notes
ladyargento · 6 months
Text
Your time to mine
Also made a little command line tool in java that takes your local time and converts it into dutch time. Also made it so you can input a time and change it into time in the Netherlands. I should also probably alter it so it doesn't explode when you put in 29 hours.
Tumblr media Tumblr media
24 notes · View notes
sivaniverse · 1 year
Text
System.out.println("help me");
80 notes · View notes
extremesocialoutcast · 5 months
Text
Genuine question: should I use Ko-Fi to collect donations for my work (digital art, and software/game dev)?
I really want to get into digital art, as well as software and game development (independent; FOSS), and generate income from this mainly through donations (and a bit of art commissioning). Is Ko-Fi a good idea for that?
9 notes · View notes
devhubby · 5 months
Text
How to save an entity in Hibernate?
Tumblr media
Discussion at: https://devhubby.com/thread/how-to-save-an-entity-in-hibernate
#java #hibernate #javacode #javadeveloper
4 notes · View notes
king-fae · 3 months
Text
11/100 days of code.
1.19.24
today im starting on my java learning journey, with the book Introduction to Java: Programming and Data Structures 12th Edition by Y. Daniel Liang. before jumping in, i cant help but be very excited to learn java for the explicit purpose of coding minecraft mods, as that sounds like a super fun project and usage of this language for me :P ultimately game dev is why im learning c++, so having a game dev equivalent usage for java will help me retain it in the long term, as i already have interest in that application. i intend on eventually learning pygame to retain and stretch my python knowledge for the same purpose, though i dont have something specific like minecraft modding to work towards, so we'll see.
in the introductory section, im also learning that android phones are developed in Java, making it promising to be able to make android compatible (which is the phone i use) mobile software without much hassle, which is super cool. i also learned that java, like c++, is a compiled language, uses classes (namespaces in c++), has the same commenting system, same use of ; to end statements, and more. while there are a vast amount of differences, finding these similarities is both cool and helpful for retention!
public class Welcome {
......public static void main(String[] args) {
..........System.out.println("Welcome to Java!");
.....}
}
3 notes · View notes
watchmorecinema · 7 months
Text
Normally I just post about movies but I'm a software engineer by trade so I've got opinions on programming too.
Apparently it's a month of code or something because my dash is filled with people trying to learn Python. And that's great, because Python is a good language with a lot of support and job opportunities. I've just got some scattered thoughts that I thought I'd write down.
Python abstracts a number of useful concepts. It makes it easier to use, but it also means that if you don't understand the concepts then things might go wrong in ways you didn't expect. Memory management and pointer logic is so damn annoying, but you need to understand them. I learned these concepts by learning C++, hopefully there's an easier way these days.
Data structures and algorithms are the bread and butter of any real work (and they're pretty much all that come up in interviews) and they're language agnostic. If you don't know how to traverse a linked list, how to use recursion, what a hash map is for, etc. then you don't really know how to program. You'll pretty much never need to implement any of them from scratch, but you should know when to use them; think of them like building blocks in a Lego set.
Learning a new language is a hell of a lot easier after your first one. Going from Python to Java is mostly just syntax differences. Even "harder" languages like C++ mostly just mean more boilerplate while doing the same things. Learning a new spoken language in is hard, but learning a new programming language is generally closer to learning some new slang or a new accent. Lists in Python are called Vectors in C++, just like how french fries are called chips in London. If you know all the underlying concepts that are common to most programming languages then it's not a huge jump to a new one, at least if you're only doing all the most common stuff. (You will get tripped up by some of the minor differences though. Popping an item off of a stack in Python returns the element, but in Java it returns nothing. You have to read it with Top first. Definitely had a program fail due to that issue).
The above is not true for new paradigms. Python, C++ and Java are all iterative languages. You move to something functional like Haskell and you need a completely different way of thinking. Javascript (not in any way related to Java) has callbacks and I still don't quite have a good handle on them. Hardware languages like VHDL are all synchronous; every line of code in a program runs at the same time! That's a new way of thinking.
Python is stereotyped as a scripting language good only for glue programming or prototypes. It's excellent at those, but I've worked at a number of (successful) startups that all were Python on the backend. Python is robust enough and fast enough to be used for basically anything at this point, except maybe for embedded programming. If you do need the fastest speed possible then you can still drop in some raw C++ for the places you need it (one place I worked at had one very important piece of code in C++ because even milliseconds mattered there, but everything else was Python). The speed differences between Python and C++ are so much smaller these days that you only need them at the scale of the really big companies. It makes sense for Google to use C++ (and they use their own version of it to boot), but any company with less than 100 engineers is probably better off with Python in almost all cases. Honestly thought the best programming language is the one you like, and the one that you're good at.
Design patterns mostly don't matter. They really were only created to make up for language failures of C++; in the original design patterns book 17 of the 23 patterns were just core features of other contemporary languages like LISP. C++ was just really popular while also being kinda bad, so they were necessary. I don't think I've ever once thought about consciously using a design pattern since even before I graduated. Object oriented design is mostly in the same place. You'll use classes because it's a useful way to structure things but multiple inheritance and polymorphism and all the other terms you've learned really don't come into play too often and when they do you use the simplest possible form of them. Code should be simple and easy to understand so make it as simple as possible. As far as inheritance the most I'm willing to do is to have a class with abstract functions (i.e. classes where some functions are empty but are expected to be filled out by the child class) but even then there are usually good alternatives to this.
Related to the above: simple is best. Simple is elegant. If you solve a problem with 4000 lines of code using a bunch of esoteric data structures and language quirks, but someone else did it in 10 then I'll pick the 10. On the other hand a one liner function that requires a lot of unpacking, like a Python function with a bunch of nested lambdas, might be easier to read if you split it up a bit more. Time to read and understand the code is the most important metric, more important than runtime or memory use. You can optimize for the other two later if you have to, but simple has to prevail for the first pass otherwise it's going to be hard for other people to understand. In fact, it'll be hard for you to understand too when you come back to it 3 months later without any context.
Note that I've cut a few things for simplicity. For example: VHDL doesn't quite require every line to run at the same time, but it's still a major paradigm of the language that isn't present in most other languages.
Ok that was a lot to read. I guess I have more to say about programming than I thought. But the core ideas are: Python is pretty good, other languages don't need to be scary, learn your data structures and algorithms and above all keep your code simple and clean.
6 notes · View notes
goerp · 1 year
Link
Found a photo of a cartoon I did on my whiteboard. I liked it, now you ;)
8 notes · View notes
iamsostressed · 2 years
Text
Tumblr media Tumblr media
The last couple of days of weather were so decent and now it is pouring 🙄 Typical
I have my final exam of the year tomorrow 💕 wish me luck
29 notes · View notes
codingcorgi · 7 months
Text
Does anyone else have dreams about coding? Like I figure out my real world coding problems in my sleep, it's weird.
104 notes · View notes
Text
Mastering Java Coding: A Comprehensive Guide to Land a Junior Developer Job in Six Months
Being a Java developer is a fulfilling career, with high demand for professionals skilled in Java. Read more...
Java is one of the most popular programming languages, with a massive community of developers, and is used to build software applications and web services. Being a Java developer is a fulfilling career, with high demand for professionals skilled in Java. If you are looking to land a junior Java developer job in six months, this paper will provide you with an in-depth guide on Java coding,…
Tumblr media
View On WordPress
4 notes · View notes
hotfudgecherryrosy · 7 months
Note
why are you using replit for java instead of intellij or vscode?
Hi! I was having trouble getting JavaFX to work with VSCode or Eclipse which are the IDE’s my group was considering. The JavaFX library has to be downloaded separately. I was waiting to hear back from my old Java professor asking for help, but I think the email slipped through the cracks.
Anyway I was using replit in the meantime but after my project was nearly nuked by their shit website I decided to try again. I ended up finally getting it to work on Eclipse though :) it has good java integration
5 notes · View notes
ladyargento · 5 months
Text
Virtual Threads and Structured Concurrency in Java
So I was curious about virtual threads and the structured concurrency API that is being introduced to Java so I did some research and wrote some things about it on my Dev.to blog. Check it out!
2 notes · View notes
newduniyadown · 1 year
Text
Carrier Option In Java Language:
An excellent way to practice your java skills is by practicing in online competitive programming or building small personal project that will also help build your resume . You are looking to gain adequate knowledge to increase your chances of getting your next  job.. Read more.
3 notes · View notes