r/java • • Mar 18 '22

I created a Java Program to graph polar functions

Post image
271 Upvotes

27 comments sorted by

40

u/baconialis Mar 19 '22

No source code? No download link? What's the point?

1

u/Bethelyhills Mar 22 '22

I didn't think this would get that many upvotes.
I'll share the code when I get the project to a point that I feel happy with unless you just really want to see the source code

1

u/baconialis Mar 22 '22

To be honest I don't care all that much about your source code. But I strongly believe in getting feedback as early as possible.

https://blog.codinghorror.com/the-ten-commandments-of-egoless-programming/

1

u/Bethelyhills Mar 22 '22

my ego is moderate, but my stubbornness might be the msot stubborn you've seen

0

u/[deleted] Mar 19 '22

[deleted]

11

u/agentoutlier Mar 19 '22

When I saw this I immediately knew it was a high school student or early college student. I gave it +1. I don't need to see the code as this isn't really Java help anyway but I am happy to encourage newbies and think that is apropo to the sub.

I have a memory of posting some C code a long time ago when I was in high school on Usenet (newsgroups, nntp) circa mid 90 to late 90s. I used a college PPP (or maybe it was that other format) dialup that was left open and recall how when I posted the code I was trashed because I didn't have a makefile or user header files correctly. It was a radix sort implementation. I just had installed one of the of the early linux distributions (I think it was slackware).

So after all that (installing linux, teaching myself C) people were like... don't post if you can't put a Makefile together.

1

u/Bethelyhills Mar 22 '22

Not a high schooler lol, it was rushed. I made this in a couple of hours. By no means did I think it was in it's final form or publishing form.

3

u/BlueGoliath Mar 19 '22

You didn't know that the Makefile is the most important part!?!? SHAME!

16

u/Arsonist07 Mar 18 '22

Repo?

1

u/Bethelyhills Mar 22 '22

I can share the source code if you'd like but it's not currently in a state that I would like to share with atm. The code is a little sloppy.

1

u/Arsonist07 Mar 22 '22

Alright, no problem at all. I’ve just been interested in programming a graphing calculator.

6

u/akravets84 Mar 19 '22

OR you just used Photoshop to make a picture. No code - didn’t happen ;)

1

u/Bethelyhills Mar 22 '22

Didn't photoshop. I didn't want anyone to roast my code since I haven't gotten this personal project to a level that I feel sataisfied with.

2

u/akravets84 Mar 22 '22

A little something about coding: you will probably never be satisfied with your code. That’s why agile approach exists. Releasing early allows you to limit amount of code being roasted. Also not all people are trolls, some might give you some advice. Like “stop using Eclipse” or “upgrade to Java 17” :)

1

u/PyOps Mar 22 '22

Hey, these hypothetical people seem to have some pretty sound advice.

1

u/JB-from-ATL Mar 28 '22

"Bad code" that does something is better than "good code" that doesn't exist.

1

u/akravets84 Mar 29 '22

True. I’ve seen enough of messy projects especially in embedded development where java program is a secondary product and devs worry about getting things done and beauty of primary product - embedded device code.

2

u/_fishysushi Mar 19 '22

How does this have so many upvotes without any source code or more information from OP?

1

u/Bethelyhills Mar 22 '22

I didn't honestly expect it to get that many upvotes. Just thought I'd share it to see if anyone else liked it

6

u/[deleted] Mar 18 '22

very coool

1

u/Routine-Client-4310 Mar 19 '22

Nice! For UI are you using swing or java fx?

8

u/m2ger Mar 19 '22

Based on the project structure and code snippet in the screenshot: Swing.

1

u/Bethelyhills Mar 22 '22

can confirm

3

u/jokubolakis Mar 18 '22

Looks like an interesting project!

3

u/emmaedvs Mar 19 '22

Looks nice

0

u/proxycrack Mar 19 '22

Very good, can you post code maybe?

1

u/Bethelyhills Mar 22 '22

Yeah, it's not as complete as I'd like it at the moment. I still have to hard code the functions, but I can share the current version if you'd like

2

u/proxycrack Mar 24 '22

I can wait until you finish