flat assembler
Message board for the users of flat assembler.

Index > Heap > now_i_can_say db "i hate java",0

Goto page Previous  1, 2, 3
Author
Thread Post new topic Reply to topic
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17248
Location: In your JS exploiting you and your system
revolution
malpolud wrote:
Have you seen the curves describing software developing costs and hardware buy costs?
Do you have a link for that?
Post 31 Jan 2012, 15:03
View user's profile Send private message Visit poster's website Reply with quote
malpolud



Joined: 18 Jul 2011
Posts: 344
Location: Broken hippocampus
malpolud
Unfortunately I cant find it right now. I guess I saw it in a book.

It was similar to this one: http://3.bp.blogspot.com/_-D4X2A9P63A/SwYAtkSYBSI/AAAAAAAAAEc/2OAV4g_L2TY/s1600/securitycosts.bmp

instead of "Software security assurance" there was time, blue line software developing costs, red line hardware cost. I'm aware that such a graph is a massive simplification - but in general it's true.
Post 31 Jan 2012, 15:40
View user's profile Send private message Visit poster's website Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4237
Location: 2018
edfed
i hate java cause swing
Code:
public class window
public static void main()
{
ho my god, so much code to write
window(something?{JPanel panel new JPanel (something {(thing to draw?)}Wink;};
}
public class something(x,y,h,w)
{
todraw?
SetColor(ho my god!!! openglstyle?)
FillOval(x,y,h,w)
...hem...
    

now, you see why, but why i hate java now! Smile
Post 07 Feb 2012, 22:49
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17248
Location: In your JS exploiting you and your system
revolution
I doubt that Java was ever intended to be a concise language. But I don't see how assembly would be any less verbose. Perhaps I misunderstand your example?
Post 08 Feb 2012, 03:13
View user's profile Send private message Visit poster's website Reply with quote
typedef



Joined: 25 Jul 2010
Posts: 2913
Location: 0x77760000
typedef
edfed wrote:
i hate java cause swing
Code:
public class window
public static void main()
{
ho my god, so much code to write
window(something?{JPanel panel new JPanel (something {(thing to draw?)}Wink;};
}
public class something(x,y,h,w)
{
todraw?
SetColor(ho my god!!! openglstyle?)
FillOval(x,y,h,w)
...hem...
    

now, you see why, but why i hate java now! Smile


try this instead

Code:
import javax.swing.*;

public class edfed extends JFrame // can also be Frame
{
    public edfed()
    {
      super("Edfed");

    JLabel label = null;

    getContentPane().add ( (label = new JLabel("Hello World, I'm edfed !") ) );

     pack();

    setLocation(300,300);

   setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

    }

public static void main(String []args)
{
   edfed x = new edfed(); x.setVisible(true);

}

}


    
Post 08 Feb 2012, 06:40
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4237
Location: 2018
edfed
today, i coded a shake-box with balls inside, i'd like it to act like maracas (then give sound). tomorrow i post the code, just for fun, and i'll try your typedef(new typedef) implementation cause i don't do java at home.
Post 08 Feb 2012, 17:22
View user's profile Send private message Visit poster's website Reply with quote
typedef



Joined: 25 Jul 2010
Posts: 2913
Location: 0x77760000
typedef
Yeah, I'm making a FASM board poster too in JAVA, I'll post it up here also.
Post 08 Feb 2012, 19:52
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2, 3

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.